CVE-2026-142789

Source
https://cve.org/CVERecord?id=CVE-2026-142789
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142789.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142789
Published
2026-12-03T03:11:24Z
Modified
2026-12-03T05:00:31Z
Summary
HID: zydacron: validate key report length
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142789.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d0742abaa1c396a26bb3d3ce2732988cd3faa020
Fixed
02e255869745348db39effc347cb8a9cc70f9725
Fixed
240e3adb33dcc181577129502ba54143130bda02
Fixed
88a840da879ef1c21d43b48a2c2740c514ee9828
Fixed
65ffc1c6a6f6393957e99014cdf72e35d2344e8b
Fixed
356f75af018250bea158b051ad0754fb80bb4c86
Show 3 more events Show fewer events
Fixed
30e55a93cdc6b24e9cef7b975376b925098aad2b
Fixed
e06f76c09e7cdb0851556ebf5939dd87550a387c
Fixed
9932c9af185f8586e883d44ca562c12f4487c762

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142789.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.35
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142789.json"