Vulnerability in dma-buf/sync_file Package: Fences Leakage on Merge Failure
Summary
UVI-2021-1001152: dma-buf/sync_file: Don't leak fences on merge failure. Affects Kernel versions >= a02b9dc90d844cc7df7b63264e7920cc425052d9, < 19edcd97727aae9362444a859a24d99a8730cb27. 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 dma-buf/sync_file package is a component of the Linux Kernel ecosystem. It provides functionality for sharing and synchronizing memory buffers between different devices and drivers. The package allows for efficient communication and coordination between various subsystems in the kernel. However, a vulnerability has been discovered in the package that can lead to the leakage of fences on merge failure.
Vulnerability Detail
The vulnerability in the dma-buf/sync_file package occurs when a merge operation fails. In such cases, the package fails to handle the failure gracefully and ends up leaking fences. This can have several ramifications, including resource exhaustion, potential memory leaks, and a degraded system performance. The vulnerability was introduced in version v4.9 of the Linux Kernel and has been fixed in version v5.13.5.
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 dma-buf/sync_file package in the Linux Kernel is vulnerable to a fences leakage issue on merge failure. This vulnerability can have various negative consequences, including resource exhaustion and degraded system performance. It is crucial to update the Linux Kernel to version v5.13.5 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The dma-buf/sync_file package is a component of the Linux Kernel ecosystem that facilitates the sharing and synchronization of memory buffers between different devices and drivers.
The vulnerability can lead to the leakage of fences on merge failure, potentially causing resource exhaustion, memory leaks, and degraded system performance.
The vulnerability was introduced in version v4.9 of the Linux Kernel and is fixed in version v5.13.5.
To fix this vulnerability, update the Linux Kernel to version v5.13.5 or later.
No specific workaround has been mentioned for this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.