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

Published Sep 11, 2026
·
Updated

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

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

sensorhubgetfeature() clamps its return value to the caller's buffer size, but the copy loop still copies field->reportsize / 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
Description

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the Linux kernel HID sensor-hub path are exposed when they process a malicious HID descriptor containing an oversized feature field. The vulnerable path can be reached when an IIO caller provides a small buffer, including a single s32 stack buffer.

2

What does an attacker need to exploit it?

An attacker needs to cause the system to process a malicious HID descriptor that advertises a large feature field size. The descriptor must be handled through sensor_hub_get_feature() in a context where the caller buffer is smaller than the reported field data.

3

What mitigations are available if an update cannot be applied immediately?

The provided information does not identify a configuration workaround. Reducing exposure to untrusted or malicious HID devices and descriptors would limit the stated attack condition.

4

How is the issue addressed by the fix?

The fix rejects feature fields requiring more than one 32-bit slot per value, guards the total byte-count calculation, and limits each copied value to the caller buffer space remaining.

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