CVE-2024-40936
Not scored
cxl/region: Fix memregion leaks in devm_cxl_add_region()
In the Linux kernel, the following vulnerability has been resolved: cxl/region: Fix memregion leaks in devm_cxl_add_region() Move the mode verification to __create_region() before allocating the memregion to avoid the memregion leaks.
Exploit probability
0.2%
Published
July 12, 2024
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2024-40936
View original source
In the Linux kernel, the following vulnerability has been resolved: cxl/region: Fix memregion leaks in devm_cxl_add_region() Move the mode verification to __create_region() before allocating the memregion to avoid the memregion leaks.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1
- https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266
- https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40936.json
- https://nvd.nist.gov/vuln/detail/CVE-2024-40936