Resource management error in Linux kernel - CVE-2025-40151
Published: November 12, 2025
Vulnerability identifier: #VU118437
CSH Severity: Low
CVSS v4: 6.8 [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]
CVE-ID: CVE-2025-40151
CWE-ID: CWE-399
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to resource management error within the __arch_prepare_bpf_trampoline() function in arch/loongarch/net/bpf_jit.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Ubuntu
linux-oem-6.17 (Ubuntu package)
Ubuntu
linux-oem-6.17 (Ubuntu package)
How to mitigate CVE-2025-40151
Install update from vendor's repository.
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1011.11