Bug 1220897 (CVE-2023-52526)

Summary: VUL-0: CVE-2023-52526: kernel: erofs: memory leak of LZMA global compressed deduplication
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: ailiopoulos, carlos.lopez
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/396075/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52526:4.7:(AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-03-04 16:11:15 UTC
In the Linux kernel, the following vulnerability has been resolved:

erofs: fix memory leak of LZMA global compressed deduplication

When stressing microLZMA EROFS images with the new global compressed
deduplication feature enabled (`-Ededupe`), I found some short-lived
temporary pages weren't properly released, which could slowly cause
unexpected OOMs hours later.

Let's fix it now (LZ4 and DEFLATE don't have this issue.)

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52526
https://www.cve.org/CVERecord?id=CVE-2023-52526
https://git.kernel.org/stable/c/6a5a8f0a9740f865693d5aa97a42cc4504538e18
https://git.kernel.org/stable/c/75a5221630fe5aa3fedba7a06be618db0f79ba1e
https://git.kernel.org/stable/c/c955751cbf864cf2055117dd3fe7f780d2a57b56
Comment 1 Carlos López 2024-03-04 16:11:49 UTC
Affects SLE15-SP6. Older branches are not affected, stable and master already have the fix.
Comment 2 Anthony Iliopoulos 2024-03-06 03:44:58 UTC
commit 75a5221630fe backported to SLE15-SP6, pending merging.

Reassigning back to security.
Comment 10 Thomas Leroy 2024-04-19 12:58:39 UTC
All done, closing.