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-1002008: KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest(). Affects Kernel versions >= 10d91611f426d4bafd2a83d966c36da811b2f7ad, < 80bbb0bc3a0288442f7fe6fc514f4ee1cb06ccb7. 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 Penetration testing for web, API and mobile 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 package is a crucial component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware and software components. The KVM (Kernel-based Virtual Machine) subsystem within the Kernel package enables the hosting of virtual machines on Linux systems. The PowerPC (PPC) architecture is supported by the Book3S HV implementation of KVM. The idle_kvm_start_guest() function is responsible for starting a guest virtual machine when the host system is idle.

Vulnerability Detail

The idle_kvm_start_guest() function in the KVM Book3S HV implementation for PowerPC does not properly handle the stack, leading to a stack corruption vulnerability. An attacker with local access to the host system could exploit this vulnerability to execute arbitrary code with kernel 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 →

Workaround

There is no known workaround for this vulnerability.

Conclusion

The idle_kvm_start_guest() function in the KVM Book3S HV implementation for PowerPC has a stack handling vulnerability that could allow an attacker to execute arbitrary code with kernel privileges. It is recommended to update the Linux Kernel to version v5.4.156 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability could allow an attacker with local access to the host system to execute arbitrary code with kernel privileges.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will analyze and alert you in real-time for any open-source vulnerabilities, including this one.

No, there is currently no known exploit for this vulnerability.

The only mitigation for this vulnerability is to update the Linux Kernel to version v5.4.156 or later.

This vulnerability was discovered by an automated ID intended to aid in the discovery of potential security vulnerabilities.

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