platform/surface: acpi-notify: Check ACPI companion before use
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f276b62f2ce1cbff7fa50a8ee5afd8fef5a60897, Kernel 2b3a5dabe89e330413af403246b648c1890f368f, Kernel 3855be0100efb98c26228c610db70a673611f3bd and 10 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a9e10e58730432e5de840eb3ddd55c75f29341b3 <f276b62f2ce1cbff7fa50a8ee5afd8fef5a60897, >=a9e10e58730432e5de840eb3ddd55c75f29341b3 <2b3a5dabe89e330413af403246b648c1890f368f, >=a9e10e58730432e5de840eb3ddd55c75f29341b3 <3855be0100efb98c26228c610db70a673611f3bd, >=a9e10e58730432e5de840eb3ddd55c75f29341b3 <428a82d987fcd8844e8868c85582eae75b4b5c51, >=a9e10e58730432e5de840eb3ddd55c75f29341b3 <4faa43d4ef0b98beb6c2b77a279f4aa5d7fa2d13, >=a9e10e58730432e5de840eb3ddd55c75f29341b3 <7fea5a310e3b2db24f7aafe64897e4e659ffbb7d, >=a9e10e58730432e5de840eb3ddd55c75f29341b3 <9b6479da662c2ec4e931ed9f7228df46aa8c3766, =5.14 | f276b62f2ce1cbff7fa50a8ee5afd8fef5a60897, 2b3a5dabe89e330413af403246b648c1890f368f, 3855be0100efb98c26228c610db70a673611f3bd, 428a82d987fcd8844e8868c85582eae75b4b5c51, 4faa43d4ef0b98beb6c2b77a279f4aa5d7fa2d13, 7fea5a310e3b2db24f7aafe64897e4e659ffbb7d, 9b6479da662c2ec4e931ed9f7228df46aa8c3766 |
| linux-kernel: Kernel | >=5.16.0 <6.1.188, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.14.0 <5.15.221 | 6.1.188, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.15.221 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket