CVE-2026-90197

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

Published Sep 17, 2026 CVSS n/a EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel haptic driver incorrectly initializes values only for four recognized usages while writing data for every usage. An unhandled usage can capture an uninitialized value or residue from a previous usage, and hid_output_report() serializes that value into the effect’s report buffer. This behavior allows an attacker to read kernel memory content through the HID haptic report, potentially exposing sensitive information.

Affected Systems

All Linux kernel systems that have not been updated to include the fix in the haptic driver, regardless of kernel version. No specific vendor or version list is provided, but the issue appears in any kernel containing the vulnerable haptic module.

Risk and Exploitability

The EPSS score of less than 1% indicates a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The flaw requires local access to a HID haptic device and the ability to trigger a haptic effect. While it does not grant immediate privilege escalation, it can expose kernel memory to local users, which may aid in further attacks. The risk is therefore moderate, mainly affecting confidentiality rather than integrity or availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the fix for the haptic driver (see the referenced commit in the advisory).
  • If an immediate upgrade is not possible, rebuild or patch the kernel manually using the provided commit (e.g., 3efb7f6...).
  • As a temporary measure, restrict access to HID haptic devices or disable the haptic driver module to prevent the uninitialized value from being written to a report.

Generated by OpenCVE AI on September 19, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-788
Type Values Removed Values Added
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.
Title HID: haptic: don't write an uninitialized value to unhandled usages
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-788

    Access of Memory Location After End of Buffer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:59 AM
Reserved
Sep 11, 2026, 7:38 PM
Status
Received
Published
Sep 17, 2026, 5:17 PM
Modified
Oct 19, 2026, 9:19 AM