VDB

CVE-2025-71184

CVE-2025-71184 PUBLISHED

btrfs: fix NULL dereference on root when tracing inode eviction

Reported by linux · Published January 31, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.66-88.122Amazon Linux1:1.0-0.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.66-88.122.amzn2023
bpftool6.12Amazon Linux1:6.12.66-88.122.amzn2023
kernel6.12-headersAmazon Linux1:6.12.66-88.122.amzn2023
linux_kernellinux6.18.6, 6.12.66, 6.6.130

Affected products

VendorProductVersions
LinuxLinux1abe9b8a138c9988ba8f7bfded6453649a31541f, 1abe9b8a138c9988ba8f7bfded6453649a31541f, 1abe9b8a138c9988ba8f7bfded6453649a31541f
LinuxLinux2.6.39, 0, 6.1.191
amazon:2023kernel-livepatch-6.12.66-88.1220
amazon:2023kernel6.12-libbpf-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-headers0
linuxlinux_kernel2.6.39, 2.6.39, 2.6.39
LinuxLinux6.19, 1abe9b8a138c9988ba8f7bfded6453649a31541f, 1abe9b8a138c9988ba8f7bfded6453649a31541f
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.120
amazon:2023perf6.120
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-tools-devel0

Timeline

  • Jan 31, 2026 CVE Published
  • Feb 3, 2026 EPSS Score (29 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (68 in total, the first dated here)
  • May 28, 2026 Distribution Patch (67 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-71184
vulnetix vdb fixes CVE-2025-71184

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-71184/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›