Vulnerability in i2c: imx-lpi2c Package - Reference Leak on pm_runtime_get_sync Failure
Summary
UVI-2021-1000355: i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails. Affects Kernel versions >= 13d6eb20fc79a1e606307256dad4098375539a09, < cc49d206414240483bb93ffa3d80243e6a776916. 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: imx-lpi2c package is a component of the Linux Kernel, which is responsible for managing the Inter-Integrated Circuit (I2C) bus on i.MX processors. The I2C bus is a widely used serial communication protocol for connecting low-speed peripherals to microcontrollers and other embedded systems. The imx-lpi2c driver provides support for the I2C controller found on i.MX processors. It allows devices connected to the I2C bus to communicate with the processor. However, a vulnerability has been discovered 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: imx-lpi2c package occurs when the pm_runtime_get_sync function fails. This function is responsible for managing the power state of the I2C controller. When the function fails, it can result in a reference leak, which can lead to resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability by repeatedly triggering the failure of the pm_runtime_get_sync function, causing the system to exhaust its resources and become unresponsive. This vulnerability was introduced in version v4.16 of the Linux Kernel and has been 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
The i2c: imx-lpi2c package in the Linux Kernel is vulnerable to a reference leak issue when the pm_runtime_get_sync function fails. This vulnerability can lead to resource exhaustion and potential denial-of-service attacks. It is recommended to update the Linux Kernel to version v5.10.37 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The i2c: imx-lpi2c package is a component of the Linux Kernel that provides support for the I2C controller found on i.MX processors. It allows devices connected to the I2C bus to communicate with the processor.
The vulnerability can lead to a reference leak, which can result in resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability to cause the system to become unresponsive.
To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.10.37 or later, which includes the fix for the reference leak issue.
This vulnerability was introduced in version v4.16 of the Linux Kernel.
Yes, this vulnerability has been fixed in version v5.10.37 of the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.