Bug 1220412 (CVE-2020-36775)

Summary: VUL-0: CVE-2020-36775: kernel-source,kernel-source-azure,kernel-source-rt: f2fs: fix to avoid potential deadlock
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: thomas.leroy, vasant.karasulli
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/395207/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-02-27 10:11:32 UTC
In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to avoid potential deadlock

Using f2fs_trylock_op() in f2fs_write_compressed_pages() to avoid potential
deadlock like we did in f2fs_write_single_data_page().

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-36775
https://git.kernel.org/stable/c/8e8542437bb4070423c9754d5ba270ffdbae8c8d
https://git.kernel.org/stable/c/df77fbd8c5b222c680444801ffd20e8bbc90a56e
https://www.cve.org/CVERecord?id=CVE-2020-36775
https://git.kernel.org/stable/c/0478ccdc8ea016de1ebaf6fe6da0275c2b258c5b
Comment 1 Thomas Leroy 2024-02-27 10:18:09 UTC
Seems to be introduced in 5.4, but the patch was backported in SLE15-SP6, cve/linux-5.14 and stable, so I think all good except a changelog update
Comment 4 Andrea Mattiazzo 2024-06-07 12:26:14 UTC
All done, closing.