Use-after-free in Linux kernel - CVE-2025-37924

 

Use-after-free in Linux kernel - CVE-2025-37924

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


Vulnerability identifier: #VU109507
CSH Severity: Low
CVSS v4 BT: 5.9 [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/E:U/U:Clear]
CVE-ID: CVE-2025-37924
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the krb5_authenticate() function in fs/smb/server/smb2pdu.c, within the ksmbd_krb5_authenticate() function in fs/smb/server/auth.c. A local user can escalate privileges on the system.


Affected software

Linux kernel
Debian Linux
Ubuntu
Anolis OS
openEuler
linux (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-raspi (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux (Debian package)
kernel-tools
kernel-source
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel
kernel-debugsource
kernel-devel
kernel-headers
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel-tools-debuginfo
kernel-extra-modules
kernel-debug
kernel-debug-devel
kernel-64k-debug-devel
kernel-tools-libs
kernel-tools-libs-devel
kernel-64k
kernel-64k-debug
kernel-64k-devel
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-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-oracle (Ubuntu package)
linux-aws-6.14 (Ubuntu package)

How to mitigate CVE-2025-37924

Install update from vendor's website.

Linux kernel - addressed in versions 6.1.138, 6.6.90, 6.12.28, 6.14.6
linux (Ubuntu package) - addressed in versions 5.15.0.183.154, 5.15.0-183.193, 5.15.0-183.193~20.04.1, 5.15.0.185.108, 5.15.0.185.166, 5.15.0-185.195+fips1, 5.15.0-185.195~20.04.1, 5.15.0-1052.52, 5.15.0.1052.54, 5.15.0-1063.63, 5.15.0-1063.63~20.04.1, 5.15.0.1094.93, 5.15.0-1094.102, 5.15.0.1103.99, 5.15.0-1103.105, 5.15.0.1103.107, 5.15.0-1103.108, 5.15.0.1105.102, 5.15.0.1105.109, 5.15.0-1105.109~20.04.1, 5.15.0.1106.105, 5.15.0.1106.106, 5.15.0-1106.107, 5.15.0-1106.112, 5.15.0.1107.106, 5.15.0-1107.113, 5.15.0.1108.104, 5.15.0-1108.114, 5.15.0.1110.114, 5.15.0-1110.119, 5.15.0.1111.101, 5.15.0.1111.107, 5.15.0.1111.108, 5.15.0.1111.114, 5.15.0-1111.118, 5.15.0-1111.118+fips1, 5.15.0-1111.118~20.04.1, 5.15.0-1111.121, 5.15.0-1111.121+fips1, 5.15.0.1116.114, 5.15.0-1116.125, 5.15.0-1116.125~20.04.1, 6.8.0-100.100, 6.8.0-1047.51, 6.14.0-24.24, 6.14.0-1006.6, 6.14.0-1009.9, 6.14.0-1011.11
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.15.0.1074.77, 5.15.0-1074.78
linux-raspi (Ubuntu package) - addressed in versions 5.15.0.1105.103, 5.15.0-1105.108
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0-1106.112~20.04.1, 5.15.0-1111.121~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1108.114~20.04.1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1116.101, 5.15.0-1116.125+fips1, 6.8.0-1046.52+fips1
linux (Debian package) - update to 6.1.140-1
kernel-tools - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-source - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-debuginfo - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
bpftool-debuginfo - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
bpftool - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-debugsource - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-devel - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-headers - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-devel - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
perf - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
perf-debuginfo - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
python3-perf - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
python3-perf-debuginfo - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-debuginfo - addressed in versions 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-extra-modules - update to 6.6.0-109.0.0.115
kernel-debug - update to 6.6.102-5
kernel - update to 6.6.102-5
bpftool - 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-64k-debug-devel - 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 - update to 6.6.102-5
kernel-64k-debug - update to 6.6.102-5
kernel-64k-devel - update to 6.6.102-5
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, 6.14.0-1009.9
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-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-1007.7
linux-oracle (Ubuntu package) - update to 6.14.0-1009.9
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1009.9~24.04.1

External References

Related Security Bulletins