{"id":"CVE-2024-40936","aliases":["CVE-2024-40936"],"related":[],"kind":"vulnerability","state":"published","title":"cxl/region: Fix memregion leaks in devm_cxl_add_region()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: cxl/region: solucione las fugas de memregion en devm_cxl_add_region() Mueva el modo de verificación a __create_region() antes de asignar la memregion para evitar las fugas de memregion.","source":"nvd"}],"published":"2024-07-12T12:25:13.155Z","modified":"2026-06-17T07:46:54.427Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"6e099264185d05f50400ea494f5029264a4fe995","fixed":"d8316838aa0686da63a8be4194b7a17b0103ae4a","status":"affected"},{"type":"git","introduced":"6e099264185d05f50400ea494f5029264a4fe995","fixed":"bbb5d8746381c82f7e0fb6171094d375b492f266","status":"affected"},{"type":"git","introduced":"6e099264185d05f50400ea494f5029264a4fe995","fixed":"49ba7b515c4c0719b866d16f068e62d16a8a3dd1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.35","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.6","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.3","fixed":"6.6.35"},{"status":"affected","introduced":"6.7","fixed":"6.9.6"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:04:43.140Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40936","url":"https://www.cve.org/CVERecord?id=CVE-2024-40936","licence":"CVE Terms of Use","modified":"2026-05-11T20:22:42.388Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40936","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40936","licence":"Public domain","modified":"2026-06-17T07:46:54.427Z"}],"updatedAt":"2026-11-25T22:58:42.847Z","epss":{"score":0.00249,"percentile":0.17343,"date":"2026-12-02T12:00:21.000Z"}}