Vulnerability in Kernel: i2c: sprd: fix reference leak when pm_runtime_get_sync fails
Summary
GSD-2021-1000353: i2c: sprd: fix reference leak when pm_runtime_get_sync fails. Affects Kernel versions >= 8b9ec0719834fe66146d138d62ed66cef025c864, < e547640cee7981fd751d2c9cde3a61bdb678b755. 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 Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, including memory, processes, and input/output operations. The i2c subsystem in the Kernel enables communication with I2C devices, which are commonly used for interconnecting various components in embedded systems. The sprd driver is responsible for handling I2C communication on Spreadtrum-based platforms. This vulnerability in the sprd driver can lead to a reference leak when the pm_runtime_get_sync function fails.
Vulnerability Detail
The vulnerability occurs in the sprd driver's handling of power management. When the pm_runtime_get_sync function fails, a reference leak occurs, potentially leading to resource exhaustion or other issues. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or escalate privileges. The vulnerability was introduced in version v4.14 of the Linux Kernel and is fixed in version v5.10.37.
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 specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, the vulnerability in the sprd driver of the Kernel can result in a reference leak when the pm_runtime_get_sync function fails. This can lead to resource exhaustion or other issues, potentially allowing an attacker to cause a denial-of-service condition or escalate privileges. It is crucial to update the Linux Kernel to version v5.10.37 or later to fix this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially lead to resource exhaustion or other issues, and may allow an attacker to cause a denial-of-service condition or escalate privileges.
You can use the Vulert Playground (https://vulert.com/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 open-source vulnerabilities, including this one.
Yes, a patch is available in version v5.10.37 of the Linux Kernel. Make sure to update your Kernel to this version or later to fix the vulnerability.
The exact attack vector and exploitability of this vulnerability have not been proven yet. However, it is always recommended to apply security updates and patches to mitigate potential risks.
You can find more information about this vulnerability in the GSD-2021-1000353 JSON file available on the GitHub repository of the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.