KVM: SVM: GHCB Mapping Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000224: KVM: SVM: Make sure GHCB is mapped before updating. Affects Kernel versions >= f1c6366e304328de301be362eca905a3503ff33b, < fd722a57fe0b80133dacae4e1c852ee4212f9b2e. 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 an essential component of the Linux operating system, responsible for managing the system's core functions and facilitating communication between hardware and software. It provides critical services such as process management, memory management, and device drivers. The Kernel package is widely used across various Linux distributions.

The vulnerability in question affects the Kernel package, specifically the SVM (Secure Virtual Machine) module within the Kernel's KVM (Kernel-based Virtual Machine) subsystem. This module is responsible for handling virtualization on AMD processors.

The vulnerability arises from a failure to ensure that the Guest Host Communication Block (GHCB) is properly mapped before performing updates. This oversight can lead to potential security vulnerabilities, although the exact impact and attack plausibility have not been proven at this time.

Vulnerability Detail

The vulnerability in the KVM SVM module of the Kernel package arises from the lack of proper GHCB mapping before performing updates. The GHCB is a data structure used for communication between the guest and host in a virtualized environment. By not ensuring its correct mapping, an attacker may be able to exploit this vulnerability to gain unauthorized access, escalate privileges, or execute arbitrary code within the host system.

The vulnerability was introduced in version v5.11 of the Linux Kernel by commit f1c6366e304328de301be362eca905a3503ff33b. However, it has been fixed in version v5.12.5 by commit fd722a57fe0b80133dacae4e1c852ee4212f9b2e.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.12.5 or later. This can be done by obtaining the updated Kernel package from the official Linux Kernel repository and following the installation instructions specific to the target Linux distribution.

For example, if using a Debian-based distribution, the following commands can be used to update the Kernel package:

sudo apt update
sudo apt upgrade

It is important to ensure that the system is rebooted after the Kernel update to apply the changes.

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

Conclusion

The KVM SVM GHCB Mapping Vulnerability in the Linux Kernel poses a potential security risk by allowing unauthorized access and potential privilege escalation within the host system. It is crucial to update the Kernel package to version v5.12.5 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system, responsible for managing core system functions and facilitating communication between hardware and software.

The KVM SVM module is a part of the Kernel's KVM subsystem and is specifically designed for virtualization on AMD processors.

GHCB stands for Guest Host Communication Block, which is a data structure used for communication between the guest and host in a virtualized environment.

This vulnerability could potentially allow an attacker to gain unauthorized access, escalate privileges, or execute arbitrary code within the host system.

Yes, this vulnerability has been fixed in version v5.12.5 of the Linux Kernel.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.12.5 or later. This can be done by obtaining the updated Kernel package from the official Linux Kernel repository and following the installation instructions specific to the target Linux distribution.

For example, if using a Debian-based distribution, the following commands can be used to update the Kernel package:

sudo apt update
sudo apt upgrade

It is important to ensure that the system is rebooted after the Kernel update to apply the changes.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.