Vulnerability in btrfs: zoned: bail out in btrfs_alloc_chunk for bad input
Summary
GSD-2021-1000279: btrfs: zoned: bail out in btrfs_alloc_chunk for bad input. Affects Kernel versions >= 1cd6121f2a382a840f01f506694b54bf403fddc9, < c3a5a3597ea944985b12dab3f91842068fdcd054. 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 file system for the Linux kernel that provides advanced features such as snapshots, pooling, and checksums. It is widely used in Linux distributions and offers efficient data management capabilities. However, a vulnerability has been discovered in the btrfs package that affects its zoned functionality. This vulnerability can lead to potential security risks if exploited.
Vulnerability Detail
The vulnerability in the btrfs package occurs specifically in the btrfs_alloc_chunk function when it encounters bad input. This issue was introduced in version v5.12 of the Linux Kernel and has been fixed in version v5.12.4. The impact and attack plausibility of this vulnerability have not been proven yet. However, it is important to address this issue to prevent any potential security breaches. The vulnerability can be exploited by an attacker with malicious intent, potentially leading to unauthorized access or data manipulation.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.12.4 or later. This update includes the necessary patch to address the issue. Users can obtain the updated version from the official Linux Kernel repository.
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 vulnerability in the btrfs package's zoned functionality can potentially lead to unauthorized access or data manipulation. It is crucial to update the Linux Kernel to version v5.12.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven, but it has the potential to allow unauthorized access or data manipulation.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground and it will alert you in real-time if the vulnerability is present.
Yes, the vulnerability has been fixed in Linux Kernel version v5.12.4. It is recommended to update to this version or later to address the issue.
The remote exploitability of this vulnerability has not been confirmed. However, it is important to apply the fix as a precautionary measure.
You can refer to the vulnerability details in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000279.json) for more information.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.