CVE-2023-52902Published Aug 21, 2024 · Aug 21Updated Oct 28
nommu: fix memory leak in do_mmap() error path
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's nommu do_mmap() error path can leak preallocated maple tree nodes when it reaches error_just_free. The input does not specify how an attacker could trigger the error path, whether authentication or user interaction is needed, or any further impact.
Engineers running Linux kernels with the affected nommu code should check their kernel versions; affected versions are not specified.