{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-40936","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-07-12T12:17:45.584Z","datePublished":"2024-07-12T12:25:13.155Z","dateUpdated":"2025-05-04T09:18:18.900Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T09:18:18.900Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/region.c"],"versions":[{"version":"6e099264185d05f50400ea494f5029264a4fe995","lessThan":"d8316838aa0686da63a8be4194b7a17b0103ae4a","status":"affected","versionType":"git"},{"version":"6e099264185d05f50400ea494f5029264a4fe995","lessThan":"bbb5d8746381c82f7e0fb6171094d375b492f266","status":"affected","versionType":"git"},{"version":"6e099264185d05f50400ea494f5029264a4fe995","lessThan":"49ba7b515c4c0719b866d16f068e62d16a8a3dd1","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/core/region.c"],"versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.35","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.6","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.35"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.9.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.10"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a"},{"url":"https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266"},{"url":"https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1"}],"title":"cxl/region: Fix memregion leaks in devm_cxl_add_region()","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T04:39:55.888Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1","tags":["x_transferred"]}]},{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-40936","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:04:43.140500Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-11T17:33:02.302Z"}}]}}