VDB

CVE-2026-46022

CVE-2026-46022 PUBLISHED

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

Reported by linux · Published May 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.0.4, 6.18.27, 6.12.86, 6.6.140, 6.1.175, 5.15.209, 5.10.258
LinuxLinux6f6ecc9153df176e956d0664b56f93080b0a45f0, 4b6e6ead556734bdc14024c5f837132b1e7a4b84, 22a16d3eafee92a165c756081587c95850127107, 1ca75f6b74ec7f685464e5745ecfcf3a76d284e9, 07c4f18b303106e6b24492c12b95d48a4b985841

Affected products

VendorProductVersions
LinuxLinux278d72ae8803ffcd16070c95fe1d53f4466dc741, 278d72ae8803ffcd16070c95fe1d53f4466dc741, 278d72ae8803ffcd16070c95fe1d53f4466dc741
LinuxLinux2.6.13, 0, 5.10.258
LinuxLinux7.1, 6.12.86, 6.18.27
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
linuxlinux_kernel2.6.13, 2.6.13, 2.6.13

Timeline

  • May 27, 2026 CVE Published
  • May 27, 2026 CVE Updated
  • May 28, 2026 EPSS Score (16 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46022
vulnetix vdb fixes CVE-2026-46022

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46022/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›