CVE-2026-90331: HID: asus: refactor the two workqueues and init sequence
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
HID: asus: refactor the two workqueues and init sequence
Multiple issues have been found within the hid-asus driver:
- unchecked size in asus_raw_event()
- unclean teardown of asus_probe on failure
- possible use-after-free in asus_probe
- multiple workqueue used for jobs where one was enough
- sleeping calls in atomic context
- packets of incorrect size being sent to the keyboard controller
Join the two workqueues into one reusing the stopping mechanism of the brightness workqueue, use the joined workqueue to also move the asus_wmi_send_event() sleeping call away from atomic context and add a size check in asus_raw_event().
The Linux kernel CVE team has assigned CVE-2026-90331 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.0 with commit 1489a34e97efebf583ff08e506ecf9f7d44537d3 and fixed in 7.2.6 with commit 744b3f930c1173ad57f49b614fc875d8d2715396 Issue introduced in 7.0 with commit 1489a34e97efebf583ff08e506ecf9f7d44537d3 and fixed in 7.3-rc1 with commit 47669bec44fe12fe2c7adf2b299e980d7935a2ce
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90331
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/hid/hid-asus.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/744b3f930c1173ad57f49b614fc875d8d2715396 https://git.kernel.org/stable/c/47669bec44fe12fe2c7adf2b299e980d7935a2ce