cveboard RSS feed

CVE-2025-21879

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

btrfs: fix use-after-free on inode when scanning root during em shrinking

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free on inode when scanning root during em shrinking At btrfs_scan_root() we are accessing the inode's root (and fs_info) in a call to btrfs_fs_closing() after we have scheduled the inode for a delayed iput, and that can result in a use-after-free on the inode in case the cleaner kthread does the iput before we dereference the inode in the call to btrfs_fs_closing(). Fix this by using the fs_info stored already in a local variable instead of doing inode->root->fs_info.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
fef55c4d9c9c22264d2b2ceae1e26922cb6129a5affectedgit07836bc18f4ae42da4e922244f4685561c18755eUnavailableNone listed
1020443840569535f6025a855958f07ea3eebf71affectedgit5e79d26014f9386387575b9ed60d342057cee49bUnavailableNone listed
1020443840569535f6025a855958f07ea3eebf71affectedgit59f37036bb7ab3d554c24abc856aabca01126414UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6.13affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver6.13UnavailableNone listed
6.13.6unaffectedsemverUnavailable6.13.*None listed
6.14unaffectedoriginal_commit_for_fixUnavailable*None listed