Out-of-bounds read in Linux kernel - CVE-2025-37947

 

Out-of-bounds read in Linux kernel - CVE-2025-37947

Published: May 21, 2025 / Updated: November 14, 2025


Vulnerability identifier: #VU109515
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-37947
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to an out-of-bounds read error within the ksmbd_vfs_stream_write() function in fs/smb/server/vfs.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Debian Linux
openEuler
Ubuntu
Anolis OS
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
linux (Debian package)
kernel-64k-debug-devel
kernel-64k-devel
kernel-64k-debug
kernel-64k
kernel-tools-libs-devel
kernel-tools-libs
kernel-debug-devel
kernel-debug
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-hwe-6.14 (Ubuntu package)

How to mitigate CVE-2025-37947

Install update from vendor's website.

kernel - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
bpftool - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
bpftool-debuginfo - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-debuginfo - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
python3-perf-debuginfo - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
python3-perf - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
perf-debuginfo - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
perf - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-tools-devel - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-tools-debuginfo - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-tools - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-source - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-headers - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-devel - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
kernel-debugsource - addressed in versions 5.10.0-301.0.0.204, 6.6.0-145.0.12.138, 6.6.0-145.1.12.150
linux (Debian package) - update to 6.1.140-1
kernel-tools - update to 6.6.102-5
kernel-64k-debug-devel - update to 6.6.102-5
kernel-64k-devel - update to 6.6.102-5
kernel-64k-debug - update to 6.6.102-5
kernel-64k - update to 6.6.102-5
python3-perf - update to 6.6.102-5
perf - update to 6.6.102-5
kernel-tools-libs-devel - update to 6.6.102-5
kernel-tools-libs - update to 6.6.102-5
kernel-headers - update to 6.6.102-5
kernel-devel - update to 6.6.102-5
kernel-debug-devel - update to 6.6.102-5
kernel-debug - update to 6.6.102-5
kernel - update to 6.6.102-5
bpftool - 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-28.28, 6.14.0-1010.10~24.04.1, 6.14.0-1011.11, 6.14.0-1011.11~24.04.1, 6.14.0-1012.12~24.04.1, 6.14.0-1014.15, 6.14.0-1014.15~24.04.1
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) - update to 6.8.0-1046.52
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-hwe-6.14 (Ubuntu package) - addressed in versions 6.14.0-28.28~24.04.1, 6.14.0-1010.10

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins