2084AI Security Observatory

CVE

CVE-2025-21879

CVE-2025-21879HIGH 7.8EPSS 11%

CNA description

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.

Affected versions

All Linux kernel vulnerabilities →

  • 6.14-rc4This version only
  • 6.14-rc3This version only
  • 6.14-rc2This version only
  • 6.14-rc1This version only
  • ≥ 6.13, < 6.13.6Fixed in 6.13.6

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.