Missing length checks in Linux kernel cp2112 HID driver
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel from 3.15 contains a flaw in the cp2112 HID driver. Its raw event handler reads fields from a transfer status response before checking the report length, and for data responses it copies a payload length from the report without confirming that the received report holds those bytes. The HID core calls this handler before it validates report lengths.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: HID: cp2112: validate response report lengths The HID core invokes raw_event callbacks before validating the report length. cp2112_raw_event() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them. Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.15 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 3.15 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 Patch available CNA
Remediation
Upgrade the Linux kernel to fixed versions 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-19 Threatist record created from CVE-2026-99331
- 2026-11-19 Alias added: GHSA-v82h-r63c-27jx
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-23 Fix available: Linux/Linux@4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2, Linux/[email protected], Linux/[email protected] +5 · CNA
- 2026-11-23 4 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/dfea21d67426b93c60ec4575f27ee1e73c3a75d5
- https://git.kernel.org/stable/c/4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2
- https://git.kernel.org/stable/c/f1b4bed4163e7097cd2d59b2c21220d038b6b20f
- https://git.kernel.org/stable/c/50fc069cfcb25e9d36a8cccf9111d53bc47a309c
- https://git.kernel.org/stable/c/e178cdd6ed0f4ac20afc9220eceae3a89e6719af
- https://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297
- https://git.kernel.org/stable/c/773307dd4c3e8c27eb31650af2df2d91cba22de8
- https://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99331 · CVE Program
- CVE-2026-99331 · NVD
- FIRST EPSS
- GHSA-v82h-r63c-27jx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99331 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences