CVE-2026-93114: platform/surface: acpi-notify: Check ACPI companion before use
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
platform/surface: acpi-notify: Check ACPI companion before use
Since every platform driver can be forced to match a device that doesn't match its list of device IDs because of device_match_driver_override(), platform drivers that rely on the existence of a device's ACPI companion object should verify its presence.
san_probe() dereferences the result of ACPI_COMPANION() when installing the GSBUS address space handler, so force-binding the driver to a device without an ACPI companion leads to a NULL pointer dereference. The dereference was introduced when the probe function was switched from ACPI_HANDLE() to ACPI_COMPANION().
Check the ACPI companion against NULL and return -ENODEV when it is missing, like commit e4865a56d013 ("ACPI: driver: Check ACPI_COMPANION() against NULL during probe") does for the core ACPI platform drivers.
The Linux kernel CVE team has assigned CVE-2026-93114 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit a9e10e58730432e5de840eb3ddd55c75f29341b3 and fixed in 5.15.221 with commit 4faa43d4ef0b98beb6c2b77a279f4aa5d7fa2d13 Issue introduced in 5.14 with commit a9e10e58730432e5de840eb3ddd55c75f29341b3 and fixed in 6.1.188 with commit 3855be0100efb98c26228c610db70a673611f3bd Issue introduced in 5.14 with commit a9e10e58730432e5de840eb3ddd55c75f29341b3 and fixed in 6.6.157 with commit f276b62f2ce1cbff7fa50a8ee5afd8fef5a60897 Issue introduced in 5.14 with commit a9e10e58730432e5de840eb3ddd55c75f29341b3 and fixed in 6.12.110 with commit 9b6479da662c2ec4e931ed9f7228df46aa8c3766 Issue introduced in 5.14 with commit a9e10e58730432e5de840eb3ddd55c75f29341b3 and fixed in 6.18.52 with commit 7fea5a310e3b2db24f7aafe64897e4e659ffbb7d Issue introduced in 5.14 with commit a9e10e58730432e5de840eb3ddd55c75f29341b3 and fixed in 7.2.6 with commit 428a82d987fcd8844e8868c85582eae75b4b5c51 Issue introduced in 5.14 with commit a9e10e58730432e5de840eb3ddd55c75f29341b3 and fixed in 7.3-rc1 with commit 2b3a5dabe89e330413af403246b648c1890f368f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93114
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/platform/surface/surface_acpi_notify.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/4faa43d4ef0b98beb6c2b77a279f4aa5d7fa2d13 https://git.kernel.org/stable/c/3855be0100efb98c26228c610db70a673611f3bd https://git.kernel.org/stable/c/f276b62f2ce1cbff7fa50a8ee5afd8fef5a60897 https://git.kernel.org/stable/c/9b6479da662c2ec4e931ed9f7228df46aa8c3766 https://git.kernel.org/stable/c/7fea5a310e3b2db24f7aafe64897e4e659ffbb7d https://git.kernel.org/stable/c/428a82d987fcd8844e8868c85582eae75b4b5c51 https://git.kernel.org/stable/c/2b3a5dabe89e330413af403246b648c1890f368f