CVE-2026-142789
Description
In the Linux kernel, the following vulnerability has been resolved:
HID: zydacron: validate key report length
The HID core invokes raw_event callbacks before validating the report length. zc_raw_event() verifies the report ID in byte zero and then reads the key code from byte one for report IDs 0x02 and 0x03 without checking that the second byte is present.
A one-byte report reproduced the issue under KASAN:
BUG: KASAN: slab-out-of-bounds in zc_raw_event+0x54c/0x580 Read of size 1 by task hidtrigger/93 Call Trace: zc_raw_event+0x54c/0x580 __hid_input_report+0x2ef/0x3a0 inject_store+0x479/0x490 [faketrans]
Require both the report ID and key code before processing the report.
Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/02e255869745348db39effc347cb8a9cc70f9725nvd
- git.kernel.org/stable/c/240e3adb33dcc181577129502ba54143130bda02nvd
- git.kernel.org/stable/c/30e55a93cdc6b24e9cef7b975376b925098aad2bnvd
- git.kernel.org/stable/c/356f75af018250bea158b051ad0754fb80bb4c86nvd
- git.kernel.org/stable/c/65ffc1c6a6f6393957e99014cdf72e35d2344e8bnvd
- git.kernel.org/stable/c/88a840da879ef1c21d43b48a2c2740c514ee9828nvd
- git.kernel.org/stable/c/9932c9af185f8586e883d44ca562c12f4487c762nvd
- git.kernel.org/stable/c/e06f76c09e7cdb0851556ebf5939dd87550a387cnvd
News mentions
0No linked articles in our index yet.