CVE-2026-89729

HID: sensor-hub: Fix out-of-bounds write in sensor_hub_get_feature

State
Published
Severity
8.8 High
Published
Sep 11, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

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

HID: sensor-hub: Fix out-of-bounds write in sensor_hub_get_feature

sensor_hub_get_feature() clamps its return value to the caller's buffer size, but the copy loop still copies field->report_size / 8 bytes for each report value. A malicious HID descriptor can advertise a large feature field size while an IIO caller supplies a small stack buffer, such as a single s32, causing an out-of-bounds write.

HID core stores parsed report values in __s32 slots and clamps extracted values to 32 bits. Reject feature fields that require more than one slot per value, guard the total byte count calculation, and clamp each per-value copy to the remaining caller buffer.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before 1c0463f0f028801a933f090cd2695f132635b374Affected
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before 4145aa149a32e4b35d5d47e380d0c6c438b4e6feAffected
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before 8bf8aaf2f74de64f801eb30bc38927dba1f8e40aAffected
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before c5c60260a07e627084e792ea959ab468ccfa4d50Affected
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before fa95b14198b6c8ea721b4784f466d3c2c2bac83aAffected
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before 9f43499ce6458a572b781f6bb46c464ab59fa825Affected
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before bc3d72c44bff17688dc5f3e5132a53b51dae0f04Affected
  • 5459ada2b3cd69e6bf1b0c034feb810975d0072b to before c92693f3ed099401d0383ef35ca1fe1e6ba033deAffected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.109 through 6.12.*Not affected
  • 6.18.50 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.