{"id":"CVE-2026-139810","summary":"HID: mcp2221: validate response report length","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: validate response report length\n\nMCP2221 responses are 64-byte reports, but mcp2221_raw_event() currently\naccepts any report of at least four bytes.  Several response handlers read\nfar beyond that minimum.  In particular, the I2C status response reads\noffset 20 and copies ADC samples starting at offset 50.  Other GPIO, SRAM,\nand flash response handlers also access fixed offsets beyond byte three.\n\nThe HID core invokes raw_event callbacks before validating the report\nlength, so a truncated response can cause an out-of-bounds read.  Require a\ncomplete protocol report before dispatching any response handler.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus.","modified":"2026-12-03T05:00:29.911657333Z","published":"2026-12-03T03:11:22.794Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139810.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ae40774d386b7a51e4799200106429a7e14e8ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/394a7a04c0915f86cde7c19de47f65ec3d3b6e54"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54a9b3a72c669c841e4e6499b487e9ceec607f1b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b281fbf70b46d4cdb088a84e332c611aead8577"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b090515bc812140d2c1316e92d9dc7de201d8c13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba32a45cfb63563a10d4bc6309258cdbc0d57914"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be58f1ccf23a2692c06386be8f0dbb51f454518e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee55408b95bdc28f1bd1eb4591185838037a1f98"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139810.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139810"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb"},{"fixed":"ba32a45cfb63563a10d4bc6309258cdbc0d57914"},{"fixed":"be58f1ccf23a2692c06386be8f0dbb51f454518e"},{"fixed":"7b281fbf70b46d4cdb088a84e332c611aead8577"},{"fixed":"b090515bc812140d2c1316e92d9dc7de201d8c13"},{"fixed":"394a7a04c0915f86cde7c19de47f65ec3d3b6e54"},{"fixed":"ee55408b95bdc28f1bd1eb4591185838037a1f98"},{"fixed":"54a9b3a72c669c841e4e6499b487e9ceec607f1b"},{"fixed":"1ae40774d386b7a51e4799200106429a7e14e8ec"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139810.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.0"},{"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-139810.json"}}],"schema_version":"1.9.2"}