CVE-2025-71184
kernel: btrfs: fix NULL dereference on root when tracing inode eviction
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 31, 2026
Updated · June 28, 2026
Description
A NULL pointer dereference vulnerability was found in the Linux kernel's Btrfs filesystem. When evicting an inode in btrfs_evict_inode(), the tracing setup code attempts to fetch the root's ID before checking if the root pointer is NULL. This can cause a kernel crash when the inode's root is NULL during eviction, which can occur in certain error recovery paths.
Statement
This flaw occurs during inode eviction when tracing is enabled and the inode's root pointer is unexpectedly NULL. The crash happens before the existing NULL check in btrfs_evict_inode() has a chance to execute. Triggering requires Btrfs filesystem usage with tracing enabled and specific error conditions that leave an inode without a valid root reference.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference