{"id":"CVE-2026-138946","aliases":["CVE-2026-138946"],"related":[],"kind":"vulnerability","state":"published","title":"cxl/acpi: Check ACPI companion before use","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/acpi: Check ACPI companion before use\n\nPlatform drivers can be forced to match devices outside their ID tables\nthrough driver_override.  cxl_acpi_probe() assumes that every bound device\nhas an ACPI companion and dereferences adev->dev.bus without checking the\nresult of ACPI_COMPANION().  Force-binding cxl_acpi to a platform device\nwithout a companion therefore causes a NULL pointer dereference.\n\nThis was reproduced by setting the driver override for the pcspkr platform\ndevice to cxl_acpi and binding it through sysfs:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000280\n  #PF: supervisor read access in kernel mode\n  RIP: cxl_acpi_probe+0xf4/0x220\n  Call Trace:\n   platform_probe+0x4d/0x80\n   really_probe+0x106/0x370\n   device_driver_attach+0x4c/0xa0\n   bind_store+0xd0/0x100\n\nCommit 2b3a5dabe89e (\"platform/surface: acpi-notify: Check ACPI\ncompanion before use\") fixed the same force-binding issue in another\nplatform driver.  Check the companion before setting up the CXL root and\nreturn -ENODEV when it is absent.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/acpi: Check ACPI companion before use\n\nPlatform drivers can be forced to match devices outside their ID tables\nthrough driver_override.  cxl_acpi_probe() assumes that every bound device\nhas an ACPI companion and dereferences adev->dev.bus without checking the\nresult of ACPI_COMPANION().  Force-binding cxl_acpi to a platform device\nwithout a companion therefore causes a NULL pointer dereference.\n\nThis was reproduced by setting the driver override for the pcspkr platform\ndevice to cxl_acpi and binding it through sysfs:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000280\n  #PF: supervisor read access in kernel mode\n  RIP: cxl_acpi_probe+0xf4/0x220\n  Call Trace:\n   platform_probe+0x4d/0x80\n   really_probe+0x106/0x370\n   device_driver_attach+0x4c/0xa0\n   bind_store+0xd0/0x100\n\nCommit 2b3a5dabe89e (\"platform/surface: acpi-notify: Check ACPI\ncompanion before use\") fixed the same force-binding issue in another\nplatform driver.  Check the companion before setting up the CXL root and\nreturn -ENODEV when it is absent.","source":"cvelist"}],"published":"2026-11-30T13:26:27.116Z","modified":"2026-11-30T14:17:55.793Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7d4b5ca2e2cb5d28db628ec79c706bcfa832feea","fixed":"de1140a7619e6d056378fc2dccc1a5bc54d3572e","status":"affected"},{"type":"git","introduced":"7d4b5ca2e2cb5d28db628ec79c706bcfa832feea","fixed":"2e68745508945b9df5ad6715e89c3b9ecf3a6fa3","status":"affected"},{"type":"git","introduced":"7d4b5ca2e2cb5d28db628ec79c706bcfa832feea","fixed":"db31479fa303799673a0dfa4134a98ee953eef59","status":"affected"},{"type":"git","introduced":"7d4b5ca2e2cb5d28db628ec79c706bcfa832feea","fixed":"ebbda0b1d5fdce1db828504afcff87badaeac284","status":"affected"},{"type":"git","introduced":"7d4b5ca2e2cb5d28db628ec79c706bcfa832feea","fixed":"b0f54c804cc0f8ea47ffef685de9c01666233e43","status":"affected"},{"type":"git","introduced":"7d4b5ca2e2cb5d28db628ec79c706bcfa832feea","fixed":"f0dd015ed8ced512f64b1fa320600b24c5161712","status":"affected"},{"type":"git","introduced":"7d4b5ca2e2cb5d28db628ec79c706bcfa832feea","fixed":"371c2ad1624283b6c7a62a28199f5161d388a738","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/de1140a7619e6d056378fc2dccc1a5bc54d3572e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e68745508945b9df5ad6715e89c3b9ecf3a6fa3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db31479fa303799673a0dfa4134a98ee953eef59","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ebbda0b1d5fdce1db828504afcff87badaeac284","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0f54c804cc0f8ea47ffef685de9c01666233e43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0dd015ed8ced512f64b1fa320600b24c5161712","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/371c2ad1624283b6c7a62a28199f5161d388a738","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138946","url":"https://www.cve.org/CVERecord?id=CVE-2026-138946","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:27.116Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138946","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138946","licence":"Public domain","modified":"2026-11-30T14:17:55.793Z"}],"updatedAt":"2026-11-30T14:32:41.099Z","epss":{"score":0.00206,"percentile":0.11328,"date":"2026-12-01T12:00:22.000Z"}}