---
id: CVE-2026-89729
title: 'HID: sensor-hub: Fix out-of-bounds write in sensor_hub_get_feature'
summary: |-
  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 stil…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-787
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    1c0463f0f028801a933f090cd2695f132635b374
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    4145aa149a32e4b35d5d47e380d0c6c438b4e6fe
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    8bf8aaf2f74de64f801eb30bc38927dba1f8e40a
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    c5c60260a07e627084e792ea959ab468ccfa4d50
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    fa95b14198b6c8ea721b4784f466d3c2c2bac83a
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    9f43499ce6458a572b781f6bb46c464ab59fa825
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    bc3d72c44bff17688dc5f3e5132a53b51dae0f04
  - >-
    Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b <
    c92693f3ed099401d0383ef35ca1fe1e6ba033de
  - Linux 4.9
published: '2026-09-11'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T08:51:42.570Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-89729'
references:
  - url: 'https://git.kernel.org/stable/c/1c0463f0f028801a933f090cd2695f132635b374'
  - url: 'https://git.kernel.org/stable/c/4145aa149a32e4b35d5d47e380d0c6c438b4e6fe'
  - url: 'https://git.kernel.org/stable/c/8bf8aaf2f74de64f801eb30bc38927dba1f8e40a'
  - url: 'https://git.kernel.org/stable/c/c5c60260a07e627084e792ea959ab468ccfa4d50'
  - url: 'https://git.kernel.org/stable/c/fa95b14198b6c8ea721b4784f466d3c2c2bac83a'
  - url: 'https://git.kernel.org/stable/c/9f43499ce6458a572b781f6bb46c464ab59fa825'
  - url: 'https://git.kernel.org/stable/c/bc3d72c44bff17688dc5f3e5132a53b51dae0f04'
  - url: 'https://git.kernel.org/stable/c/c92693f3ed099401d0383ef35ca1fe1e6ba033de'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89729.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89729'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2532335'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89729'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89729'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89729.mbox
tags:
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00355
epssPercentile: 0.29079
scores:
  cna: 8.8
  vendor: 7
ingestedAt: '2026-09-14T15:23:07.449Z'
---

## Overview

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.

## Affected

- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < 1c0463f0f028801a933f090cd2695f132635b374`
- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < 4145aa149a32e4b35d5d47e380d0c6c438b4e6fe`
- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < 8bf8aaf2f74de64f801eb30bc38927dba1f8e40a`
- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < c5c60260a07e627084e792ea959ab468ccfa4d50`
- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < fa95b14198b6c8ea721b4784f466d3c2c2bac83a`
- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < 9f43499ce6458a572b781f6bb46c464ab59fa825`
- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < bc3d72c44bff17688dc5f3e5132a53b51dae0f04`
- `Linux >= 5459ada2b3cd69e6bf1b0c034feb810975d0072b < c92693f3ed099401d0383ef35ca1fe1e6ba033de`
- `Linux 4.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat OpenShift Container Platform 4 · updated 2026-09-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89729.json)
