cxl/acpi: Check ACPI companion before use

Summary

CVECVE-2026-138946
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:17:55 UTC
Updated2026-11-30 14:17:55 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea de1140a7619e6d056378fc2dccc1a5bc54d3572e git Not specified
CNA Linux Linux affected 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea 2e68745508945b9df5ad6715e89c3b9ecf3a6fa3 git Not specified
CNA Linux Linux affected 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea db31479fa303799673a0dfa4134a98ee953eef59 git Not specified
CNA Linux Linux affected 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea ebbda0b1d5fdce1db828504afcff87badaeac284 git Not specified
CNA Linux Linux affected 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea b0f54c804cc0f8ea47ffef685de9c01666233e43 git Not specified
CNA Linux Linux affected 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea f0dd015ed8ced512f64b1fa320600b24c5161712 git Not specified
CNA Linux Linux affected 7d4b5ca2e2cb5d28db628ec79c706bcfa832feea 371c2ad1624283b6c7a62a28199f5161d388a738 git Not specified
CNA Linux Linux affected 5.14 Not specified
CNA Linux Linux unaffected 5.14 semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/de1140a7619e6d056378fc2dccc1a5bc54d3572e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2e68745508945b9df5ad6715e89c3b9ecf3a6fa3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f0dd015ed8ced512f64b1fa320600b24c5161712 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b0f54c804cc0f8ea47ffef685de9c01666233e43 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/db31479fa303799673a0dfa4134a98ee953eef59 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/371c2ad1624283b6c7a62a28199f5161d388a738 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ebbda0b1d5fdce1db828504afcff87badaeac284 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report