Refcount Leak in ti_dra7_xbar_route_allocate in dmaengine: ti
Summary
GSD-2022-1004205: dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate. Affects Kernel versions >= ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e, < b5a817f8d62e9e13280928f3756e54854ae4962e. 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 dmaengine: ti package is a component of the Linux Kernel that provides support for DMA (Direct Memory Access) engines on Texas Instruments (TI) devices. DMA engines are responsible for transferring data between different memory locations without involving the CPU. The ti_dra7_xbar_route_allocate function in this package is used to allocate resources for routing DMA transfers on TI DRA7 devices.
Vulnerability Detail
The ti_dra7_xbar_route_allocate function in dmaengine: ti suffers from a refcount leak vulnerability. This vulnerability was introduced in version v4.5 of the Linux Kernel by commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and was fixed in version v5.18.11 by commit b5a817f8d62e9e13280928f3756e54854ae4962e. The vulnerability allows an attacker to cause a refcount leak, which can lead to resource exhaustion and potential denial-of-service (DoS) attacks. By repeatedly allocating and deallocating resources using the ti_dra7_xbar_route_allocate function, an attacker can exhaust system resources and disrupt normal operation.
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
As a workaround, users can avoid the exploitation of this vulnerability by disabling the affected functionality or by implementing custom resource management mechanisms. However, these workarounds may not provide a comprehensive solution and are not recommended as a long-term mitigation strategy.
Conclusion
The refcount leak vulnerability in ti_dra7_xbar_route_allocate in dmaengine: ti can lead to resource exhaustion and potential denial-of-service (DoS) attacks. It is crucial to update the Linux Kernel to version v5.18.11 or later to fix this vulnerability. Users can also utilize the Vulert Playground at https://vulert.com/scanner to check if their systems are affected by this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to resource exhaustion and potential denial-of-service (DoS) attacks. An attacker can exploit the refcount leak to exhaust system resources, causing disruption to normal operation.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert analyzes package-lock.json files to identify and alert for open-source vulnerabilities in software.
At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the recommended fix to prevent potential exploitation.
To exploit this vulnerability, an attacker would need the ability to execute arbitrary code on a system running an affected version of the Linux Kernel with the dmaengine: ti package enabled.
There is no information available regarding active exploitation of this vulnerability in the wild. However, it is always recommended to apply security updates and patches to mitigate potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.