# CVE-2026-90000: HID: rmi: fix OOB access with undersized RMI reports

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **Published:** 2026-09-16T10:33:11.380Z
- **Modified:** 2026-10-19T09:18:47.477Z

## Who should check

- Anyone running Linux \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< fba600d824597b2a894ecae72fc422c2b8c08f8c; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 056ef8e6700b8b6ca11453a9d4bfb1b868a5cd88; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 183da103022ec11af55ba9951d2cc171fb6c836b; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< a8be8bbf0952bb7ff46636ead1896769c381fe55; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< ab2958e0c94edd63315dd14dc548874cc63a4043; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< f4cb9c4556dcb593e66dbb855179dbd351dbb053; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 48934c2927414a37a7fadeb6091113177c0b2038; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 4956993bb3befdf791d71a4952d8d13bcfd44c7b
- Anyone running Linux 3.16

## Description

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

HID: rmi: fix OOB access with undersized RMI reports

The hid-rmi driver sizes its writeReport/readReport buffer purely from
the report descriptor supplied by the device, with no minimum bound:

	data-\>input\_report\_size  = hid\_report\_len(input\_report);
	data-\>output\_report\_size = hid\_report\_len(output\_report);
	alloc\_size = data-\>output\_report\_size + data-\>input\_report\_size;
	data-\>writeReport = devm\_kzalloc(&hdev-\>dev, alloc\_size, GFP\_KERNEL);
	data-\>readReport = data-\>writeReport + data-\>output\_report\_size;

but then reads and writes fixed offsets into it.  A device declaring a
1-byte output and a 1-byte input report makes hid\_report\_len() return 2
for each, so alloc\_size is 4, while rmi\_set\_page() -- reached
unconditionally at probe time through rmi\_input\_configured() -- stores
writeReport\[4\] and rmi\_hid\_read\_block() stores writeReport\[0..5\].  Since
readReport lives at writeReport + output\_report\_size, those stores also
corrupt the window the next reply is parsed out of.

The read path is worse: the copy length comes from readReport\[1\], which
the device fills in and can be up to 255, and the copy starts at
&readReport\[2\] with no regard for input\_report\_size, so it runs past the
end of the allocation into adjacent slab objects.  This does not even
need a lying device -- rmi\_f01\_probe() issues a fixed 21-byte register
read, so any device declaring an input report smaller than 23 bytes
reads out of bounds even when it answers truthfully.  Those bytes become
the register values the RMI core acts on: rmi\_f01\_probe() prints them to
the kernel log as the product id and exports them through the mode 0444
sysfs attribute of the same name, and rmi\_driver\_set\_irq\_bits() sends
them back to the device as the interrupt mask, so an undersized report
descriptor leaks heap contents both to unprivileged userspace and to the
device itself.

The write path has no bound either: rmi\_hid\_write\_block() copies an
unbounded len to &writeReport\[4\], and the largest caller a device can
drive at probe time is rmi\_driver\_set\_irq\_bits(), whose length is
derived from the interrupt source counts the device declares in its Page
Description Table.

Finally, the read loop cannot terminate on a zero-length reply: such a
reply copies nothing and advances neither bytes\_read nor bytes\_needed,
and because a reply did arrive the one second wait\_event\_timeout() does
not fire either, so a device answering 0 forever keeps the loop running
inside the probe worker with page\_mutex held.  khungtaskd does not
notice, because every reply wakes the task.

Reject reports too small for what the driver builds -- 6 output bytes
for the write reports and 3 input bytes for the read handshake -- at
probe time, clamp the write and the read copy to the report sizes the
device declared, and treat a zero-length reply as an error.  A device
refused this way is started as an ordinary HID device, like one that
does not carry the RMI report ids at all.

RMI\_DEVICE must not be left set in device\_flags on that path, because
rmi\_input\_configured() would then run the RMI setup and reach
rmi\_set\_page(), which writes the writeReport buffer the refusal just
skipped allocating.  The bit can arrive set: rmi\_probe() copies
id-\>driver\_data into device\_flags before the report checks, and a bind
through the new\_id sysfs attribute can supply driver\_data with
RMI\_DEVICE (BIT(0)) set.  Strip the bit where driver\_data is copied, so
RMI\_DEVICE keeps meaning exactly "this probe validated the reports"; the
three jumps to start that predate this patch are covered as well.

The error path also clears RMI\_READ\_DATA\_PENDING on its way out, because
that flag is what the wait at the top of the loop tests: leaving it set
would make every later wait\_event\_timeout() return immediately on the
stale reply and kill the read path for the rest of the device's life.

Clamping does not regress working hardware: the read loop already
handles
---truncated---

## Affected and fixed versions

- Linux: \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< fba600d824597b2a894ecae72fc422c2b8c08f8c; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 056ef8e6700b8b6ca11453a9d4bfb1b868a5cd88; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 183da103022ec11af55ba9951d2cc171fb6c836b; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< a8be8bbf0952bb7ff46636ead1896769c381fe55; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< ab2958e0c94edd63315dd14dc548874cc63a4043; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< f4cb9c4556dcb593e66dbb855179dbd351dbb053; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 48934c2927414a37a7fadeb6091113177c0b2038; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 4956993bb3befdf791d71a4952d8d13bcfd44c7b (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

- Upgrade Linux to 4956993bb3befdf791d71a4952d8d13bcfd44c7b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90000. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90000.md
Affected: Linux >= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, < fba600d824597b2a894ecae72fc422c2b8c08f8c; >= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, < 056ef8e6700b8b6ca11453a9d4bfb1b868a5cd88; >= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, < 183da103022ec11af55ba9951d2cc171fb6c836b; >= 9fb6bf02e3ad04c20edb8e4…
Fixed in: Linux 056ef8e6700b8b6ca11453a9d4bfb1b868a5cd88, Linux 183da103022ec11af55ba9951d2cc171fb6c836b, Linux 48934c2927414a37a7fadeb6091113177c0b2038, Linux 4956993bb3befdf791d71a4952d8d13bcfd44c7b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90000 being exploited?

There is no confirmed exploitation: CVE-2026-90000 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90000?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-90000?

Linux \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< fba600d824597b2a894ecae72fc422c2b8c08f8c; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 056ef8e6700b8b6ca11453a9d4bfb1b868a5cd88; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 183da103022ec11af55ba9951d2cc171fb6c836b; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< a8be8bbf0952bb7ff46636ead1896769c381fe55; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< ab2958e0c94edd63315dd14dc548874cc63a4043; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< f4cb9c4556dcb593e66dbb855179dbd351dbb053; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 48934c2927414a37a7fadeb6091113177c0b2038; \>= 9fb6bf02e3ad04c20edb8e46536ce3eeda32c736, \< 4956993bb3befdf791d71a4952d8d13bcfd44c7b; Linux 3.16.

### Is there a fix for CVE-2026-90000?

Yes. Fixed in Linux 056ef8e6700b8b6ca11453a9d4bfb1b868a5cd88, Linux 183da103022ec11af55ba9951d2cc171fb6c836b, Linux 48934c2927414a37a7fadeb6091113177c0b2038, Linux 4956993bb3befdf791d71a4952d8d13bcfd44c7b. Upgrade Linux to 4956993bb3befdf791d71a4952d8d13bcfd44c7b or later.

### How do I check if I'm affected by CVE-2026-90000?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/fba600d824597b2a894ecae72fc422c2b8c08f8c>
- other: <https://git.kernel.org/stable/c/056ef8e6700b8b6ca11453a9d4bfb1b868a5cd88>
- other: <https://git.kernel.org/stable/c/183da103022ec11af55ba9951d2cc171fb6c836b>
- other: <https://git.kernel.org/stable/c/a8be8bbf0952bb7ff46636ead1896769c381fe55>
- other: <https://git.kernel.org/stable/c/ab2958e0c94edd63315dd14dc548874cc63a4043>
- other: <https://git.kernel.org/stable/c/f4cb9c4556dcb593e66dbb855179dbd351dbb053>
- other: <https://git.kernel.org/stable/c/48934c2927414a37a7fadeb6091113177c0b2038>
- other: <https://git.kernel.org/stable/c/4956993bb3befdf791d71a4952d8d13bcfd44c7b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90000>

HTML: <https://flawdb.com/CVE-2026-90000> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90000>
