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

UVI-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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. The Kernel package includes various subsystems, such as memory management, process scheduling, device drivers, and virtualization support. One of the key features of the Kernel package is the Kernel-based Virtual Machine (KVM), which allows running virtual machines on Linux. KVM utilizes memory-mapped input/output (MMIO) operations to handle interactions between the virtual machines and the host system. However, a vulnerability has been discovered in the KVM MMIO implementation, specifically in the kvm_vm_ioctl_unregister_coalesced_mmio function.

Vulnerability Detail

The vulnerability in the kvm_vm_ioctl_unregister_coalesced_mmio function is a use-after-free read issue. This means that after freeing a memory object, the program still attempts to access it, leading to potential memory corruption and arbitrary code execution. An attacker could exploit this vulnerability by triggering the unregistering of a coalesced MMIO region in a virtual machine, causing the use-after-free read condition. The impact of this vulnerability could vary depending on the attacker's capabilities and the context in which the vulnerable system is used. It could potentially lead to privilege escalation, information disclosure, or denial of service.

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 →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by following general security best practices, such as ensuring the system is running the latest stable version of the Linux Kernel, implementing proper access controls and permissions, and regularly monitoring for any suspicious activities or unauthorized access attempts.

Conclusion

The KVM MMIO use-after-free read vulnerability in the Linux Kernel has the potential to be exploited for privilege escalation, information disclosure, or denial of service attacks. It is crucial to update the Kernel package to the latest version, v5.10.52 or later, to mitigate this vulnerability. Additionally, following general security best practices and regularly monitoring for any suspicious activities can help reduce the risk of exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could vary depending on the attacker's capabilities and the context in which the vulnerable system is used. It could potentially lead to privilege escalation, information disclosure, or denial of service.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.10.52 or later. The fix for this issue was implemented in commit 679837dc0abaa2c6e2a7bcd86483e05eee1d5066. Users can obtain the updated Kernel package from the official Linux Kernel repository.

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by following general security best practices, such as ensuring the system is running the latest stable version of the Linux Kernel, implementing proper access controls and permissions, and regularly monitoring for any suspicious activities or unauthorized access attempts.

The exact conditions for remote exploitation of this vulnerability are not specified. However, it is always recommended to apply security patches and updates promptly to mitigate potential risks.

For more information about this vulnerability, including technical details and the specific commits addressing the issue, please refer to the source link provided in the database_specific section of the vulnerability details.

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