Vulnerability in i2c: imx-lpi2c Package
Summary
GSD-2021-1000422: i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails. Affects Kernel versions >= 13d6eb20fc79a1e606307256dad4098375539a09, < 815859cb1d2302e74f11bf6894bceace9ca9eb4a. 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 ecosystem. It provides support for 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 specifically handles the I2C functionality for i.MX processors. This package is vulnerable 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 to acquire a reference. This reference leak can lead to resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability by repeatedly triggering the failure of pm_runtime_get_sync, causing a gradual depletion of system resources. The impact of this vulnerability depends on the context in which the imx-lpi2c driver is used and the availability of mitigations.
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. To address this vulnerability, it is crucial to update the kernel to version v5.4.119 or later. This update includes a fix for the reference leak problem. 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 ecosystem that provides support for the I2C bus on i.MX processors.
The vulnerability can lead to resource exhaustion and potential denial-of-service attacks.
To fix this vulnerability, update the Linux Kernel to version v5.4.119 or later.
You can obtain the updated kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
The recommended mitigation is to update the Linux Kernel to the latest version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.