
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40101 is a vulnerability discovered in the Linux kernel, specifically affecting the btrfs filesystem component. The vulnerability was disclosed on October 30, 2025, and involves memory leaks in the btrfsloadblockgroupzone_info() function when handling non-SINGLE data profiles without a RAID stripe tree (NVD Database, Debian Tracker).
The vulnerability occurs in the btrfs filesystem's block group zone information handling. Specifically, when the btrfsloadblockgroupzone_info() function encounters a non-SINGLE mapping type without a RAID stripe tree, it returns early with an error. However, this early return prevents the execution of cleanup code, resulting in memory leaks as allocated memory is not properly freed (NVD Database).
The vulnerability results in memory leaks in the Linux kernel when specific conditions are met in the btrfs filesystem. This can lead to gradual system resource consumption over time, potentially affecting system stability and performance (Debian Tracker).
The issue has been addressed by modifying the code to set the return value and fall through the cleanup code instead of returning early. Various Linux distributions have released or are in the process of releasing patches. Debian has fixed the issue in version 6.17.6-1 for unstable and 6.12.57-1 for trixie. Ubuntu has marked several kernel versions as vulnerable and is working on updates (Debian Tracker, 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."