Executive summary
CVE-2026-138946 is a missing NULL check in the Linux kernel's CXL ACPI support. The cxl_acpi_probe() callback assumes that every platform device bound to the driver has an ACPI companion object. It retrieves that companion with ACPI_COMPANION() and then accesses adev->dev.bus without validating the result.
When cxl_acpi is force-bound to a platform device that lacks an ACPI companion, the lookup returns NULL and the kernel faults while probing the device. The described trigger uses the platform bus's driver_override and binding interfaces, both of which require privileged access in a default Linux configuration. The practical impact is a local denial of service rather than memory corruption, privilege escalation, or information disclosure.
Upstream has resolved the flaw by checking for the ACPI companion before configuring the CXL root and returning -ENODEV if it is absent. The supplied advisory was published on 2026-11-30 14:17:55.793 and does not enumerate the affected kernel releases or provide the hash of the specific cxl/acpi fix.
Detailed analysis
Root cause
Linux platform drivers can be forced to match devices outside their normal ID tables through the driver_override sysfs attribute. The cxl_acpi probe path fails to account for that flexibility.
The vulnerable sequence is:
- A privileged actor writes
cxl_acpito thedriver_overrideattribute of an unrelated platform device.
- The device is bound through the platform bus sysfs interface.
cxl_acpi_probe()obtains the device's ACPI companion usingACPI_COMPANION().
- The companion is absent, so the lookup returns NULL.
- The probe callback dereferences
adev->dev.bus, producing a kernel NULL pointer dereference.
The upstream report reproduces the issue by overriding the pcspkr platform device with cxl_acpi and binding it through sysfs. The reported fault includes:
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
Affected systems
- Product: Linux kernel
- Component:
drivers/cxl/acpi.c
- Driver:
cxl_acpi
- Affected functionality: CXL ACPI support and the
cxl_acpi_probe()initialization path
- Affected version range: Not stated in the supplied advisory
- Exposed surface: A platform device with write access to its
driver_overrideattribute and access to the corresponding sysfs binding path
The source material does not identify a CVSS vector or score and does not list the kernel releases containing the flaw. Determining release-specific exposure therefore requires the relevant stable branches and distributor security advisories.
Impact and exploitability
The demonstrated consequence is a kernel oops during device probing. Depending on the host's panic_on_oops configuration, this can terminate the affected execution context or bring down the system. The available evidence does not indicate controllable memory corruption, privilege escalation, or information disclosure.
Exploitation requires local write access to root-gated platform-driver interfaces. In a default configuration, an unauthenticated remote attacker cannot directly reach this path. The supplied intelligence also records no CISA KEV listing and no evidence of exploitation campaigns or public exploit code beyond the upstream reproduction procedure.
These constraints support a low severity assessment. The flaw is a confirmed denial-of-service condition, but its trigger is privileged and local, and the affected CXL ACPI path is most relevant on systems with compatible ACPI-described CXL devices.
Upstream resolution
The corrected behavior is to verify that the ACPI companion exists before setting up the CXL root and to return -ENODEV when it does not. The advisory cites commit 2b3a5dabe89e (platform/surface: acpi-notify: Check ACPI companion before use) as an analogous fix in another platform driver. That commit is a precedent, not the identified fix for the cxl/acpi issue.
Mitigation
Apply the upstream cxl/acpi correction through the relevant stable kernel or vendor kernel update. Because the provided context does not enumerate affected versions or the specific fixing commit hash, administrators should consult their distribution's security advisory and source package when confirming whether the companion check is present.
Until an update is available, limit write access to platform-device driver_override attributes and sysfs binding interfaces. Incorrect overrides—such as cxl_acpi assigned to pcspkr—should be removed. Environments that do not require manual driver matching can remove or mask write access to the relevant driver_override attributes.
Detection
Potential indicators include:
- Kernel logs containing
BUG: kernel NULL pointer dereferencetogether withRIP: cxl_acpi_probe.
- Call traces containing
bind_store,really_probe, ordevice_driver_attach.
- The reported fault address
0000000000000280.
- Unexpected
cxl_acpivalues under/sys/bus/platform/devices/*/driver_overrideon devices that are not ACPI CXL root devices.
A crash in cxl_acpi_probe shortly after a platform-device override or bind operation is a stronger indicator than the oops signature alone.
Expert insight
This issue illustrates why driver binding code should treat platform-device relationships as untrusted input. driver_override is intended for administrative flexibility, but it also lets an authorized actor bypass normal hardware ID matching. A robust probe callback must validate every device association it assumes, especially when that assumption leads to pointer dereferences.
The upstream remedy is appropriately narrow: reject a device without the required ACPI companion instead of attempting CXL root initialization. Its relevance is nevertheless broader than CXL. Commit 2b3a5dabe89e addressed the same pattern in platform/surface: acpi-notify, showing that unchecked ACPI_COMPANION() results have appeared across multiple platform drivers. Reviewing similar probe paths can identify related failure modes even when they are not assigned separate CVE identifiers.
Actionable recommendations
- Confirm with the kernel distributor whether the installed or available stable release contains the
cxl/acpiACPI-companion check.
- Review
/sys/bus/platform/devices/*/driver_overridefor unexpected assignments, particularlycxl_acpion non-CXL devices.
- Restrict privileged write access to platform
driver_overrideand binding interfaces where operational requirements allow.
- Monitor kernel logs for NULL pointer dereferences associated with
cxl_acpi_probe,bind_store, and the reported address0000000000000280.
- Treat the absence of a published CVSS score and version range as missing data rather than evidence of safety, while recognizing that the confirmed trigger requires privileged local access.
References
- git.kernel.org/stable/c/2e68745508945b9df5ad6715e89c3b9ecf3a6fa3
- git.kernel.org/stable/c/371c2ad1624283b6c7a62a28199f5161d388a738
- git.kernel.org/stable/c/b0f54c804cc0f8ea47ffef685de9c01666233e43
- git.kernel.org/stable/c/db31479fa303799673a0dfa4134a98ee953eef59
- git.kernel.org/stable/c/de1140a7619e6d056378fc2dccc1a5bc54d3572e
- git.kernel.org/stable/c/ebbda0b1d5fdce1db828504afcff87badaeac284
- git.kernel.org/stable/c/f0dd015ed8ced512f64b1fa320600b24c5161712