CVE-2025-71184

btrfs: fix NULL dereference on root when tracing inode eviction

published January 31, 2026

CVSS
—
EPSS
0%
Percentile
2.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix NULL dereference on root when tracing inode eviction

When evicting an inode the first thing we do is to setup tracing for it,

which implies fetching the root's id. But in btrfs_evict_inode() the

root might be NULL, as implied in the next check that we do in

btrfs_evict_inode().

Hence, we either should set the ->root_objectid to 0 in case the root is

NULL, or we move tracing setup after checking that the root is not

NULL. Setting the rootid to 0 at least gives us the possibility to trace

this call even in the case when the root is NULL, so that's the solution

taken here.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00138 · 2.9th percentile
Published
2026-01-31T11:38Z
EPSS history
Timeline
  • 31 JAN 11:38Z
    btrfs: fix NULL dereference on root when tracing inode eviction
    cvelistv5