Vulnerability in btrfs: fsync failure and transaction abort after writes to prealloc extents
Summary
GSD-2021-1000817: btrfs: fix fsync failure and transaction abort after writes to prealloc extents. Affects Kernel versions < b37885cc013516f0412d7d2e99f043dd112c99a6. 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. It offers advanced features such as snapshots, pooling, and checksums, making it a popular choice for many Linux distributions. However, a vulnerability has been discovered in btrfs that can lead to fsync failure and transaction abort after writes to preallocated extents.
Vulnerability Detail
The vulnerability in btrfs occurs when there are writes to preallocated extents. This can result in fsync failure and transaction abort, potentially leading to data corruption or loss. The issue was introduced in an earlier version of the Linux Kernel and has been fixed in version v5.12.10. The impact and attack plausibility of this vulnerability have not been proven yet.
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.10 or later. This can be done by applying the commit b37885cc013516f0412d7d2e99f043dd112c99a6. Updating the Kernel will ensure that the fsync failure and transaction abort issue is resolved.
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 btrfs that causes fsync failure and transaction abort after writes to preallocated extents can be resolved by updating the Linux Kernel to version v5.12.10 or later. It is important to apply the fix to prevent potential data corruption or loss. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
btrfs is a file system that provides advanced features such as snapshots, pooling, and checksums.
The vulnerability can result in fsync failure and transaction abort, potentially leading to data corruption or loss.
To fix this vulnerability, update the Linux Kernel to version v5.12.10 or later.
No specific workaround has been mentioned for this vulnerability.
For more details, you can refer to the source link provided in the database specific information of the vulnerability.
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.