KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002108: KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest(). Affects Kernel versions >= 10d91611f426d4bafd2a83d966c36da811b2f7ad, < 6d077c37c4643394b1bae9682da48164fc147ea8. 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, including device drivers, process management, memory management, and file system support. The KVM (Kernel-based Virtual Machine) subsystem within the Kernel package allows running virtual machines on the host system. The PowerPC (PPC) architecture is supported by the Book3S HV implementation of KVM. This vulnerability specifically affects the stack handling in the idle_kvm_start_guest() function of the Book3S HV code.

Vulnerability Detail

The idle_kvm_start_guest() function in the Book3S HV implementation of KVM for PowerPC architecture has a stack handling issue. The vulnerability allows an attacker to potentially execute arbitrary code or cause a denial-of-service (DoS) condition on the host system. By exploiting this vulnerability, an attacker with sufficient privileges within a virtual machine could escalate their privileges to the host system or disrupt the operation of other virtual machines running on the same host. The issue was introduced in version v5.2 of the Linux Kernel and has been fixed in version v5.14.15.

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 known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel package to a version that includes the necessary patch.

Conclusion

In conclusion, the KVM: PPC: Book3S HV vulnerability in the Linux Kernel package poses a risk of arbitrary code execution or denial-of-service attacks. It is crucial to update the Kernel package to version v5.14.15 or later to mitigate this vulnerability. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability allows an attacker with sufficient privileges within a virtual machine to potentially execute arbitrary code or cause a denial-of-service (DoS) condition on the host system. This could lead to unauthorized access to the host system or disruption of other virtual machines running on the same host.

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 for any open-source vulnerabilities, including this one.

No, there is no known workaround for this vulnerability. It is crucial to apply the fix by updating the Linux Kernel package to a version that includes the necessary patch.

To update the Linux Kernel package, you can download the updated Kernel source code from the official Git repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compile it for your system. Alternatively, you can wait for your Linux distribution to provide an updated package containing the fix.

You can find more information about this vulnerability, including the specific commits that introduced and fixed it, in the vulnerability database maintained by the Cloud Security Alliance. The source link for this vulnerability is: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002108.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