{"id":"CVE-2026-99329","summary":"HID: mcp2221: always initialize and cancel init_work","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: always initialize and cancel init_work\n\nThe writable gpio_mode_enforce parameter can change between probe and\nremove.\n\nIf it changes from false to true after probe, remove skips cancellation\nof init_work. Pending or running work can then access devm-managed\ndriver state after teardown. Changing it from true to false can make\nremove cancel an uninitialized delayed work item.\n\nInitialize init_work whenever IIO is reachable and cancel it\nunconditionally on remove. Keep the parameter check only for scheduling\nthe initialization.\n\nThe false-to-true cancellation gap was previously reported by Sashiko.\nWe also encountered this issue during our static-analysis research.","modified":"2026-11-19T17:00:55.728061177Z","published":"2026-11-19T14:21:36.220Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99329.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/19711bd64d60378137353ac3e6b774bd3a660f89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a006ff898b459e0bd10375d7fbe0ea7f7a132b9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99329.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99329"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"200e6c6e94fa786e36e4fe33eebf16b822181b99"},{"fixed":"19711bd64d60378137353ac3e6b774bd3a660f89"},{"fixed":"6a006ff898b459e0bd10375d7fbe0ea7f7a132b9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99329.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99329.json"}}],"schema_version":"1.9.2"}