Refcount Leak in imx_sc_thermal_probe in Kernel
Summary
GSD-2022-1003594: thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe. Affects Kernel versions >= e20db70dba1c0783b9878ce37171ad560b1ebaf3, < 8bbf522a2c51ef939d0e8835e236bfcd252193af. 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 imx_sc_thermal_probe is a thermal driver in the Kernel specifically designed for the i.MX System Controller (SC) thermal sensor. This driver is responsible for monitoring the temperature of the i.MX SC and providing thermal management capabilities. However, a refcount leak vulnerability has been identified in the imx_sc_thermal_probe, which can lead to resource exhaustion and potential system instability.
Vulnerability Detail
The refcount leak vulnerability in the imx_sc_thermal_probe driver arises from a failure to properly release reference counts when probing the thermal sensor. This can result in a gradual accumulation of unreleased references, leading to resource leaks and potential denial-of-service conditions. An attacker could potentially exploit this vulnerability to exhaust system resources, causing system instability or crashes. The vulnerability was introduced in version v5.7 of the Linux Kernel and has been fixed in version v5.10.121.
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 →
Conclusion
The refcount leak vulnerability in the imx_sc_thermal_probe driver of the Kernel can lead to resource leaks and potential denial-of-service conditions. It is crucial to update the Linux Kernel to version v5.10.121 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to resource leaks and potential denial-of-service conditions. It may result in system instability or crashes.
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 to the playground, and it will analyze and alert you in real-time.
No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
There are no known exploits for this vulnerability at the time of this report. However, it is advisable to apply the recommended fix as soon as possible to mitigate any potential risks.
For more details about this vulnerability, you can refer to the vulnerability report in the Cloud Security Alliance's GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003594.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.