Input validation error in Linux kernel - CVE-2025-38501
Published: August 18, 2025 / Updated: September 17, 2025
Vulnerability identifier: #VU114192
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-38501
CWE-ID: CWE-20
Exploitation vector: Adjecent network
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to improper input validation within the alloc_transport() and ksmbd_kthread_fn() functions in fs/smb/server/transport_tcp.c. A remote attacker can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Ubuntu
Anolis OS
openEuler
kernel-debugsource
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-devel
kernel-extra-modules
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
kernel-debug
kernel-debug-devel
kernel-tools-libs
kernel-tools-libs-devel
kernel-64k-devel
kernel-64k-debug-devel
kernel-64k-debug
kernel-64k
linux (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-oem-6.14 (Ubuntu package)
linux-realtime-6.14 (Ubuntu package)
linux-aws-6.14 (Ubuntu package)
linux-gcp-6.14 (Ubuntu package)
Ubuntu
Anolis OS
openEuler
kernel-debugsource
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-devel
kernel-extra-modules
kernel-headers
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
kernel-debug
kernel-debug-devel
kernel-tools-libs
kernel-tools-libs-devel
kernel-64k-devel
kernel-64k-debug-devel
kernel-64k-debug
kernel-64k
linux (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-oem-6.14 (Ubuntu package)
linux-realtime-6.14 (Ubuntu package)
linux-aws-6.14 (Ubuntu package)
linux-gcp-6.14 (Ubuntu package)
How to mitigate CVE-2025-38501
Install update from vendor's repository.
kernel-debugsource - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
python3-perf-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
python3-perf - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
perf-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
perf - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
bpftool - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
bpftool-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-devel - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-extra-modules - update to 6.6.0-125.0.0.125
kernel-headers - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-source - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-tools - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-tools-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-tools-devel - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel - update to 6.6.102-5
bpftool - update to 6.6.102-5
kernel-debug - update to 6.6.102-5
kernel-debug-devel - update to 6.6.102-5
kernel-devel - update to 6.6.102-5
kernel-headers - update to 6.6.102-5
kernel-tools - update to 6.6.102-5
kernel-tools-libs - update to 6.6.102-5
kernel-tools-libs-devel - update to 6.6.102-5
perf - update to 6.6.102-5
python3-perf - update to 6.6.102-5
kernel-64k-devel - update to 6.6.102-5
kernel-64k-debug-devel - update to 6.6.102-5
kernel-64k-debug - update to 6.6.102-5
kernel-64k - update to 6.6.102-5
linux (Ubuntu package) - addressed in versions 6.8.0-100.100, 6.8.0-1047.51, 6.14.0-36.36, 6.14.0-36.36~24.04.1, 6.14.0-1016.16~24.04.1, 6.14.0-1017.17, 6.14.0-1020.21
linux-aws-fips (Ubuntu package) - addressed in versions 6.8.0-100.100+fips1, 6.8.0-1046.49+fips1
linux-lowlatency (Ubuntu package) - update to 6.8.0-100.100.1
linux-hwe-6.8 (Ubuntu package) - addressed in versions 6.8.0-100.100.1~22.04.1, 6.8.0-100.100~22.04.1
linux-xilinx (Ubuntu package) - addressed in versions 6.8.0-1023.24, 6.8.0.1023.24
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1030.33, 6.8.0-1043.44, 6.8.0-1043.44~22.04.1, 6.8.0-1046.49~22.04.1
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1043.48, 6.8.0-1047.50~22.04.2
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1044.44, 6.8.0-1044.44~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1046.49.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1046.52, 6.14.0-1017.17, 6.14.0-1017.17~24.04.1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1046.52+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1047.50+fips1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1047.50~22.04.2
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-raspi-realtime (Ubuntu package) - addressed in versions 6.8.0-2037.38, 6.8.1-1041.42
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1041.42~22.04.1
linux-oem-6.14 (Ubuntu package) - update to 6.14.0-1016.16
linux-realtime-6.14 (Ubuntu package) - update to 6.14.0-1016.16~24.04.1
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1017.17~24.04.1
linux-gcp-6.14 (Ubuntu package) - addressed in versions 6.14.0-1018.18, 6.14.0-1020.21~24.04.1
python3-perf-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
python3-perf - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
perf-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
perf - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
bpftool - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
bpftool-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-devel - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-extra-modules - update to 6.6.0-125.0.0.125
kernel-headers - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-source - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-tools - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-tools-debuginfo - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel-tools-devel - addressed in versions 6.6.0-125.0.0.125, 6.6.0-135.0.0.116, 6.6.0-135.0.0.129
kernel - update to 6.6.102-5
bpftool - update to 6.6.102-5
kernel-debug - update to 6.6.102-5
kernel-debug-devel - update to 6.6.102-5
kernel-devel - update to 6.6.102-5
kernel-headers - update to 6.6.102-5
kernel-tools - update to 6.6.102-5
kernel-tools-libs - update to 6.6.102-5
kernel-tools-libs-devel - update to 6.6.102-5
perf - update to 6.6.102-5
python3-perf - update to 6.6.102-5
kernel-64k-devel - update to 6.6.102-5
kernel-64k-debug-devel - update to 6.6.102-5
kernel-64k-debug - update to 6.6.102-5
kernel-64k - update to 6.6.102-5
linux (Ubuntu package) - addressed in versions 6.8.0-100.100, 6.8.0-1047.51, 6.14.0-36.36, 6.14.0-36.36~24.04.1, 6.14.0-1016.16~24.04.1, 6.14.0-1017.17, 6.14.0-1020.21
linux-aws-fips (Ubuntu package) - addressed in versions 6.8.0-100.100+fips1, 6.8.0-1046.49+fips1
linux-lowlatency (Ubuntu package) - update to 6.8.0-100.100.1
linux-hwe-6.8 (Ubuntu package) - addressed in versions 6.8.0-100.100.1~22.04.1, 6.8.0-100.100~22.04.1
linux-xilinx (Ubuntu package) - addressed in versions 6.8.0-1023.24, 6.8.0.1023.24
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1030.33, 6.8.0-1043.44, 6.8.0-1043.44~22.04.1, 6.8.0-1046.49~22.04.1
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1043.48, 6.8.0-1047.50~22.04.2
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1044.44, 6.8.0-1044.44~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1046.49.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1046.52, 6.14.0-1017.17, 6.14.0-1017.17~24.04.1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1046.52+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1047.50+fips1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1047.50~22.04.2
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-raspi-realtime (Ubuntu package) - addressed in versions 6.8.0-2037.38, 6.8.1-1041.42
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1041.42~22.04.1
linux-oem-6.14 (Ubuntu package) - update to 6.14.0-1016.16
linux-realtime-6.14 (Ubuntu package) - update to 6.14.0-1016.16~24.04.1
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1017.17~24.04.1
linux-gcp-6.14 (Ubuntu package) - addressed in versions 6.14.0-1018.18, 6.14.0-1020.21~24.04.1
Links to Public Exploits and PoC-codes
External References
- https://git.kernel.org/stable/c/6073afe64510c302b7a0683a01e32c012eff715d
- https://git.kernel.org/stable/c/7e5d91d3e6c62a9755b36f29c35288f06c3cd86b
- https://git.kernel.org/stable/c/cb092fc3a62972a4aa47c9fe356c2c6a01cd840b
- https://git.kernel.org/stable/c/e6bb9193974059ddbb0ce7763fa3882bd60d4dc3
- https://git.kernel.org/stable/c/f1ce9258bcbce2491f9f71f7882b6eed0b33ec65
- https://git.kernel.org/stable/c/fa1c47af4ff641cf9197ecdb1f8240cbb30389c1
Related Security Bulletins
- Input validation error in Linux kernel smb server
- Anolis OS update for kernel:6.6
- Ubuntu update for linux-oem-6.14
- Ubuntu update for linux-realtime-6.14
- Ubuntu update for linux
- Ubuntu update for linux-aws-6.14
- Ubuntu update for linux-gcp-6.14
- openEuler 24.03 LTS SP2 update for kernel
- Ubuntu update for linux-azure
- openEuler 24.03 LTS SP1 update for kernel
- openEuler 24.03 LTS update for kernel
- Ubuntu update for linux
- Ubuntu update for linux-realtime-6.8
- Ubuntu update for linux-gcp-6.8
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-aws
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux-gcp
- Ubuntu update for linux-nvidia-lowlatency
- Ubuntu update for linux-xilinx
- Ubuntu update for linux-ibm
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure-6.8