CVE-2026-46022

Source
https://cve.org/CVERecord?id=CVE-2026-46022
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46022.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-46022
Downstream
Related
Published
2026-05-27T12:56:26.791Z
Modified
2026-06-18T03:55:04.497130415Z
Summary
misc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt()
Details

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

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

ibmasmhandlemouseinterrupt() performs an out-of-bounds MMIO read when the queue reader or writer index from hardware exceeds REMOTEQUEUE_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 getqueuereader() and getqueuewriter() return raw readl() values that are passed directly into getqueueentry(), which computes:

queuebegin + reader * sizeof(struct remoteinput)

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 REMOTEQUEUESIZE at the top of the loop body, before any call to getqueueentry(). On an out-of-range value, reset the reader register to 0 via setqueuereader() before breaking, so that normal queue operation can resume if the corrupted hardware state is transient.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46022.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
278d72ae8803ffcd16070c95fe1d53f4466dc741
Fixed
6f6ecc9153df176e956d0664b56f93080b0a45f0
Fixed
bac8643486f854dd53af9b23aea7dbbd9b7c1865
Fixed
f7e5b4eefd7be3e09f8bd5fee63ed478fd7446ab
Fixed
fc7e9a74e32299d7e93e178ca482a0b59ef1595b
Fixed
07c4f18b303106e6b24492c12b95d48a4b985841
Fixed
22a16d3eafee92a165c756081587c95850127107
Fixed
1ca75f6b74ec7f685464e5745ecfcf3a76d284e9
Fixed
4b6e6ead556734bdc14024c5f837132b1e7a4b84

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46022.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.13
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.140
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.86
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.27
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46022.json"