Vendors › Linux
CVE-2025-21879
High (7.8) EPSS 0.3% Linux · fs
Linux kernel: btrfs: fix use-after-free on inode when scanning root during em shrinking
A vulnerability in the Linux kernel fs subsystem (fs/btrfs/extent_map.c), assigned CVE-2025-21879. The issue was introduced in kernel 6.13 and is fixed in 6.13.6, 6.14. Updating to a fixed stable release resolves it.
| Published | 2025-03-27 |
| Updated | 2026-08-05 |
| Affected | Linux kernel 6.13 and later, before the fix (fixed in 6.13.6, 6.14) |
| Fix | Update to kernel 6.13.6, 6.14 or later |
| Vendor advisory | https://cve.org/CVERecord/?id=CVE-2025-21879 |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2025-21879 | CWE-416 | Memory Corruption | Code Execution | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Open in the CVEMesh app Create a free account
Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.
CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.