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

GSD-2021-1001436: KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow. Affects Kernel versions >= 8e591cb7204739efa8e15967ea334eb367039dde, < 8c46b4b2749c4b3b7e602403addc32ec2b48baed. 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 is a fundamental component of the Linux operating system that provides essential services and functions to enable the execution of software applications. It acts as an interface between the hardware and software layers, managing resources and facilitating communication between different components. The vulnerability identified in the Kernel affects the PowerPC (PPC) Book3S architecture. This architecture is commonly used in PowerPC-based systems and provides support for virtualization through the Kernel-based Virtual Machine (KVM). The vulnerability specifically relates to a buffer overflow in the H_RTAS (Hypervisor Run-Time Abstraction Services) implementation, which could potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition.

Vulnerability Detail

The vulnerability in the Kernel's PPC Book3S architecture arises from a buffer overflow in the H_RTAS rets buffer. This buffer is used to store return addresses during the execution of H_RTAS calls. By crafting a malicious H_RTAS call, an attacker can overflow the rets buffer and overwrite adjacent memory regions, potentially leading to the execution of arbitrary code or a system crash. The impact of this vulnerability depends on the attacker's ability to exploit it and the privileges they possess. Successful exploitation could result in unauthorized access, privilege escalation, or disruption of system functionality. The vulnerability was introduced in version v3.10 of the Linux Kernel and has been fixed in version v4.9.277.

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

No specific workaround has been mentioned for this vulnerability. However, as a general security best practice, it is advisable to follow standard security measures such as implementing strong access controls, regularly updating software components, and monitoring system logs for any suspicious activity. These measures can help mitigate the risk of exploitation and minimize the potential impact of vulnerabilities.

Conclusion

The vulnerability in the Kernel's PPC Book3S architecture, specifically the buffer overflow in the H_RTAS rets buffer, poses a potential security risk. It is crucial to update the Linux Kernel to version v4.9.277 or later to mitigate this vulnerability. Following standard security practices and regularly updating software components are essential to maintain a secure system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability depends on the attacker's ability to exploit it and the privileges they possess. Successful exploitation could result in unauthorized access, privilege escalation, or disruption of system functionality.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. The Vulert Playground allows you to analyze your software's manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

No specific workaround has been mentioned for this vulnerability. However, following standard security practices such as implementing access controls, updating software, and monitoring system logs can help mitigate the risk.

Yes, this vulnerability has been fixed in version v4.9.277 of the Linux Kernel. It is recommended to update to this version or a later one to ensure the vulnerability is addressed.

You can find more information about this vulnerability in the official Linux Kernel repository and the associated commit history. Additionally, you can refer to the vulnerability database maintained by the Cloud Security Alliance (CSA) for detailed information and references.

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