Linux Kernel Memory Leak Vulnerability in Btrfs During Backreference Processing

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's Btrfs file system. The issue arises during backreference processing in the 'find_parent_nodes()' function. When an error occurs while resolving indirect backreferences or while iterating over direct references, the inode lists associated with the direct references can be leaked. This happens because the lists are not freed on error, leading to unreleased memory. The vulnerability affects several versions of the Linux kernel.

Impact

The vulnerability leads to a memory leak, causing increased memory usage that is not released back to the system.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.