Race Condition in Btrfs Subvolume Deletion in Linux Kernel
CVE-2025-39884

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
23 September 2025

What is CVE-2025-39884?

A race condition in the Linux Kernel affects the Btrfs file system's subvolume deletion process. This vulnerability arises from a timing issue between inode eviction and caching, leading to instances where a live struct btrfs_inode may be missing from the root directory's inode array. If concurrent operations attempt to access the inode during this window, it can result in a scenario where subsequent calls to btrfs_iget() recreate an entry that is then removed during eviction, potentially leading to soft lockups in production environments. The fix ensures that the xarray entry is deleted only when it matches the intended inode, mitigating risks associated with premature deletions and infinite loops during inode processing.

Affected Version(s)

Linux 310b2f5d5a9451b708ab1d3385c3b0998084904c < 9ba898c9fcbe6ebb88bcd4df8aab0f90090d202e

Linux 310b2f5d5a9451b708ab1d3385c3b0998084904c

Linux 310b2f5d5a9451b708ab1d3385c3b0998084904c

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-39884 : Race Condition in Btrfs Subvolume Deletion in Linux Kernel