Cloudanix VulnDB

CVE-2025-71184

Medium · 5.5

CVSS

5.5

EPSS

0.1%

Published

Jan 31, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in the Linux kernel's file system code can make the computer crash when certain file operations happen, and updating the kernel fixes it.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

NULL pointer dereference in btrfs_evict_inode during early tracing setup that fetches root_objectid before the root-NULL guard check, resulting in a kernel crash.

Why it matters to the business

Systems using the Btrfs filesystem may experience unexpected kernel panics leading to denial of service, requiring reboots and potential data unavailability until the kernel is updated.

How an attack unfolds

An attacker with local access crafts conditions that trigger inode eviction on a Btrfs volume where the root pointer is NULL, causing the dereference during trace setup; the issue is local-only and has not been observed in active campaigns.

How to fix it

Update the Linux kernel to a version containing commit 582ba48e4a4c06fef6bdcf4e57b7b9af660bbd0c or later; rebuild and reboot with the patched kernel.

How to confirm the fix worked

Confirm the running kernel contains commit 582ba48e4a4c06fef6bdcf4e57b7b9af660bbd0c via git describe or kernel version string, then exercise Btrfs inode eviction workloads and verify absence of NULL dereference oops in dmesg.

Typical attack path

  1. Obtain local user access on a Linux system using Btrfs
  2. Trigger inode eviction paths in btrfs_evict_inode with a NULL root pointer
  3. Cause the kernel to dereference the NULL root during tracing initialization
  4. Induce a kernel oops or panic

How to detect it

Review kernel logs (dmesg, /var/log/kern.log) for NULL pointer dereference oops mentioning btrfs_evict_inode or root_objectid; correlate with Btrfs inode eviction events around the crash timestamp.

  • btrfs_evict_inode
  • root_objectid
  • NULL dereference

What your security team should do

  • Prioritize kernel upgrade on all Btrfs-using systems within standard change windows
  • Monitor EPSS trend and reassess if exploit code appears
  • Add Btrfs-specific crash signatures to kernel log monitoring rules

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 2.6.39 6.12.66
openSUSE:Leap 16.0 dtb-aarch64 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-64kb 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-azure 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-default 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-default-base 0 6.12.0-160000.27.1.160000.2.8
openSUSE:Leap 16.0 kernel-docs 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-kvmsmall 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-obs-build 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-obs-qa 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-rt 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-source 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-syms 0 6.12.0-160000.27.1
openSUSE:Leap 16.0 kernel-zfcpdump 0 6.12.0-160000.27.1

Related vulnerabilities