CVE-2025-71184
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.12.66-88.122 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.66-88.122.amzn2023 |
| linux_kernel | linux | 6.18.6, 6.12.66, 6.6.130 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1abe9b8a138c9988ba8f7bfded6453649a31541f, 1abe9b8a138c9988ba8f7bfded6453649a31541f, 1abe9b8a138c9988ba8f7bfded6453649a31541f |
| Linux | Linux | 2.6.39, 0, 6.1.191 |
| amazon:2023 | kernel-livepatch-6.12.66-88.122 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| linux | linux_kernel | 2.6.39, 2.6.39, 2.6.39 |
| Linux | Linux | 6.19, 1abe9b8a138c9988ba8f7bfded6453649a31541f, 1abe9b8a138c9988ba8f7bfded6453649a31541f |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
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