CVE-2026-142789
HID: zydacron: validate key report length
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.
INFO
Published Date :
Dec. 3, 2026, 4:18 a.m.
Last Modified :
Dec. 3, 2026, 4:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel commit 47669bec44fe.
- Ensure HID reports have valid lengths.
- Validate report ID and key code before processing.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-142789.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-142789 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-142789
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-142789 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-142789 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142789.json">CVE-2026-142789</a> Added Reference https://git.kernel.org/stable/c/02e255869745348db39effc347cb8a9cc70f9725 Added Reference https://git.kernel.org/stable/c/240e3adb33dcc181577129502ba54143130bda02 Added Reference https://git.kernel.org/stable/c/30e55a93cdc6b24e9cef7b975376b925098aad2b Added Reference https://git.kernel.org/stable/c/356f75af018250bea158b051ad0754fb80bb4c86 Added Reference https://git.kernel.org/stable/c/65ffc1c6a6f6393957e99014cdf72e35d2344e8b Added Reference https://git.kernel.org/stable/c/88a840da879ef1c21d43b48a2c2740c514ee9828 Added Reference https://git.kernel.org/stable/c/9932c9af185f8586e883d44ca562c12f4487c762 Added Reference https://git.kernel.org/stable/c/e06f76c09e7cdb0851556ebf5939dd87550a387c