← CVE Intelligence

CVE-2023-52902

nommu: fix memory leak in do_mmap() error path PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 8220543df1489ef96c3d4e8b0b3b03c340e3943e before 1442d51026c58e7c11dd5f9b19650632a48676d4; affected 8220543df1489ef96c3d4e8b0b3b03c340e3943e before 7f31cced5724e6d414fe750aa1cd7e7b578ec22f
Linux / Linuxaffected 6.1; unaffected 0 before 6.1; unaffected 6.1.8 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.