Vulnerability in btrfs: do not clean up repair bio if submit fails
Summary
GSD-2022-1001469: btrfs: do not clean up repair bio if submit fails. Affects Kernel versions < e76c78c48902dae6fa612749f59162bca0a79e0b. 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 btrfs package is a part of the Linux Kernel ecosystem and is responsible for providing support for the B-tree file system. Btrfs is designed to be a modern and scalable file system that offers features like snapshots, checksums, and RAID-like functionality. It is widely used in Linux distributions and provides a reliable storage solution for many applications.
Vulnerability Detail
The vulnerability in btrfs arises from a flaw in the cleanup process of repair bio if the submission fails. When a repair bio is submitted, it should be properly cleaned up in case of failure to prevent resource leaks. However, due to this vulnerability, the cleanup process is not performed, leading to potential resource exhaustion and denial of service attacks. An attacker could exploit this vulnerability by repeatedly triggering the failure of repair bio submissions, causing the system to run out of resources and become unresponsive.
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 mentioned above as soon as possible.
Conclusion
The vulnerability in btrfs can lead to resource exhaustion and denial of service attacks. It is crucial for users to update their Linux Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
Btrfs is a modern file system for Linux that provides advanced features like snapshots, checksums, and RAID-like functionality.
This vulnerability can lead to resource exhaustion and denial of service attacks if exploited by an attacker.
To fix this vulnerability, update your Linux Kernel to version v5.16.19 or later.
No, there is no known workaround for this vulnerability.
You can find more information about this vulnerability in the official Linux Kernel repository and the provided references link.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.