Use-after-free in Linux kernel - CVE-2025-21652
Published: January 20, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU103013
CSH Severity: Low
CVSS v4.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-21652
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability 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 default_operstate() function in net/core/link_watch.c. A local user can escalate privileges on the system.
How to mitigate CVE-2025-21652
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/52a24538d569f48e79d1a169a5d359d384152950
- https://git.kernel.org/stable/c/ba9f7c16ec879c83bb4f80406773a911aace8267
- https://git.kernel.org/stable/c/cb358ff94154774d031159b018adf45e17673941
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.10
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.72