misc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt()
Summary
| CVE | CVE-2026-46022 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-27 14:17:20 UTC |
| Updated | 2026-06-01 17:17:18 UTC |
| 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. |
Risk And Classification
EPSS: 0.000320000 probability, percentile 0.097350000 (date 2026-06-04)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 6f6ecc9153df176e956d0664b56f93080b0a45f0 git | Not specified |
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 bac8643486f854dd53af9b23aea7dbbd9b7c1865 git | Not specified |
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 f7e5b4eefd7be3e09f8bd5fee63ed478fd7446ab git | Not specified |
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 fc7e9a74e32299d7e93e178ca482a0b59ef1595b git | Not specified |
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 07c4f18b303106e6b24492c12b95d48a4b985841 git | Not specified |
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 22a16d3eafee92a165c756081587c95850127107 git | Not specified |
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 1ca75f6b74ec7f685464e5745ecfcf3a76d284e9 git | Not specified |
| CNA | Linux | Linux | affected 278d72ae8803ffcd16070c95fe1d53f4466dc741 4b6e6ead556734bdc14024c5f837132b1e7a4b84 git | Not specified |
| CNA | Linux | Linux | affected 2.6.13 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.13 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.140 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.86 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.27 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.4 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/07c4f18b303106e6b24492c12b95d48a4b985841 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/fc7e9a74e32299d7e93e178ca482a0b59ef1595b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/bac8643486f854dd53af9b23aea7dbbd9b7c1865 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/22a16d3eafee92a165c756081587c95850127107 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6f6ecc9153df176e956d0664b56f93080b0a45f0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f7e5b4eefd7be3e09f8bd5fee63ed478fd7446ab | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1ca75f6b74ec7f685464e5745ecfcf3a76d284e9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4b6e6ead556734bdc14024c5f837132b1e7a4b84 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.