Refcount Leak in adi-axi-adc in Kernel
Summary
GSD-2022-1004460: iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client. Affects Kernel versions >= ef04070692a21633ec6a60f80c19b6af44b3cf47, < ab7bf025cee89db73c649216ddd2bc589c3d3862. 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 adi-axi-adc is a driver in the Linux Kernel that provides support for Analog Devices AXI ADC IP. It allows users to interface with ADC devices through the AXI bus. The driver is responsible for managing the device and handling data conversion. However, a vulnerability has been discovered in the adi-axi-adc driver that can lead to a refcount leak.
Vulnerability Detail
The vulnerability in the adi-axi-adc driver is due to a refcount leak in the adi_axi_adc_attach_client function. This function is responsible for attaching a client to the ADC device. However, it fails to properly release the reference count when an error occurs during the attachment process. This can result in a refcount leak, leading to resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability by repeatedly attaching and detaching clients, causing the refcount to increase and eventually exhaust system resources.
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 recommended to apply the fix by updating the Linux Kernel.
Conclusion
The adi-axi-adc driver in the Linux Kernel is vulnerable to a refcount leak, which can lead to resource exhaustion and potential denial-of-service attacks. Users are advised to update their Linux Kernel to version v5.15.51 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The adi-axi-adc driver is a component in the Linux Kernel that provides support for Analog Devices AXI ADC IP. It allows users to interface with ADC devices through the AXI bus.
A refcount leak occurs when a reference count is not properly released, leading to resource exhaustion and potential denial-of-service attacks.
This vulnerability can result in resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability to exhaust system resources by repeatedly attaching and detaching clients.
To fix this vulnerability, update your Linux Kernel to version v5.15.51 or later, which includes the necessary fix for the adi-axi-adc driver.
There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the latest version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.