In the Linux kernel, the following vulnerability has been resolved: HID: sensor-hub: Fix out-of-bounds write in sensor_hub_get_feature… (CVE-2026-89729)
A vulnerability in the Linux kernel's HID sensor-hub component allowed an out-of-bounds write due to improper handling of feature field sizes. The function sensor_hub_get_feature() incorrectly copies more data than the caller's buffer can hold when a malicious HID descriptor advertises a large feature field size. This issue has been fixed by rejecting feature fields requiring more than one slot per value and clamping copy operations to the caller's buffer size.
AI Analysis
Technical Summary
The Linux kernel's HID sensor-hub had an out-of-bounds write vulnerability in the sensor_hub_get_feature() function. Although the function clamps its return value to the caller's buffer size, the copy loop copies field->report_size / 8 bytes for each report value regardless, leading to potential buffer overflow if a malicious HID descriptor advertises a large feature field size while the caller provides a smaller buffer. The fix involves rejecting feature fields that require more than one slot per value, guarding total byte count calculations, and clamping each per-value copy to the remaining caller buffer size.
Potential Impact
This vulnerability could allow a malicious HID device to cause an out-of-bounds write in kernel memory, potentially leading to system instability or escalation of privileges. However, no known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by validating feature field sizes and clamping copy operations. Users should apply the official kernel updates containing this fix when available. Patch status is not explicitly stated in the provided data; check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: HID: sensor-hub: Fix out-of-bounds write in sensor_hub_get_feature… (CVE-2026-89729)
Description
A vulnerability in the Linux kernel's HID sensor-hub component allowed an out-of-bounds write due to improper handling of feature field sizes. The function sensor_hub_get_feature() incorrectly copies more data than the caller's buffer can hold when a malicious HID descriptor advertises a large feature field size. This issue has been fixed by rejecting feature fields requiring more than one slot per value and clamping copy operations to the caller's buffer size.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's HID sensor-hub had an out-of-bounds write vulnerability in the sensor_hub_get_feature() function. Although the function clamps its return value to the caller's buffer size, the copy loop copies field->report_size / 8 bytes for each report value regardless, leading to potential buffer overflow if a malicious HID descriptor advertises a large feature field size while the caller provides a smaller buffer. The fix involves rejecting feature fields that require more than one slot per value, guarding total byte count calculations, and clamping each per-value copy to the remaining caller buffer size.
Potential Impact
This vulnerability could allow a malicious HID device to cause an out-of-bounds write in kernel memory, potentially leading to system instability or escalation of privileges. However, no known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by validating feature field sizes and clamping copy operations. Users should apply the official kernel updates containing this fix when available. Patch status is not explicitly stated in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2hjf-83c6-w88p
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89729"]
Threat ID: 6aa49ffb55bf5e2cf5a865da
Added to database: 09/12/2026, 00:42:35 UTC
Last enriched: 09/12/2026, 00:50:58 UTC
Last updated: 09/12/2026, 00:50:58 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.