CVE-2025-71184 btrfs: fix NULL dereference on root when tracing inode eviction
A NULL pointer dereference in the Linux kernel's btrfs filesystem during inode eviction can cause a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-71184?
CVE-2025-71184 is a medium-severity vulnerability in Linux kernel, published on 31 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2025-71184?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-71184?
Apply the vendor's patch.
Is CVE-2025-71184 being exploited?
There is no known exploitation of CVE-2025-71184 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-77277, BELL-CVE-2025-71184, DEBIAN-CVE-2025-71184, GHSA-p93h-vc42-6hf8, ROOT-OS-DEBIAN-11-CVE-2025-71184, ROOT-OS-DEBIAN-12-CVE-2025-71184 and 3 more.