7.8high
platform/x86: asus-wmi: Fix racy registrations
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from feea7bd6b02d43a794e3f065650d89cf8d8e8e59 before e7a70326fb26b905cfc8fe2366113aa4394733ef, from feea7bd6b02d43a794e3f065650d89cf8d8e8e59 before 5549202b9c02c2ecbc8634768a3da8d9e82d548d, 6.16 Not affected: before 6.16, from 6.16.6 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 6.16 before 6.16.6, 6.17 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: platform/x86: asus-wmi: Corrección de registros con condiciones de carrera asus_wmi_register_driver() puede ser llamada desde múltiples controladores concurrentemente, lo que puede llevar a operaciones de lista con condiciones de carrera, eventualmente corrompiendo la memoria y provocando un Oops en algunas máquinas ASUS. Además, falta el manejo de errores y olvidó anular el registro de las operaciones de dispositivo ACPI lps0 en el caso de error. Este parche cubre esos problemas mediante la introducción de un mutex simple en acpi_wmi_register_driver() y *_unregister_driver, y añadiendo la llamada adecuada de asus_s2idle_check_unregister() en la ruta de error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39837 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-39837 changed 2026-10-19 | Public domain |