Buffer overflow in Linux kernel - CVE-2025-39942
Published: October 4, 2025
Vulnerability identifier: #VU116474
CSH Severity: Low
CVSS v4 BT: 4.3 [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-39942
CWE-ID: CWE-119
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 memory corruption within the recv_done() function in fs/smb/server/transport_rdma.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Debian Linux
Ubuntu
openEuler
linux (Debian package)
kernel-debugsource
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel-extra-modules
linux (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-realtime (Ubuntu package)
Debian Linux
Ubuntu
openEuler
linux (Debian package)
kernel-debugsource
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-devel
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel-extra-modules
linux (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-realtime (Ubuntu package)
How to mitigate CVE-2025-39942
Install update from vendor's repository.
linux (Debian package) - update to 6.1.158-1
kernel-debugsource - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
bpftool - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
bpftool-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-devel - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-headers - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-source - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-tools - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-tools-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-tools-devel - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
perf - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
perf-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
python3-perf - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
python3-perf-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-extra-modules - update to 6.6.0-129.0.0.127
linux (Ubuntu package) - addressed in versions 6.8.0-106.106, 6.8.0-106.106.1, 6.8.0-106.106.1~22.04.1, 6.8.0-106.106~22.04.1, 6.8.0-1035.38, 6.8.0-1047.48, 6.8.0-1047.48~22.04.1, 6.8.0-1048.53, 6.8.0-1049.49, 6.8.0-1049.49~22.04.1, 6.8.0-1050.53, 6.8.0-1052.55, 6.8.0-1052.55~22.04.1
linux-aws-fips (Ubuntu package) - addressed in versions 6.8.0-106.106+fips1, 6.8.0-1050.53+fips1, 6.8.0-1052.55+fips1
linux-xilinx (Ubuntu package) - update to 6.8.0-1029.30
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1049.52, 6.8.0-1049.52.1, 6.8.0-1049.52~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1050.53~22.04.1
linux-raspi (Ubuntu package) - addressed in versions 6.8.0-1050.54, 6.8.0-2040.41
linux-azure (Ubuntu package) - update to 6.8.0-1051.57
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1052.58+fips1
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1045.46, 6.8.1-1045.46~22.04.1
kernel-debugsource - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
bpftool - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
bpftool-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-devel - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-headers - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-source - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-tools - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-tools-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-tools-devel - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
perf - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
perf-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
python3-perf - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
python3-perf-debuginfo - addressed in versions 6.6.0-129.0.0.114, 6.6.0-129.0.0.127
kernel-extra-modules - update to 6.6.0-129.0.0.127
linux (Ubuntu package) - addressed in versions 6.8.0-106.106, 6.8.0-106.106.1, 6.8.0-106.106.1~22.04.1, 6.8.0-106.106~22.04.1, 6.8.0-1035.38, 6.8.0-1047.48, 6.8.0-1047.48~22.04.1, 6.8.0-1048.53, 6.8.0-1049.49, 6.8.0-1049.49~22.04.1, 6.8.0-1050.53, 6.8.0-1052.55, 6.8.0-1052.55~22.04.1
linux-aws-fips (Ubuntu package) - addressed in versions 6.8.0-106.106+fips1, 6.8.0-1050.53+fips1, 6.8.0-1052.55+fips1
linux-xilinx (Ubuntu package) - update to 6.8.0-1029.30
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1049.52, 6.8.0-1049.52.1, 6.8.0-1049.52~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1050.53~22.04.1
linux-raspi (Ubuntu package) - addressed in versions 6.8.0-1050.54, 6.8.0-2040.41
linux-azure (Ubuntu package) - update to 6.8.0-1051.57
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1052.58+fips1
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1045.46, 6.8.1-1045.46~22.04.1
External References
- https://git.kernel.org/stable/c/196a3a7676d726ee67621ea2bf3b7815ac2685b4
- https://git.kernel.org/stable/c/9644798294c7287e65a7b26e35aa6d2ce3345bcc
- https://git.kernel.org/stable/c/c64b915bb3d9339adcae5db4be2c35ffbef5e615
- https://git.kernel.org/stable/c/d3cb3f209d35c44b7ee74f77ed27ebb28995b9ce
- https://git.kernel.org/stable/c/e1868ba37fd27c6a68e31565402b154beaa65df0
Related Security Bulletins
- Buffer overflow in Linux kernel smb server
- Debian update for linux
- openEuler 24.03 LTS SP2 update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- openEuler 24.03 LTS update for kernel
- Ubuntu update for linux
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-realtime
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-azure-6.8
- Ubuntu update for linux-azure
- Ubuntu update for linux-raspi
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-xilinx