CVE-2024-40936Published Jul 12, 2024 · Jul 12Updated Oct 28
cxl/region: Fix memregion leaks in devm_cxl_add_region()
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 |
|
|
6.6.356.9.66.10In 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.
From the CVE record · Linux
The Linux kernel's devm_cxl_add_region() can leak a memregion because mode verification occurs after allocation. The input does not specify how an attacker could trigger the leak or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their systems; affected versions are not specified.