Input validation error in Linux kernel - CVE-2025-21965
Published: April 2, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU106866
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-21965
CWE-ID: CWE-20
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 perform a denial of service (DoS) attack.
The vulnerability exists due to improper input validation within the __bpf_kfunc_start_defs() function in kernel/sched/ext.c. A local user can perform a denial of service (DoS) attack.
How to mitigate CVE-2025-21965
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/515680e76c536dd4aa8e2b5d674b0d441baddf5b
- https://git.kernel.org/stable/c/752b56bb76e2471197d25d6948d85753043b10da
- https://git.kernel.org/stable/c/9360dfe4cbd62ff1eb8217b815964931523b75b3
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.20
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13.8
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.14