# CVE-2026-90197: HID: haptic: don't write an uninitialized value to unhandled usages

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-02)
- Published: 2026-09-17T16:07:16.281Z
- Modified: 2026-10-19T09:19:09.703Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: haptic: don't write an uninitialized value to unhandled usages

fill_effect_buf() initializes value only for the four haptic usages
handled by its switch, but writes it to field->value[] for every usage.
An unhandled usage can therefore receive either an uninitialized value
or one left over from the previous usage. hid_output_report() then
serializes that value into the effect's report buffer.

Skip unhandled usages instead. This also matches switch_mode(), which
only updates fields it recognizes.

Found with Clang's -Wconditional-uninitialized.

(As written by CVE List.)

## Affected

- Linux Linux: from 344ff358495706abc7aac1e0c59a5bb16b350307 before 324cc98b71f0d3dee7367ef3c669fd80747e71b6; from 344ff358495706abc7aac1e0c59a5bb16b350307 before 2d92c250815cba6bffd64f0125fac7afe4fa6ce0; from 344ff358495706abc7aac1e0c59a5bb16b350307 before 3efb7f6491526f5012f9ec94769e9ed832feeef8; 6.18 (not affected: before 6.18; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/324cc98b71f0d3dee7367ef3c669fd80747e71b6>
- <https://git.kernel.org/stable/c/2d92c250815cba6bffd64f0125fac7afe4fa6ce0>
- <https://git.kernel.org/stable/c/3efb7f6491526f5012f9ec94769e9ed832feeef8>

## Sources

- CVE List: [CVE-2026-90197](https://www.cve.org/CVERecord?id=CVE-2026-90197), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90197](https://nvd.nist.gov/vuln/detail/CVE-2026-90197), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90197 · Whole record: https://cve.day/CVE-2026-90197.json · Rebuilt by cve.day 2026-11-25T22:59:39.338Z
