Vulnerability in btrfs Direct IO Write Path
Summary
GSD-2022-1001666: btrfs: release correct delalloc amount in direct IO write path. Affects Kernel versions >= 5afd80c393f4e87451f14eefb7f2f24daf434e06, < 07cacfd9d9dc134557ac8866c73d570a59b3d1f3. 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 Linux that provides advanced features such as snapshots, pooling, and checksums. It is widely used in various Linux distributions. The direct IO write path is responsible for handling direct input/output operations, bypassing the page cache. This vulnerability affects versions of the Linux Kernel from v5.15.27 to v5.15.34.
Vulnerability Detail
The vulnerability in the btrfs direct IO write path results in an incorrect release of delalloc (delayed allocation) space. This can lead to data corruption or a denial of service condition. An attacker could exploit this vulnerability by performing malicious direct IO write operations, causing the system to release incorrect amounts of delalloc space. The impact and attack plausibility of this vulnerability have not been proven yet.
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 vulnerability in the btrfs direct IO write path can result in data corruption or a denial of service condition. It is recommended to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
btrfs is a file system for Linux that provides advanced features such as snapshots, pooling, and checksums.
The direct IO write path in btrfs is responsible for handling direct input/output operations, bypassing the page cache.
Delalloc (delayed allocation) space is the space reserved for data that has been written but not yet allocated to disk blocks.
This vulnerability can lead to data corruption or a denial of service condition.
To fix this vulnerability, update the Linux Kernel to version v5.15.35 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.