CVE-2026-31588
kernel: KVM: x86: Use scratch field in MMIO fragment to hold small write values
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 24, 2026
Updated · July 3, 2026
Description
A flaw was found in the Linux kernel's Kernel-based Virtual Machine (KVM) component. This vulnerability, a use-after-free, occurs when KVM processes Memory-mapped I/O (MMIO) writes that span across different memory pages, and an internal temporary variable is used. A malicious guest operating system or a local user could exploit this by performing specific MMIO write operations, leading to KVM attempting to access memory that has already been released. This can result in memory corruption, which might allow for information disclosure or the execution of unauthorized code.
Statement
KVM x86 MMIO fastpath could mis-handle multi-fragment small writes and corrupt guest state references. Red Hat advises hosts running KVM workloads to pick up the fix via virtualization-enabled kernel streams. No discrete customer mitigation replaces patching.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H
CWE-825 · Expired Pointer Dereference