Deadlock in Concurrent Rename Whiteout and Inode Writeback in ubifs
Summary
GSD-2022-1001119: ubifs: Fix deadlock in concurrent rename whiteout and inode writeback. Affects Kernel versions >= 9e0a1fff8db56eaaebb74b4a3ef65f86811c4798, < 8b278c8dcfb565cb65eceb62a38cbf7a7c326db5. 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 ubifs package is a file system designed for use on flash devices. It is a part of the Linux Kernel ecosystem. The package provides a file system that is optimized for flash memory, offering features such as wear-leveling and garbage collection. However, a vulnerability has been discovered in the package that can lead to a deadlock when there is concurrent rename whiteout and inode writeback.
Vulnerability Detail
The vulnerability in ubifs arises when there is concurrent activity involving rename whiteout and inode writeback. This can result in a deadlock situation, where multiple processes or threads are unable to proceed due to conflicting resource access. The deadlock can potentially lead to system instability or unresponsiveness. The vulnerability was introduced in version v4.9 of the Linux Kernel and has been fixed in version v5.17.2.
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 available for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.
Conclusion
In conclusion, the ubifs package in the Linux Kernel is vulnerable to a deadlock issue when there is concurrent rename whiteout and inode writeback. This vulnerability can be fixed by updating the Linux Kernel to version v5.17.2 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ubifs is a file system designed for use on flash devices, providing features optimized for flash memory such as wear-leveling and garbage collection.
The vulnerability can lead to a deadlock situation, potentially causing system instability or unresponsiveness.
To fix this vulnerability, update the Linux Kernel to version v5.17.2 or later.
No, there is no specific workaround available. Updating the Linux Kernel is the recommended solution.
The updated Linux Kernel source code can be obtained from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.