Integer overflow in Linux kernel - CVE-2025-21748

 

Integer overflow in Linux kernel - CVE-2025-21748

Published: February 27, 2025 / Updated: May 11, 2025


Vulnerability identifier: #VU105050
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-21748
CWE-ID: CWE-190
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to integer overflow within the ksmbd_ipc_spnego_authen_request(), ksmbd_rpc_write() and ksmbd_rpc_ioctl() functions in fs/smb/server/transport_ipc.c. A local user can execute arbitrary code.


Affected software

Linux kernel
Debian Linux
Ubuntu
openEuler
linux (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gke (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-lowlatency-hwe-5.15 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-realtime (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-ibm (Ubuntu package)
linux-intel-iotg-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-6.1 (Debian package)
bpftool
kernel
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
linux-hwe-5.15 (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)

How to mitigate CVE-2025-21748

Install update from vendor's website.

Linux kernel - update to 6.13.3
linux (Ubuntu package) - addressed in versions 5.15.0-140.150, 6.8.0-64.67, 6.8.0-1031.31, 6.8.0-1032.34~22.04.1, 6.11.0-26.26~24.04.1, 6.11.0-26.26, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15~24.04.1, 6.11.0-1015.15, 6.11.0-1022.22
linux-kvm (Ubuntu package) - update to 5.15.0-1080.85
linux-aws (Ubuntu package) - addressed in versions 5.15.0-1084.91, 6.11.0-1014.15
linux-gcp (Ubuntu package) - addressed in versions 5.15.0-1083.92, 6.8.0-1033.35~22.04.1, 6.8.0-1033.35
linux-azure (Ubuntu package) - addressed in versions 5.15.0-1089.98, 6.8.0-1022.23, 6.8.0-1034.39~22.04.1, 6.8.0-1034.39
linux-raspi (Ubuntu package) - addressed in versions 5.15.0-1078.81, 6.8.0-1031.35
linux-oracle (Ubuntu package) - update to 5.15.0-1081.87
linux-lowlatency (Ubuntu package) - addressed in versions 5.15.0-140.150, 6.11.0-1014.15~24.04.1, 6.11.0-1014.15, 6.11.0-1016.17
linux-gke (Ubuntu package) - update to 5.15.0-1081.87
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1084.91~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-140.150~20.04.1
linux-fips (Ubuntu package) - update to 5.15.0-140.150+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1089.98~20.04.1
linux-nvidia-tegra-igx (Ubuntu package) - update to 5.15.0-1026.26
linux-realtime (Ubuntu package) - addressed in versions 5.15.0-1084.93, 6.8.1-1025.26
linux-nvidia-tegra (Ubuntu package) - update to 5.15.0-1037.37
linux-nvidia (Ubuntu package) - update to 5.15.0-1078.79
linux-intel-iotg (Ubuntu package) - update to 5.15.0-1079.85
linux-gkeop (Ubuntu package) - update to 5.15.0-1066.74
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1076.79~20.04.1
linux-ibm (Ubuntu package) - addressed in versions 5.15.0-1076.79, 6.8.0-64.67.1~22.04.1, 6.8.0-64.67.1, 6.8.0-1029.29~22.04.1, 6.8.0-1029.29
linux-intel-iotg-5.15 (Ubuntu package) - update to 5.15.0-1079.85~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1081.87~20.04.1
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1077.79
linux-gcp-fips (Ubuntu package) - update to 5.15.0-1083.92+fips1
linux-aws-fips (Ubuntu package) - update to 5.15.0-1084.91+fips1
linux-azure-fips (Ubuntu package) - update to 5.15.0-1089.98+fips1
linux-6.1 (Debian package) - update to 6.1.129-1~deb11u1
bpftool - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-source - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-headers - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debugsource - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
bpftool-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
linux-hwe-5.15 (Ubuntu package) - addressed in versions 5.15.0-142.152~20.04.1, 5.15.0.142.152~20.04.1
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.15.0-1050.54, 5.15.0.1050.53
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0-1083.92~20.04.1, 5.15.0.1083.92~20.04.1
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-64.67~22.04.1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1015.17, 6.8.0-1028.32, 6.8.0-1029.30~22.04.1, 6.8.0-1029.30, 6.8.0-1031.34~22.04.1, 6.8.0-1031.34, 6.8.0-1031.34.1, 6.8.0-1032.34~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2026.27

External References

Related Security Bulletins