CVE-2024-40936

published 12 Jul 2024 · updated 11 May 2026

cxl/region: Fix memregion leaks in devm_cxl_add_region()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 49ba7b515c4c0719b866d16f068e62d16a8a3dd1, Kernel bbb5d8746381c82f7e0fb6171094d375b492f266 and Kernel d8316838aa0686da63a8be4194b7a17b0103ae4a.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.3, >=6e099264185d05f50400ea494f5029264a4fe995 <49ba7b515c4c0719b866d16f068e62d16a8a3dd1, >=6e099264185d05f50400ea494f5029264a4fe995 <bbb5d8746381c82f7e0fb6171094d375b492f266, >=6e099264185d05f50400ea494f5029264a4fe995 <d8316838aa0686da63a8be4194b7a17b0103ae4a49ba7b515c4c0719b866d16f068e62d16a8a3dd1, bbb5d8746381c82f7e0fb6171094d375b492f266, d8316838aa0686da63a8be4194b7a17b0103ae4a

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-40936 severity on Zeptric[![CVE-2024-40936](https://zeptric.io/badge/cve/CVE-2024-40936.svg)](https://zeptric.io/cve/CVE-2024-40936)