{"id":"CVE-2024-41084","published":"2024-07-29T15:48:00Z","modified":"2026-05-11T20:25:53Z","title":"cxl/region: Avoid null pointer dereference in region lookup","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/region: Avoid null pointer dereference in region lookup\n\ncxl_dpa_to_region() looks up a region based on a memdev and DPA.\nIt wrongly assumes an endpoint found mapping the DPA is also of\na fully assembled region. When not true it leads to a null pointer\ndereference looking up the region name.\n\nThis appears during testing of region lookup after a failure to\nassemble a BIOS defined region or if the lookup raced with the\nassembly of the BIOS defined region.\n\nFailure to clean up BIOS defined regions that fail assembly is an\nissue in itself and a fix to that problem will alleviate some of\nthe impact. It will not alleviate the race condition so let's harden\nthis path.\n\nThe behavior change is that the kernel oops due to a null pointer\ndereference is replaced with a dev_dbg() message noting that an\nendpoint was mapped.\n\nAdditional comments are added so that future users of this function\ncan more clearly understand what it provides.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00308,"percentile":0.16074,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a9e099e29e925f8b31cfe53e8a786b9796f8e453","tags":[]},{"url":"https://git.kernel.org/stable/c/b8a40a6dbfb0150c1081384caa9bbe28ce5d5060","tags":[]},{"url":"https://git.kernel.org/stable/c/285f2a08841432fc3e498b1cd00cce5216cdf189","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0a105ab28a4de44eb738ce64e9ac74946aa5133b, < a9e099e29e925f8b31cfe53e8a786b9796f8e453",">= 0a105ab28a4de44eb738ce64e9ac74946aa5133b, < b8a40a6dbfb0150c1081384caa9bbe28ce5d5060",">= 0a105ab28a4de44eb738ce64e9ac74946aa5133b, < 285f2a08841432fc3e498b1cd00cce5216cdf189"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:20:55.485513Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38881","exploited":false,"provenance":"source"}}