CVE-2023-52902

nommu: fix memory leak in do_mmap() error path

State
Published
Severity
Not scored
Published
Aug 21, 2024
Updated
May 11, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8220543df1489ef96c3d4e8b0b3b03c340e3943e to before 1442d51026c58e7c11dd5f9b19650632a48676d4Affected
  • 8220543df1489ef96c3d4e8b0b3b03c340e3943e to before 7f31cced5724e6d414fe750aa1cd7e7b578ec22fAffected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.8 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.