{"id":"CVE-2024-41084","summary":"cxl/region: Avoid null pointer dereference in region lookup","details":"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.","modified":"2026-03-20T12:37:30.971900Z","published":"2024-07-29T15:48:00.323Z","related":["SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41084.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/285f2a08841432fc3e498b1cd00cce5216cdf189"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9e099e29e925f8b31cfe53e8a786b9796f8e453"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8a40a6dbfb0150c1081384caa9bbe28ce5d5060"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41084.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41084"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0a105ab28a4de44eb738ce64e9ac74946aa5133b"},{"fixed":"a9e099e29e925f8b31cfe53e8a786b9796f8e453"},{"fixed":"b8a40a6dbfb0150c1081384caa9bbe28ce5d5060"},{"fixed":"285f2a08841432fc3e498b1cd00cce5216cdf189"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41084.json"}}],"schema_version":"1.7.5"}