What’s Vulnerable › Vulnerabilities
CVE-2023-52902: nommu: fix memory leak in do_mmap() error path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-21 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: nommu: fix memory leak in do_mmap() error path The preallocation of the maple tree nodes may leak if the error path to "error_just_free" is taken. Fix this by moving the freeing of the maple tree nodes to a shared location for all error paths.
Affected products
- Linux kernel: from 6.1 before 6.1.8; 6.2-rc1, 6.2-rc2, 6.2-rc3, 6.2-rc4 — fixed in 6.1.8
How to fix
Upgrade to a fixed version: Linux kernel 6.1.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1442d51026c58e7c11dd5f9b19650632a48676d4
- https://git.kernel.org/stable/c/7f31cced5724e6d414fe750aa1cd7e7b578ec22f
Get alerted when CVE-2023-52902 or the next vulnerability affects your stack