CVE-2026-99330
HID: mcp2200: validate READ_ALL response length
- CVSS
- —
- EPSS
- 0.21% (p13)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-12-01
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: HID: mcp2200: validate READ_ALL response length The HID core invokes raw_event callbacks before validating the report length. mcp2200_raw_event() casts a READ_ALL response to struct mcp_read_all_resp and reads fields through offset ten without checking that the response contains the structure. A one-byte READ_ALL response reproduced the issue under KASAN: BUG: KASAN: slab-out-of-bounds in mcp2200_raw_event+0x24b/0x3a0 Read of size 1 by task hidtrigger/89 Call Trace: mcp2200_raw_event+0x24b/0x3a0 kasan_report+0x139/0x170 Reject an incomplete READ_ALL response with a protocol error before reading its fields. The common completion path then wakes the command waiter with the error instead of leaving it to time out. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus.
Fixed in
0210fd34232c8450fcaa5a68ff4360f275c755f2 · 26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605 · 47f50fbfd664ceede78f502950eb5638b537ed74 · 591352a66dab5d55ae30721500e82472268ea99b · 6.12.117 · 6.18.61 · 6.6.163 · 6.7 · 6ee339f14d81da30909075f2dc88926dd317591a · 7.3.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| Linux | Kernel | >=6.6.57, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.6.57, <6.7 | 6.7 |
| Linux | Kernel | >=6.8.0, <6.12.117 | 6.12.117 |
| vendor | Linux | >=6.6.57, <6.6.163 | 6.6.163 |
| vendor | Linux | >=6.6.57, <6.7 | 6.7 |
| vendor | Linux | >=740329d7120f8608ead64b0f3417c02ca1d6b32f, <0210fd34232c8450fcaa5a68ff4360f275c755f2 | 0210fd34232c8450fcaa5a68ff4360f275c755f2 |
| vendor | Linux | >=740329d7120f8608ead64b0f3417c02ca1d6b32f, <26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605 | 26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605 |
| vendor | Linux | >=740329d7120f8608ead64b0f3417c02ca1d6b32f, <47f50fbfd664ceede78f502950eb5638b537ed74 | 47f50fbfd664ceede78f502950eb5638b537ed74 |
| vendor | Linux | >=740329d7120f8608ead64b0f3417c02ca1d6b32f, <6ee339f14d81da30909075f2dc88926dd317591a | 6ee339f14d81da30909075f2dc88926dd317591a |
| vendor | Linux | >=b289b83409a6edd262840a6bac4d990e1ef87971, <591352a66dab5d55ae30721500e82472268ea99b | 591352a66dab5d55ae30721500e82472268ea99b |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/0210fd34232c8450fcaa5a68ff4360f275c755f2 other
- https://git.kernel.org/stable/c/47f50fbfd664ceede78f502950eb5638b537ed74 other
- https://git.kernel.org/stable/c/6ee339f14d81da30909075f2dc88926dd317591a other
- https://git.kernel.org/stable/c/26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99330.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99330 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://git.kernel.org/stable/c/591352a66dab5d55ae30721500e82472268ea99b other