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

Published Sep 17, 2026
·
Updated

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

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

filleffectbuf() 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. hidoutputreport() then serializes that value into the effect's report buffer.

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

Found with Clang's -Wconditional-uninitialized.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel HID haptic driver are exposed when it processes an effect report containing usages that the driver does not handle. The issue occurs during construction of the haptic effect report sent through hid_output_report().

2

What condition triggers the incorrect write?

The affected code initializes the value only for four haptic usages, but previously wrote a value for every usage in the field. An unhandled usage could therefore receive an uninitialized value or a value retained from processing an earlier usage.

3

What does the fix change?

The fix skips unhandled usages rather than writing a value for them. This aligns the behavior with switch_mode(), which updates only recognized fields.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203