Memory leak in Linux kernel - CVE-2024-40936
Published: July 13, 2024 / Updated: May 13, 2025
Vulnerability identifier: #VU94206
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-40936
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to memory leak within the devm_cxl_add_region() and __create_region() functions in drivers/cxl/core/region.c. A local user can perform a denial of service (DoS) attack.
How to mitigate CVE-2024-40936
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a
- https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266
- https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.10
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.35