
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-46733 is a vulnerability in the Linux kernel's BTRFS file system that involves qgroup reserve leaks in the cowfilerange functionality. The issue was discovered and resolved in September 2024, affecting the buffered write path where the dirty page owns the qgroup reserve until it creates an ordered_extent (Kernel Git).
In the buffered write path, any errors occurring before the orderedextent creation must free the reservation, or the space becomes leaked. The issue manifests when errors in cowfile_range prevent ordered extent allocation. Because delalloc is cleared, the inode is removed from the delalloc list, preventing invalidate/launder calls on inodes/pages during the commit abort path (Kernel Git).
The vulnerability leads to qgroup reserve leaks, resulting in unreleased space in the BTRFS file system. This manifests as errors during system unmount, with warnings about unreleased space and IO failures. The issue can cause system warnings and potential resource management problems (Kernel Git).
The issue has been fixed by adding proper cleanup of qgroup reservations in error paths. The fix involves calling btrfsqgroupfreedata in three specific locations within the cowfile_range function to ensure proper resource cleanup when errors occur (Kernel Git, Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."