#VU104962 Use-after-free in Linux kernel - CVE-2025-21722
Published: February 27, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU104962
Vulnerability risk: Low
CVSSv4.0: 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/E:U/U:Clear
CVE-ID: CVE-2025-21722
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
Linux kernel
Linux kernel
Software vendor:
Linux Foundation
Linux Foundation
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the nilfs_clear_dirty_pages() and nilfs_clear_folio_dirty() functions in fs/nilfs2/page.c. A local user can escalate privileges on the system.
Remediation
Install update from vendor's website.
External links
- https://git.kernel.org/stable/c/1098bb8d52419d262a3358d099a1598a920b730f
- https://git.kernel.org/stable/c/19296737024cd220a1d6590bf4c092bca8c99497
- https://git.kernel.org/stable/c/557ccf5e49f1fb848a29698585bcab2e50a597ef
- https://git.kernel.org/stable/c/ca76bb226bf47ff04c782cacbd299f12ddee1ec1
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.235
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.179
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.291
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.129
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.13
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13.2
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.14