{"id":"CVE-2026-46022","summary":"misc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt()\n\nibmasm_handle_mouse_interrupt() performs an out-of-bounds MMIO read\nwhen the queue reader or writer index from hardware exceeds\nREMOTE_QUEUE_SIZE (60).\n\nA compromised service processor can trigger this by writing an\nout-of-range value to the reader or writer MMIO register before\nasserting an interrupt. Since writer is re-read from hardware on\nevery loop iteration, it can also be set to an out-of-range value\nafter the loop has already started.\n\nThe root cause is that get_queue_reader() and get_queue_writer() return\nraw readl() values that are passed directly into get_queue_entry(),\nwhich computes:\n\n  queue_begin + reader * sizeof(struct remote_input)\n\nwith no bounds check. This unchecked MMIO address is then passed to\nmemcpy_fromio(), reading 8 bytes from unintended device registers.\nFor sufficiently large values the address falls outside the PCI BAR\nmapping entirely, triggering a machine check exception.\n\nFix by checking both indices against REMOTE_QUEUE_SIZE at the top of\nthe loop body, before any call to get_queue_entry(). On an out-of-range\nvalue, reset the reader register to 0 via set_queue_reader() before\nbreaking, so that normal queue operation can resume if the corrupted\nhardware state is transient.","modified":"2026-06-18T03:55:04.497130415Z","published":"2026-05-27T12:56:26.791Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46022.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/07c4f18b303106e6b24492c12b95d48a4b985841"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ca75f6b74ec7f685464e5745ecfcf3a76d284e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22a16d3eafee92a165c756081587c95850127107"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4b6e6ead556734bdc14024c5f837132b1e7a4b84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f6ecc9153df176e956d0664b56f93080b0a45f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bac8643486f854dd53af9b23aea7dbbd9b7c1865"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f7e5b4eefd7be3e09f8bd5fee63ed478fd7446ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc7e9a74e32299d7e93e178ca482a0b59ef1595b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46022.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46022"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}