CVE-2025-71184

btrfs: fix NULL dereference on root when tracing inode eviction

No CVSS score yet EPSS 0.18%

Published 31 Jan 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-71184

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71184 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.90% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1abe9b8a138c9988ba8f7bfded6453649a31541f, before 99181ddb124cfe2b09f5e924c308222d2339e82a
affected from 1abe9b8a138c9988ba8f7bfded6453649a31541f, before 64d8abd8c5305795a2b35fc96039d99d34f5e762
affected from 1abe9b8a138c9988ba8f7bfded6453649a31541f, before 582ba48e4a4c06fef6bdcf4e57b7b9af660bbd0c
affected from 1abe9b8a138c9988ba8f7bfded6453649a31541f, before 99e057f3d3ef24b99a7b1d84e01dd1bd890098da
affected from 1abe9b8a138c9988ba8f7bfded6453649a31541f, before f157dd661339fc6f5f2b574fe2429c43bd309534
Other versions: unaffected
Linux
affected 2.6.39
unaffected before 2.6.39
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.66 up to and including 6.12.*
unaffected from 6.18.6 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71184 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71184

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-71184
trivy image --scanners vuln IMAGE | grep CVE-2025-71184

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-71184 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.