CVE-2024-40936

Source
https://cve.org/CVERecord?id=CVE-2024-40936
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40936.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-40936
Downstream
Related
Published
2024-07-12T12:25:13.155Z
Modified
2026-03-13T07:57:15.292671Z
Summary
cxl/region: Fix memregion leaks in devm_cxl_add_region()
Details

In the Linux kernel, the following vulnerability has been resolved:

cxl/region: Fix memregion leaks in devmcxladd_region()

Move the mode verification to _createregion() before allocating the memregion to avoid the memregion leaks.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40936.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6e099264185d05f50400ea494f5029264a4fe995
Fixed
d8316838aa0686da63a8be4194b7a17b0103ae4a
Fixed
bbb5d8746381c82f7e0fb6171094d375b492f266
Fixed
49ba7b515c4c0719b866d16f068e62d16a8a3dd1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40936.json"