{"id":"CVE-2026-99330","state":"PUBLISHED","title":"HID: mcp2200: validate READ_ALL response length","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2200: validate READ_ALL response length\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  mcp2200_raw_event() casts a READ_ALL response to struct\nmcp_read_all_resp and reads fields through offset ten without checking that\nthe response contains the structure.\n\nA one-byte READ_ALL response reproduced the issue under KASAN:\n\n  BUG: KASAN: slab-out-of-bounds in mcp2200_raw_event+0x24b/0x3a0\n  Read of size 1 by task hidtrigger/89\n  Call Trace:\n   mcp2200_raw_event+0x24b/0x3a0\n   kasan_report+0x139/0x170\n\nReject an incomplete READ_ALL response with a protocol error before reading\nits fields.  The common completion path then wakes the command waiter with\nthe error instead of leaving it to time out.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus.","publishedAt":"2026-11-19T14:21:37.132Z","updatedAt":"2026-11-19T14:33:53.091Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"0210fd34232c8450fcaa5a68ff4360f275c755f2","versionType":"git"},{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"47f50fbfd664ceede78f502950eb5638b537ed74","versionType":"git"},{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"6ee339f14d81da30909075f2dc88926dd317591a","versionType":"git"},{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605","versionType":"git"},{"version":"b289b83409a6edd262840a6bac4d990e1ef87971","status":"affected","versionType":"git"},{"version":"6.6.57","status":"affected","lessThan":"6.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-mcp2200.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-mcp2200.c"]}],"references":["https://git.kernel.org/stable/c/0210fd34232c8450fcaa5a68ff4360f275c755f2","https://git.kernel.org/stable/c/47f50fbfd664ceede78f502950eb5638b537ed74","https://git.kernel.org/stable/c/6ee339f14d81da30909075f2dc88926dd317591a","https://git.kernel.org/stable/c/26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605"],"weaknesses":[],"ingestedAt":"2026-11-19T14:38:06.214Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99330.json","commit":"665e7bc62c2b8351d76e7013884573dd8b3fd168","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99330","state":"PUBLISHED","datePublished":"2026-11-19T14:21:37.132Z","dateUpdated":"2026-11-19T14:33:53.091Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.408Z"},"containers":{"cna":{"title":"HID: mcp2200: validate READ_ALL response length","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2200: validate READ_ALL response length\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  mcp2200_raw_event() casts a READ_ALL response to struct\nmcp_read_all_resp and reads fields through offset ten without checking that\nthe response contains the structure.\n\nA one-byte READ_ALL response reproduced the issue under KASAN:\n\n  BUG: KASAN: slab-out-of-bounds in mcp2200_raw_event+0x24b/0x3a0\n  Read of size 1 by task hidtrigger/89\n  Call Trace:\n   mcp2200_raw_event+0x24b/0x3a0\n   kasan_report+0x139/0x170\n\nReject an incomplete READ_ALL response with a protocol error before reading\nits fields.  The common completion path then wakes the command waiter with\nthe error instead of leaving it to time out.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"0210fd34232c8450fcaa5a68ff4360f275c755f2","versionType":"git"},{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"47f50fbfd664ceede78f502950eb5638b537ed74","versionType":"git"},{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"6ee339f14d81da30909075f2dc88926dd317591a","versionType":"git"},{"version":"740329d7120f8608ead64b0f3417c02ca1d6b32f","status":"affected","lessThan":"26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605","versionType":"git"},{"version":"b289b83409a6edd262840a6bac4d990e1ef87971","status":"affected","versionType":"git"},{"version":"6.6.57","status":"affected","lessThan":"6.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-mcp2200.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-mcp2200.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0210fd34232c8450fcaa5a68ff4360f275c755f2"},{"url":"https://git.kernel.org/stable/c/47f50fbfd664ceede78f502950eb5638b537ed74"},{"url":"https://git.kernel.org/stable/c/6ee339f14d81da30909075f2dc88926dd317591a"},{"url":"https://git.kernel.org/stable/c/26ce0e6bf0b27fc6a2f490f38555dfd0a27c9605"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:33:53.091Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.57"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}