Bug 2435644 (CVE-2025-71184) - CVE-2025-71184 kernel: btrfs: fix NULL dereference on root when tracing inode eviction
Summary: CVE-2025-71184 kernel: btrfs: fix NULL dereference on root when tracing inode...
Keywords:
Status: NEW
Alias: CVE-2025-71184
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-31 12:01 UTC by OSIDB Bzimport
Modified: 2026-02-11 01:03 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-31 12:01:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.