CVE-2026-139812: HID: cougar: reject short special-key reports
In the Linux kernel, the following vulnerability has been resolved:
HID: cougar: reject short special-key reports
The HID core invokes rawevent callbacks before validating the report length. cougarrawevent() reads the key code and action from offsets one and two without checking that those bytes are present. A short report on the special interface can therefore cause an out-of-bounds read.
Consume reports that do not contain the action field before accessing the fixed offsets, consistent with the callback's handling of other reports on the special interface.
Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of rawevent length validation to hid-asus.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Linux kernel systems using the Cougar HID driver's special interface are exposed when that interface processes a report shorter than the fields read at offsets one and two. The issue is in the driver's raw_event callback handling.
What does an attacker need to trigger the flaw?
They need to cause a short report to be delivered on the Cougar device's special interface. The vulnerable callback accesses the key-code and action fields before confirming that the report contains those bytes.
How can I verify whether the fix is present?
Check whether the Cougar HID driver's raw-event handler rejects or consumes reports that do not contain the action field before reading its fixed offsets. The provided stable references identify commits containing the resolution.