Guest-to-host compromise via stale MMIO write pointer
Published Apr 24, 2026 · Updated Apr 24, 2026
Use-after-free in Linux Kernel KVM x86 MMIO emulation allows guest OS users to compromise the host through crafted MMIO writes. A split write leaves an MMIO fragment pointing to an initiating task's on-stack value, and a later KVM_RUN dereferences that pointer after the stack can be freed or reused. The write must be eight bytes or smaller and cross two MMIO pages; successful triggering can disclose or corrupt host kernel memory or crash the host.
Summary
What happened
Use-after-free in Linux Kernel KVM x86 MMIO emulation allows guest OS users to compromise the host through crafted MMIO writes. A split write leaves an MMIO fragment pointing to an initiating task's on-stack value, and a later KVM_RUN dereferences that pointer after the stack can be freed or reused. The write must be eight bytes or smaller and cross two MMIO pages; successful triggering can disclose or corrupt host kernel memory or crash the host.
The record
- CVE
- CVE-2026-31588
- Published
- Apr 24, 2026
- Updated
- Apr 24, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-416, T1611
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 24, 2026CVE publishedPublication date reported by the CVE source.
- Apr 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <22d2ff69d487a32a8b88f9c970120fc2daa08a77
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2b83d91e9ae92fe1258d7040a32430bbb3bb7d6e
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3a7b6d75c8f85b09dea893f64a85a356bcf6c3fe
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b5a02d37eb0739f462fa12df449ab9b3480c783b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo