# CVE-2026-138946: cxl/acpi: Check ACPI companion before use

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:27.116Z
- Modified: 2026-11-30T14:17:55.793Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cxl/acpi: Check ACPI companion before use

Platform drivers can be forced to match devices outside their ID tables
through driver_override.  cxl_acpi_probe() assumes that every bound device
has an ACPI companion and dereferences adev->dev.bus without checking the
result of ACPI_COMPANION().  Force-binding cxl_acpi to a platform device
without a companion therefore causes a NULL pointer dereference.

This was reproduced by setting the driver override for the pcspkr platform
device to cxl_acpi and binding it through sysfs:

  BUG: kernel NULL pointer dereference, address: 0000000000000280
  #PF: supervisor read access in kernel mode
  RIP: cxl_acpi_probe+0xf4/0x220
  Call Trace:
   platform_probe+0x4d/0x80
   really_probe+0x106/0x370
   device_driver_attach+0x4c/0xa0
   bind_store+0xd0/0x100

Commit 2b3a5dabe89e ("platform/surface: acpi-notify: Check ACPI
companion before use") fixed the same force-binding issue in another
platform driver.  Check the companion before setting up the CXL root and
return -ENODEV when it is absent.

(As written by CVE List.)

## Affected

- Linux Linux: from 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea before de1140a7619e6d056378fc2dccc1a5bc54d3572e; from 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea before 2e68745508945b9df5ad6715e89c3b9ecf3a6fa3; from 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea before db31479fa303799673a0dfa4134a98ee953eef59; from 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea before ebbda0b1d5fdce1db828504afcff87badaeac284; from 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea before b0f54c804cc0f8ea47ffef685de9c01666233e43; from 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea before f0dd015ed8ced512f64b1fa320600b24c5161712; from 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea before 371c2ad1624283b6c7a62a28199f5161d388a738; 5.14 (not affected: before 5.14; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/de1140a7619e6d056378fc2dccc1a5bc54d3572e>
- <https://git.kernel.org/stable/c/2e68745508945b9df5ad6715e89c3b9ecf3a6fa3>
- <https://git.kernel.org/stable/c/db31479fa303799673a0dfa4134a98ee953eef59>
- <https://git.kernel.org/stable/c/ebbda0b1d5fdce1db828504afcff87badaeac284>
- <https://git.kernel.org/stable/c/b0f54c804cc0f8ea47ffef685de9c01666233e43>
- <https://git.kernel.org/stable/c/f0dd015ed8ced512f64b1fa320600b24c5161712>
- <https://git.kernel.org/stable/c/371c2ad1624283b6c7a62a28199f5161d388a738>

## Sources

- CVE List: [CVE-2026-138946](https://www.cve.org/CVERecord?id=CVE-2026-138946), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138946](https://nvd.nist.gov/vuln/detail/CVE-2026-138946), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138946 · Whole record: https://cve.day/CVE-2026-138946.json · Rebuilt by cve.day 2026-11-30T14:32:41.099Z
