{"id":"CVE-2024-40936","published":"2024-07-12T12:25:13Z","modified":"2026-05-11T20:22:42Z","title":"cxl/region: Fix memregion leaks in devm_cxl_add_region()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/region: Fix memregion leaks in devm_cxl_add_region()\n\nMove the mode verification to __create_region() before allocating the\nmemregion to avoid the memregion leaks.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00249,"percentile":0.1654,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a","tags":[]},{"url":"https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266","tags":[]},{"url":"https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1","tags":[]}],"priority":{"score":3.3,"factors":[{"name":"EPSS percentile","points":3.31}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6e099264185d05f50400ea494f5029264a4fe995, < d8316838aa0686da63a8be4194b7a17b0103ae4a",">= 6e099264185d05f50400ea494f5029264a4fe995, < bbb5d8746381c82f7e0fb6171094d375b492f266",">= 6e099264185d05f50400ea494f5029264a4fe995, < 49ba7b515c4c0719b866d16f068e62d16a8a3dd1"]},{"vendor":"Linux","product":"Linux","versions":["6.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:04:43.140500Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38824","exploited":false,"provenance":"source"}}