CVE-2026-139808: HID: pxrc: reject short input reports
In the Linux kernel, the following vulnerability has been resolved:
HID: pxrc: reject short input reports
The HID core invokes rawevent callbacks before validating the report length. pxrcrawevent() reads byte seven and writes bytes one and seven without checking that the report contains those bytes.
A one-byte input report reproduced the first invalid access under KASAN:
BUG: KASAN: slab-out-of-bounds in pxrcrawevent+0x161/0x260 Read of size 1 by task hidtrigger/90 Call Trace: pxrcrawevent+0x161/0x260 kasanreport+0x139/0x170
Require all eight bytes before reading or rewriting the report.
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.
- Compensating control
In pxrc_raw_event(), reject input reports shorter than eight bytes before reading or rewriting the report.
Event History
Frequently Asked Questions
What conditions are required to trigger the out-of-bounds access?
The affected pxrc HID raw-event handler must receive an input report shorter than eight bytes. A one-byte input report is specifically reported to reproduce the invalid read.
What is the practical impact of a malformed report?
Before the fix, pxrc_raw_event() can read byte seven and write bytes one and seven without verifying that those bytes exist. This causes a slab out-of-bounds memory access, as observed by KASAN.
How can I determine whether the issue is fixed in my kernel?
Check whether your kernel includes a change that requires pxrc input reports to contain all eight bytes before the handler reads or rewrites them. The listed stable-kernel references identify fixes for this issue.