{"id":"CVE-2026-99331","summary":"HID: cp2112: validate response report lengths","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: cp2112: validate response report lengths\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  cp2112_raw_event() reads every field of a transfer status response\nwithout checking size.  For a data response, it reads the length at offset\ntwo and copies that many bytes from offset three, again without ensuring\nthat the input report contains them.\n\nRequire a complete transfer status structure.  For data responses, first\nrequire the header and then ensure the clamped payload length fits in the\nreceived report before copying it.\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-11-19T17:00:54.518425568Z","published":"2026-11-19T14:21:38.080Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99331.json","cna_assigner":"Linux"},"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/773307dd4c3e8c27eb31650af2df2d91cba22de8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e178cdd6ed0f4ac20afc9220eceae3a89e6719af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99331.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99331"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e932d817866770d456815c9a84b7ed94f0589d80"},{"fixed":"e178cdd6ed0f4ac20afc9220eceae3a89e6719af"},{"fixed":"94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297"},{"fixed":"773307dd4c3e8c27eb31650af2df2d91cba22de8"},{"fixed":"fc54e71a063c0dcc4bceba6d0f71805a9b84082d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99331.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.15.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-99331.json"}}],"schema_version":"1.9.2"}