# CVE-2026-46022: misc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt()

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-05-27T12:56:26.791Z
- Modified: 2026-10-15T02:19:38.767Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

misc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt()

ibmasm_handle_mouse_interrupt() performs an out-of-bounds MMIO read
when the queue reader or writer index from hardware exceeds
REMOTE_QUEUE_SIZE (60).

A compromised service processor can trigger this by writing an
out-of-range value to the reader or writer MMIO register before
asserting an interrupt. Since writer is re-read from hardware on
every loop iteration, it can also be set to an out-of-range value
after the loop has already started.

The root cause is that get_queue_reader() and get_queue_writer() return
raw readl() values that are passed directly into get_queue_entry(),
which computes:

  queue_begin + reader * sizeof(struct remote_input)

with no bounds check. This unchecked MMIO address is then passed to
memcpy_fromio(), reading 8 bytes from unintended device registers.
For sufficiently large values the address falls outside the PCI BAR
mapping entirely, triggering a machine check exception.

Fix by checking both indices against REMOTE_QUEUE_SIZE at the top of
the loop body, before any call to get_queue_entry(). On an out-of-range
value, reset the reader register to 0 via set_queue_reader() before
breaking, so that normal queue operation can resume if the corrupted
hardware state is transient.

(As written by CVE List.)

## Affected

- Linux Linux: from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before 6f6ecc9153df176e956d0664b56f93080b0a45f0; from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before bac8643486f854dd53af9b23aea7dbbd9b7c1865; from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before f7e5b4eefd7be3e09f8bd5fee63ed478fd7446ab; from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before fc7e9a74e32299d7e93e178ca482a0b59ef1595b; from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before 07c4f18b303106e6b24492c12b95d48a4b985841; from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before 22a16d3eafee92a165c756081587c95850127107; from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before 1ca75f6b74ec7f685464e5745ecfcf3a76d284e9; from 278d72ae8803ffcd16070c95fe1d53f4466dc741 before 4b6e6ead556734bdc14024c5f837132b1e7a4b84; 2.6.13 (not affected: before 2.6.13; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.86 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.13 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/6f6ecc9153df176e956d0664b56f93080b0a45f0> (patch)
- <https://git.kernel.org/stable/c/bac8643486f854dd53af9b23aea7dbbd9b7c1865> (patch)
- <https://git.kernel.org/stable/c/f7e5b4eefd7be3e09f8bd5fee63ed478fd7446ab> (patch)
- <https://git.kernel.org/stable/c/fc7e9a74e32299d7e93e178ca482a0b59ef1595b> (patch)
- <https://git.kernel.org/stable/c/07c4f18b303106e6b24492c12b95d48a4b985841> (patch)
- <https://git.kernel.org/stable/c/22a16d3eafee92a165c756081587c95850127107> (patch)
- <https://git.kernel.org/stable/c/1ca75f6b74ec7f685464e5745ecfcf3a76d284e9> (patch)
- <https://git.kernel.org/stable/c/4b6e6ead556734bdc14024c5f837132b1e7a4b84> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-46022](https://www.cve.org/CVERecord?id=CVE-2026-46022), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-46022](https://nvd.nist.gov/vuln/detail/CVE-2026-46022), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-46022 · Whole record: https://cve.day/CVE-2026-46022.json · Rebuilt by cve.day 2026-11-25T22:59:22.549Z
