platform/surface: acpi-notify: Check ACPI companion before use
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From a9e10e58730432e5de840eb3ddd55c75f29341b3 · fixed in 4faa43d4ef0b98beb6c2b77a279f4aa5d7fa2d13; From a9e10e58730432e5de840eb3ddd55c75f29341b3 · fixed in 3855be0100efb98c26228c610db70a673611f3bd; From a9e10e58730432e5de840eb3ddd55c75f29341b3 · fixed in f276b62f2ce1cbff7fa50a8ee5afd8fef5a60897; From a9e10e58730432e5de840eb3ddd55c75f29341b3 · fixed in 9b6479da662c2ec4e931ed9f7228df46aa8c3766; From a9e10e58730432e5de840eb3ddd55c75f29341b3 · fixed in 7fea5a310e3b2db24f7aafe64897e4e659ffbb7d; From a9e10e58730432e5de840eb3ddd55c75f29341b3 · fixed in 428a82d987fcd8844e8868c85582eae75b4b5c51; From a9e10e58730432e5de840eb3ddd55c75f29341b3 · fixed in 2b3a5dabe89e330413af403246b648c1890f368f
- Linux Linux
5.14
- KernelLinux
From 5.14.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 7
git.kernel.org
- stable/c/4faa43d4ef0b98beb6c2b77a279f4aa5d7fa2d13
- stable/c/3855be0100efb98c26228c610db70a673611f3bd
- stable/c/f276b62f2ce1cbff7fa50a8ee5afd8fef5a60897
- stable/c/9b6479da662c2ec4e931ed9f7228df46aa8c3766
- stable/c/7fea5a310e3b2db24f7aafe64897e4e659ffbb7d
- stable/c/428a82d987fcd8844e8868c85582eae75b4b5c51
- stable/c/2b3a5dabe89e330413af403246b648c1890f368f