HID: zydacron: validate key report length
Summary
| CVE | CVE-2026-142789 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 04:18:12 UTC |
| Updated | 2026-12-03 04:18:12 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 02e255869745348db39effc347cb8a9cc70f9725 git |
Not specified |
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 240e3adb33dcc181577129502ba54143130bda02 git |
Not specified |
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 88a840da879ef1c21d43b48a2c2740c514ee9828 git |
Not specified |
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 65ffc1c6a6f6393957e99014cdf72e35d2344e8b git |
Not specified |
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 356f75af018250bea158b051ad0754fb80bb4c86 git |
Not specified |
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 30e55a93cdc6b24e9cef7b975376b925098aad2b git |
Not specified |
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 e06f76c09e7cdb0851556ebf5939dd87550a387c git |
Not specified |
| CNA |
Linux |
Linux |
affected d0742abaa1c396a26bb3d3ce2732988cd3faa020 9932c9af185f8586e883d44ca562c12f4487c762 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.35 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 2.6.35 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.61 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.2 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/e06f76c09e7cdb0851556ebf5939dd87550a387c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9932c9af185f8586e883d44ca562c12f4487c762 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/02e255869745348db39effc347cb8a9cc70f9725 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/88a840da879ef1c21d43b48a2c2740c514ee9828 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/356f75af018250bea158b051ad0754fb80bb4c86 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/30e55a93cdc6b24e9cef7b975376b925098aad2b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/65ffc1c6a6f6393957e99014cdf72e35d2344e8b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/240e3adb33dcc181577129502ba54143130bda02 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.