CVE-2026-138946

cxl/acpi: Check ACPI companion before use

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel’s CXL ACPI platform driver assumes every bound device has an ACPI companion. When a driver is force‑bound via driver_override to a platform device without such a companion, the driver dereferences a NULL pointer, causing a kernel panic. This results in a denial of service because the operating system becomes unstable and crashes.

Affected Systems

All Linux kernel releases that contain the cxl_acpi driver before the patch is applied. The vendor is Linux; the product is the Linux kernel. The problem exists in any kernel version that allows driver_override to bind a platform device lacking an ACPI companion.

Risk and Exploitability

Exploitation requires the attacker to write to the driver_override sysfs attribute, a capability normally limited to root or CAP_SYS_ADMIN users. Once granted, the attacker can trigger a crash. The EPSS score is not available, so the exploitation probability is uncertain. The vulnerability is not listed in the CISA KEV catalog, and the CVSS metric is missing, but the impact of a kernel crash implies a high severity if the flaw is triggered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the fix in commit 2b3a5dabe89, which verifies an ACPI companion before use and returns -ENODEV when absent.
  • Restrict write access to the driver_override sysfs file so that only trusted, privileged users can modify it, or disable the interface if not needed.
  • Monitor system logs for kernel panics or -ENODEV error codes when platform devices without ACPI companions are bound, and verify that the updated kernel prevents the crash.

Generated by OpenCVE AI on November 30, 2026 at 18:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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.
Title cxl/acpi: Check ACPI companion before use
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM