String Overflow Vulnerability in SCPI genpd Driver in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002689: firmware: arm_scpi: Fix string overflow in SCPI genpd driver. Affects Kernel versions >= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, < f0f484714f35d24ffa0ecb4afe3df1c5b225411d. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The SCPI genpd driver is a firmware component that controls power domains in ARM-based systems. Power domains are groups of hardware components that can be powered on or off independently to conserve energy. The SCPI genpd driver allows software to control the power state of these domains. However, a string overflow vulnerability has been discovered in the driver, which could potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition.

Vulnerability Detail

The string overflow vulnerability in the SCPI genpd driver occurs when processing user-supplied input. Specifically, there is a lack of proper bounds checking when copying a string into a fixed-size buffer. This can lead to a buffer overflow, where data can be written beyond the allocated memory, potentially overwriting critical data or executing arbitrary code. An attacker could exploit this vulnerability by sending specially crafted input to the driver, triggering the overflow and gaining control over the affected system. The impact of this vulnerability could range from privilege escalation to system crashes or remote code execution.

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

If updating the kernel is not immediately feasible, a temporary workaround can be implemented by disabling the SCPI genpd driver. This can be achieved by blacklisting the 'arm_scpi' module. To do this, add the following line to the '/etc/modprobe.d/blacklist.conf' file:

blacklist arm_scpi

After saving the file, reboot the system to apply the changes. However, it is important to note that this workaround may impact the functionality of power domain management in ARM-based systems.

Conclusion

In conclusion, a string overflow vulnerability has been discovered in the SCPI genpd driver in the Linux Kernel. This vulnerability could be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Linux Kernel to the latest version or apply the provided workaround to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware.

The SCPI genpd driver is a firmware component in the Linux Kernel that controls power domains in ARM-based systems. Power domains are groups of hardware components that can be powered on or off independently to conserve energy.

A string overflow vulnerability occurs when a program does not properly check the length of a string before copying it into a fixed-size buffer. This can lead to a buffer overflow, where data can be written beyond the allocated memory, potentially overwriting critical data or executing arbitrary code.

The potential consequences of this vulnerability include privilege escalation, system crashes, or remote code execution. An attacker could exploit the vulnerability to gain control over the affected system and perform malicious actions.

To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.10.88 or later. Alternatively, a temporary workaround can be implemented by disabling the SCPI genpd driver by blacklisting the 'arm_scpi' module.

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