String Overflow Vulnerability in SCPI genpd Driver in Kernel
Summary
GSD-2021-1002630: firmware: arm_scpi: Fix string overflow in SCPI genpd driver. Affects Kernel versions >= 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7, < 4694b1ec425a2d20d6f8ca3db594829fdf5f2672. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The SCPI genpd driver is a component of the Linux Kernel that handles power management for ARM-based systems. It provides support for the System Control and Power Interface (SCPI) protocol, allowing the operating system to control power domains. Power domains are groups of hardware components that can be powered on or off independently to conserve energy. The SCPI genpd driver is responsible for managing these power domains and ensuring their proper operation. However, a vulnerability has been discovered in the driver that can lead to a string overflow.
Vulnerability Detail
The vulnerability in the SCPI genpd driver is caused by a string overflow. When processing certain input, the driver fails to properly validate the length of a string, allowing it to overflow a buffer. This can result in memory corruption and potentially lead to arbitrary code execution or a denial of service. An attacker who can send specially crafted input to the driver could exploit this vulnerability to gain unauthorized access to the system or disrupt its operation.
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. It is recommended to apply the fix by updating the Linux Kernel as mentioned in the 'how_to_fix' section.
Conclusion
In conclusion, a string overflow vulnerability has been discovered in the SCPI genpd driver in the Linux Kernel. This vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial of service. It is crucial to update the Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial of service on the affected system.
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 and Vulert will analyze it for any known vulnerabilities, including this one.
At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate the risk.
Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network and the attacker can send specially crafted input to the SCPI genpd driver.
The only known mitigation for this vulnerability is to update the Linux Kernel to the fixed version mentioned in the 'how_to_fix' section.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.