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-1001170: KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow. Affects Kernel versions >= 8e591cb7204739efa8e15967ea334eb367039dde, < 35e114e6f84ab559eb35a5ac73590d23a43f22ba. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities 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 identified in the Kernel impacts the PowerPC (PPC) Book3S architecture. The Book3S architecture is used in PowerPC-based systems and is responsible for virtualization support. This vulnerability specifically affects the H_RTAS (Hypervisor Run-Time Abstraction Services) component, which is used for communication between the hypervisor and the guest operating system. The vulnerability allows for a buffer overflow in the rets buffer, potentially leading to arbitrary code execution or system crashes.

Vulnerability Detail

The vulnerability in the Kernel's PPC Book3S architecture arises from a buffer overflow in the H_RTAS rets buffer. This buffer overflow can be exploited by an attacker to overwrite adjacent memory regions, potentially leading to arbitrary code execution or system crashes. The vulnerability was introduced in version v3.10 of the Linux Kernel by commit 8e591cb7204739efa8e15967ea334eb367039dde and has been present in subsequent versions until it was fixed in version v5.13.6 by commit 35e114e6f84ab559eb35a5ac73590d23a43f22ba. The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to apply the fix to ensure the security and stability of the system.

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 →

Conclusion

The vulnerability in the Kernel's PPC Book3S architecture poses a risk of arbitrary code execution or system crashes due to a buffer overflow in the H_RTAS rets buffer. To address this vulnerability, it is crucial to update the Linux Kernel to version v5.13.6 or later. This will ensure the security and stability of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from arbitrary code execution to system crashes, depending on how it is exploited. It is crucial to apply the fix to prevent potential security breaches and maintain system stability.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will analyze and alert you in real-time if the vulnerability is detected.

At the moment, there are no known workarounds for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel to the patched version.

The exact attack vectors and exploitability of this vulnerability have not been proven yet. However, since it affects the Kernel, which is a critical component of the operating system, it is possible that remote exploitation could be attempted.

There is no evidence of this vulnerability being actively exploited in the wild at the moment. However, it is essential to apply the fix to mitigate any potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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