KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow in Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

UVI-2021-1001307: KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow. Affects Kernel versions >= 8e591cb7204739efa8e15967ea334eb367039dde, < 2b9ffddd70b449cdc42b943788dc82a6d7b0d175. 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 is a crucial component of the Linux operating system that provides core functionality and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the security and stability of the system. The vulnerability in question affects the Kernel's KVM (Kernel-based Virtual Machine) module on PowerPC (PPC) architecture, specifically the Book3S variant. KVM allows users to run multiple virtual machines on a single physical machine, providing isolation and resource management. However, a buffer overflow vulnerability in the H_RTAS (Hypervisor Run-Time Abstraction Services) component of KVM on PPC Book3S architecture can be exploited by an attacker to execute arbitrary code or crash the system.

Vulnerability Detail

The vulnerability arises from a buffer overflow in the H_RTAS rets buffer of the KVM module on PPC Book3S architecture. This buffer overflow can be triggered when handling certain H_RTAS instructions, potentially leading to memory corruption and the execution of arbitrary code. An attacker with sufficient privileges in a guest virtual machine could exploit this vulnerability to escape the virtual machine and gain control over the host system. The impact of this vulnerability can range from a denial-of-service (DoS) attack to the execution of malicious code with elevated privileges.

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

As a workaround, users can consider disabling the H_RTAS feature in the KVM module on PPC Book3S architecture. This can be achieved by modifying the Kernel configuration and recompiling it without the H_RTAS support. However, this workaround may limit certain functionalities or compatibility with specific software that relies on H_RTAS. It is important to assess the impact of disabling H_RTAS in the specific deployment scenario before applying this workaround.

Conclusion

The buffer overflow vulnerability in the H_RTAS rets buffer of the KVM module on PPC Book3S architecture has been addressed in the Linux Kernel version v5.4.136. Users are strongly advised to update their Kernel to the latest version to mitigate the risk of exploitation. Disabling the H_RTAS feature can serve as a temporary workaround but should be carefully evaluated for its impact on functionality and compatibility. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a core component of the Linux operating system that manages system resources, facilitates communication between software components, and ensures the security and stability of the system.

KVM (Kernel-based Virtual Machine) is a module in the Linux Kernel that allows users to run multiple virtual machines on a single physical machine, providing isolation and resource management.

PPC Book3S architecture refers to the PowerPC architecture variant supported by the Kernel's KVM module. It is specifically designed for PowerPC-based systems.

H_RTAS (Hypervisor Run-Time Abstraction Services) is a component of the KVM module on PPC Book3S architecture that provides runtime services and abstractions for virtual machines.

The vulnerability can allow an attacker with sufficient privileges in a guest virtual machine to execute arbitrary code or crash the system. This can lead to unauthorized access, data breaches, or disruption of services.

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