Use of uninitialized resource in Linux kernel - CVE-2025-40214
Published: December 4, 2025
Vulnerability identifier: #VU119199
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-40214
CWE-ID: CWE-908
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 use of uninitialized resource within the unix_add_edge(), __unix_walk_scc() and unix_walk_scc() functions in net/unix/garbage.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Anolis OS
Debian Linux
Ubuntu
linux-6.1 (Debian package)
linux (Ubuntu package)
linux-realtime (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-raspi (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-oem-6.17 (Ubuntu package)
bpftool
python3-perf
perf
kernel-tools-libs-devel
kernel-tools-libs
kernel-tools
kernel-modules-internal
kernel-modules-extra
kernel-modules
kernel-headers
kernel-debug-modules-internal
kernel-debug-modules-extra
kernel-debug-modules
kernel-debug-devel
kernel-debug-core
kernel-debug
kernel-core
kernel
kernel-devel
Anolis OS
Debian Linux
Ubuntu
linux-6.1 (Debian package)
linux (Ubuntu package)
linux-realtime (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-raspi (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-oem-6.17 (Ubuntu package)
bpftool
python3-perf
perf
kernel-tools-libs-devel
kernel-tools-libs
kernel-tools
kernel-modules-internal
kernel-modules-extra
kernel-modules
kernel-headers
kernel-debug-modules-internal
kernel-debug-modules-extra
kernel-debug-modules
kernel-debug-devel
kernel-debug-core
kernel-debug
kernel-core
kernel
kernel-devel
How to mitigate CVE-2025-40214
Install update from vendor's repository.
linux-6.1 (Debian package) - update to 6.1.159-1~deb11u1
linux (Ubuntu package) - update to 6.17.0-12.12
linux-realtime (Ubuntu package) - update to 6.17.0-1005.6
linux-azure (Ubuntu package) - update to 6.17.0-1007.7
linux-oracle (Ubuntu package) - update to 6.17.0-1006.6
linux-raspi (Ubuntu package) - update to 6.17.0-1007.7
linux-aws (Ubuntu package) - update to 6.17.0-1006.6
linux-gcp (Ubuntu package) - update to 6.17.0-1006.6
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1010.10
bpftool - addressed in versions 5.10.134-19.3, 6.6.102-6
python3-perf - addressed in versions 5.10.134-19.3, 6.6.102-6
perf - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools-libs-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools-libs - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-modules-internal - update to 5.10.134-19.3
kernel-modules-extra - update to 5.10.134-19.3
kernel-modules - update to 5.10.134-19.3
kernel-headers - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-modules-internal - update to 5.10.134-19.3
kernel-debug-modules-extra - update to 5.10.134-19.3
kernel-debug-modules - update to 5.10.134-19.3
kernel-debug-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-core - update to 5.10.134-19.3
kernel-debug - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-core - update to 5.10.134-19.3
kernel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
linux (Ubuntu package) - update to 6.17.0-12.12
linux-realtime (Ubuntu package) - update to 6.17.0-1005.6
linux-azure (Ubuntu package) - update to 6.17.0-1007.7
linux-oracle (Ubuntu package) - update to 6.17.0-1006.6
linux-raspi (Ubuntu package) - update to 6.17.0-1007.7
linux-aws (Ubuntu package) - update to 6.17.0-1006.6
linux-gcp (Ubuntu package) - update to 6.17.0-1006.6
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1010.10
bpftool - addressed in versions 5.10.134-19.3, 6.6.102-6
python3-perf - addressed in versions 5.10.134-19.3, 6.6.102-6
perf - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools-libs-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools-libs - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-modules-internal - update to 5.10.134-19.3
kernel-modules-extra - update to 5.10.134-19.3
kernel-modules - update to 5.10.134-19.3
kernel-headers - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-modules-internal - update to 5.10.134-19.3
kernel-debug-modules-extra - update to 5.10.134-19.3
kernel-debug-modules - update to 5.10.134-19.3
kernel-debug-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-core - update to 5.10.134-19.3
kernel-debug - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-core - update to 5.10.134-19.3
kernel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-devel - addressed in versions 5.10.134-19.3, 6.6.102-6