{"id":"CVE-2023-52902","summary":"nommu: fix memory leak in do_mmap() error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnommu: fix memory leak in do_mmap() error path\n\nThe preallocation of the maple tree nodes may leak if the error path to\n\"error_just_free\" is taken.  Fix this by moving the freeing of the maple\ntree nodes to a shared location for all error paths.","modified":"2026-04-02T09:43:28.003152Z","published":"2024-08-21T06:10:42.766Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52902.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1442d51026c58e7c11dd5f9b19650632a48676d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f31cced5724e6d414fe750aa1cd7e7b578ec22f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52902.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52902"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8220543df1489ef96c3d4e8b0b3b03c340e3943e"},{"fixed":"1442d51026c58e7c11dd5f9b19650632a48676d4"},{"fixed":"7f31cced5724e6d414fe750aa1cd7e7b578ec22f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52902.json"}}],"schema_version":"1.7.5"}