CVE-2026-138828: platform/x86: asus-wmi: Serialize WMI method evaluations with a mutex
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: asus-wmi: Serialize WMI method evaluations with a mutex
Concurrent evaluations of ASUS WMI management methods (from ACPI notify, HID, userspace daemons, and debugfs) enter the BIOS ACPI/SMM interface simultaneously, triggering re-entrant SMIs or EC mailbox buffer corruption.
Fix this at the root by introducing a centralized evaluation helper (asuswmievaluatemethodlocked()) protected by a global mutex (asuswmievallock) using guard(mutex). Route all evaluations of ASUSWMIMGMTGUID (method3, method5, methodbuf, and showcall) through this helper.
A static mutex is required because asuswmievaluatemethod() is an exported symbol used by external modules (such as hid-asus and asus-armoury) that lack access to struct asuswmi drvdata, and the underlying ASUS ACPI/EC management method is a single physical platform resource.
The mutex is non-recursive: nested ACPI/WMI notify handlers must not call back into evaluate on the same task (defer via workqueue, as asusrfkillnotify already does).
The sysfs-versus-notify race predates the later export of asuswmievaluatemethod(), so Fixes points at the original shared evaluate helper rather than that export.
Affected Software
Event History
Frequently Asked Questions
Which components can contend for the affected firmware interface?
ACPI notifications, HID paths, userspace daemons, debugfs, and external modules that use the exported asus_wmi_evaluate_method() function can invoke ASUS WMI management methods. The description specifically names hid-asus and asus-armoury as examples of external modules.
What failure modes can result from concurrent access?
Simultaneous evaluations can enter the BIOS ACPI/SMM interface at the same time, causing re-entrant SMIs or corruption of EC mailbox buffers. The underlying ASUS ACPI/EC management method is treated as a single physical platform resource.
Are there constraints for notify-handler implementations after the fix?
Yes. The evaluation mutex is non-recursive, so nested ACPI/WMI notify handlers must not evaluate a method again on the same task. Such work should be deferred through a workqueue, as the asus_rfkill_notify path does.