Linux
platform/x86: asus-wmi: Fix racy registrations
In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: Fix racy registrations asus_wmi_register_driver() may be called from multiple drivers concurrently, which can lead to the racy list operations, eventually corrupting the memory and hitting Oops on some ASUS machines. Also, the error handling is missing, and it forgot to unregister ACPI lps0 dev ops in the error case. This patch covers those issues by introducing a simple mutex at acpi_wmi_register_driver() & *_unregister_driver, and adding the proper call of asus_s2idle_check_unregister() in the error path.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= feea7bd6b02d43a794e3f065650d89cf8d8e8e59, < e7a70326fb26b905cfc8fe2366113aa4394733ef
- >= feea7bd6b02d43a794e3f065650d89cf8d8e8e59, < 5549202b9c02c2ecbc8634768a3da8d9e82d548d
Fixed in e7a70326fb26b905cfc8fe2366113aa4394733ef, 5549202b9c02c2ecbc8634768a3da8d9e82d548d
- 6.16
Fixed in 0, 6.16.6, 6.17
Mitigation
Upgrade Linux to e7a70326fb26b905cfc8fe2366113aa4394733ef or 5549202b9c02c2ecbc8634768a3da8d9e82d548d or later.
Upgrade Linux to 0 or 6.16.6 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.