Skip to main content
Network Thinking Solutions Logo

CVE-2025-21879

In the Linux kernel, the following vulnerability has been resolved…

All CVEs
CVE-2025-21879Published 3/27/2025

In the Linux kernel, the following vulnerability has been resolved…

Vendor advisory
CVSS7.8High

Overview

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.

Published
3/27/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.13, < 6.13.6

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ fef55c4d9c9c22264d2b2ceae1e26922cb6129a5, < 07836bc18f4ae42da4e922244f4685561c18755e

Verify advisory

Source
Linux
Linux
≥ 1020443840569535f6025a855958f07ea3eebf71, < 5e79d26014f9386387575b9ed60d342057cee49b

Verify advisory

Source
Linux
Linux
≥ 1020443840569535f6025a855958f07ea3eebf71, < 59f37036bb7ab3d554c24abc856aabca01126414

Verify advisory

Source
Linux
Linux
6.13

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.