Vulnerability in i2c: xiic Package - Reference Leak when pm_runtime_get_sync Fails
Summary
UVI-2021-1000352: i2c: xiic: fix reference leak when pm_runtime_get_sync fails. Affects Kernel versions >= 10b17004a74c384c6f410af355b0d6d7a168f613, < c977426db644ba476938125597947979e8aba725. 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: xiic package is a component of the Linux Kernel, which is responsible for managing the Inter-Integrated Circuit (I2C) bus. The I2C bus is a popular communication protocol used for connecting low-speed peripherals to microcontrollers and other embedded systems. The xiic driver provides support for I2C devices using the Xilinx IIC controller. It allows the Linux Kernel to communicate with I2C devices connected to Xilinx FPGA platforms. However, a vulnerability has been discovered in the xiic driver that can lead to a reference leak when the pm_runtime_get_sync function fails.
Vulnerability Detail
The vulnerability in the i2c: xiic package occurs when the pm_runtime_get_sync function fails. This function is responsible for managing the power state of the device. 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 v5.6 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 vulnerability in the i2c: xiic package, which caused a reference leak when the pm_runtime_get_sync function failed, has been addressed in version v5.10.37 of the Linux Kernel. Users are advised to update their Linux Kernel to this version or later to mitigate the risk of resource exhaustion and potential denial-of-service attacks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The i2c: xiic package is a component of the Linux Kernel that provides support for I2C devices using the Xilinx IIC controller. It allows the Linux Kernel to communicate with I2C devices connected to Xilinx FPGA platforms.
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 fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.37 or later, which includes the necessary fix for the reference leak issue in the xiic driver.
This vulnerability was introduced in version v5.6 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.