Vulnerability in i2c: sprd Package - Reference Leak when pm_runtime_get_sync Fails
Summary
UVI-2021-1000421: i2c: sprd: fix reference leak when pm_runtime_get_sync fails. Affects Kernel versions >= 8b9ec0719834fe66146d138d62ed66cef025c864, < 7e1764312440c5df9dfe6b436035a03673b0c1b9. 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 i2c: sprd package is a component of the Linux Kernel, which is responsible for managing the Inter-Integrated Circuit (I2C) bus on Spreadtrum (sprd) platforms. The I2C bus is a widely used communication interface for connecting low-speed peripherals to a microcontroller or system-on-chip. The i2c: sprd package provides the necessary functionality to control I2C devices on sprd platforms. However, a vulnerability has been identified in this package that can lead to a reference leak when the pm_runtime_get_sync function fails.
Vulnerability Detail
The vulnerability in the i2c: sprd package occurs when the pm_runtime_get_sync function fails to acquire a reference. This can happen due to various reasons, such as resource constraints or errors in the runtime power management subsystem. When this failure occurs, a reference leak happens, which can lead to resource exhaustion and potential denial-of-service conditions. An attacker could potentially exploit this vulnerability to exhaust system resources, causing instability or crashes. The vulnerability was introduced in version v4.14 of the Linux Kernel and has been fixed in version v5.4.119.
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 necessary to update the Linux Kernel to the fixed version to mitigate the risk.
Conclusion
The vulnerability in the i2c: sprd package can result in a reference leak when the pm_runtime_get_sync function fails. This can lead to resource exhaustion and potential denial-of-service conditions. It is crucial to update the Linux Kernel to version v5.4.119 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The i2c: sprd package is a component of the Linux Kernel that provides functionality for managing the I2C bus on Spreadtrum platforms.
The vulnerability can lead to a reference leak, causing resource exhaustion and potential denial-of-service conditions.
An attacker could exploit this vulnerability to exhaust system resources, leading to instability or crashes.
The vulnerability was introduced in version v4.14 of the Linux Kernel.
To fix this vulnerability, update the Linux Kernel to version v5.4.119 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.