KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001289: KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio. Affects Kernel versions >= 2a20592baff59c5351c5200ec667e1a2aa22af85, < 679837dc0abaa2c6e2a7bcd86483e05eee1d5066. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware and software components. KVM (Kernel-based Virtual Machine) is a module within the Kernel package that enables virtualization on Linux systems. It allows users to run multiple virtual machines on a single physical machine. The mmio (Memory-Mapped I/O) subsystem in KVM handles memory access for devices and peripherals in virtual machines. This vulnerability specifically affects the kvm_vm_ioctl_unregister_coalesced_mmio function in the mmio subsystem.

Vulnerability Detail

The vulnerability in kvm_vm_ioctl_unregister_coalesced_mmio is a use-after-free Read issue. This means that after a memory region is freed, it is still accessed or read by the program, leading to potential crashes, data corruption, or even remote code execution. An attacker could exploit this vulnerability by triggering the use-after-free condition and manipulating the freed memory to execute arbitrary code or gain elevated privileges. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The vulnerability in kvm_vm_ioctl_unregister_coalesced_mmio can be addressed by updating the Linux Kernel package to version v5.10.52 or later. This update includes the necessary fix to prevent the use-after-free Read issue. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

KVM (Kernel-based Virtual Machine) is a module within the Linux Kernel that enables virtualization on Linux systems. It allows users to run multiple virtual machines on a single physical machine, providing isolation and resource management for each virtual machine.

mmio (Memory-Mapped I/O) is a subsystem in KVM that handles memory access for devices and peripherals in virtual machines. It provides a mechanism for virtual machines to communicate with and access memory-mapped devices.

A use-after-free vulnerability occurs when a program continues to use or access memory that has been freed. This can lead to crashes, data corruption, or even remote code execution if an attacker can manipulate the freed memory.

An attacker could exploit this vulnerability by triggering the use-after-free condition in kvm_vm_ioctl_unregister_coalesced_mmio and manipulating the freed memory. This could allow them to execute arbitrary code or gain elevated privileges.

No, the impact and attack plausibility of this vulnerability have not been proven yet. Further analysis and testing are required to determine the full extent of its impact.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback