{"id":"CVE-2026-90197","summary":"HID: haptic: don't write an uninitialized value to unhandled usages","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: haptic: don't write an uninitialized value to unhandled usages\n\nfill_effect_buf() initializes value only for the four haptic usages\nhandled by its switch, but writes it to field-\u003evalue[] for every usage.\nAn unhandled usage can therefore receive either an uninitialized value\nor one left over from the previous usage. hid_output_report() then\nserializes that value into the effect's report buffer.\n\nSkip unhandled usages instead. This also matches switch_mode(), which\nonly updates fields it recognizes.\n\nFound with Clang's -Wconditional-uninitialized.","modified":"2026-09-19T03:47:25.441141420Z","published":"2026-09-17T16:07:16.281Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90197.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2d92c250815cba6bffd64f0125fac7afe4fa6ce0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/324cc98b71f0d3dee7367ef3c669fd80747e71b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3efb7f6491526f5012f9ec94769e9ed832feeef8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90197.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90197"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"344ff358495706abc7aac1e0c59a5bb16b350307"},{"fixed":"324cc98b71f0d3dee7367ef3c669fd80747e71b6"},{"fixed":"2d92c250815cba6bffd64f0125fac7afe4fa6ce0"},{"fixed":"3efb7f6491526f5012f9ec94769e9ed832feeef8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90197.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90197.json"}}],"schema_version":"1.9.0"}