Use-after-free in Linux kernel - CVE-2025-21879
Published: March 27, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU106108
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-21879
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the btrfs_scan_root() function in fs/btrfs/extent_map.c. A local user can escalate privileges on the system.
Affected software
Linux kernel
How to mitigate CVE-2025-21879
Install update from vendor's website.
Linux kernel - update to 6.13.6