Vulnerability in Kernel: KVM - Stop looking for coalesced MMIO zones if the bus is destroyed

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000296: KVM: Stop looking for coalesced MMIO zones if the bus is destroyed. Affects Kernel versions >= f65886606c2d3b562716de030706dfe1bea4ed5e, < 50cbad42bfea8c052b7ca590bd4126cdc898713c. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functions such as memory management, process scheduling, and device drivers. The Kernel is responsible for the proper functioning of the system and ensuring its security. However, a vulnerability has been discovered in the Kernel's KVM (Kernel-based Virtual Machine) module, specifically related to the handling of coalesced MMIO (Memory Mapped Input/Output) zones when the bus is destroyed.

Vulnerability Detail

The vulnerability arises from a flaw in the KVM module's code that allows it to continue searching for coalesced MMIO zones even after the bus has been destroyed. This can lead to a variety of issues, including memory corruption, system crashes, and potential privilege escalation attacks. An attacker who can exploit this vulnerability may be able to execute arbitrary code with elevated privileges or disrupt the normal operation of the system. The vulnerability was introduced in version 5.9 of the Linux Kernel and has been fixed in version 5.12.4.

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

If updating the Kernel is not immediately feasible, a temporary workaround is to disable the KVM module or restrict access to it. This can be achieved by modifying the system's configuration files or using kernel boot parameters. However, it is strongly advised to apply the official fix as soon as possible to ensure the system's security.

Conclusion

The vulnerability in the Kernel's KVM module, which allows the continued search for coalesced MMIO zones after the bus is destroyed, poses a significant security risk. It is crucial to update the Linux Kernel to version 5.12.4 or later to mitigate this vulnerability. If immediate updating is not possible, disabling or restricting access to the KVM module can serve as a temporary workaround. Regularly updating the Kernel is essential to ensure the system's security. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory corruption, system crashes, and potential privilege escalation attacks. An attacker may be able to execute arbitrary code with elevated privileges or disrupt the normal operation of the system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time and provide alerts for any open-source vulnerabilities, including this one.

At the time of this report, there are no known public exploits for this vulnerability. However, it is important to apply the fix promptly to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. An attacker can send specially crafted requests to exploit the flaw and gain unauthorized access or disrupt the system's operation.

For more detailed information about this vulnerability, including technical details and the specific code changes that fix it, you can refer to the vulnerability report on the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000296.json).

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