Use-after-free in Linux kernel - CVE-2025-37924
Published: May 21, 2025 / Updated: May 21, 2025
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
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
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
- https://git.kernel.org/stable/c/28c756738af44a404a91b77830d017bb0c525890
- https://git.kernel.org/stable/c/b447463562238428503cfba1c913261047772f90
- https://git.kernel.org/stable/c/e18c616718018dfc440e4a2d2b94e28fe91b1861
- https://git.kernel.org/stable/c/e34a33d5d7e87399af0a138bb32f6a3e95dd83d2
- https://git.kernel.org/stable/c/e86e9134e1d1c90a960dd57f59ce574d27b9a124
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.138
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.28
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.14.6
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.90
Related Security Bulletins
- Use-after-free in Linux kernel smb server
- Debian update for linux
- Ubuntu update for linux-oem-6.14
- Ubuntu update for linux
- Ubuntu update for linux-aws
- Ubuntu update for linux-oracle
- Ubuntu update for linux-aws-6.14
- openEuler 24.03 LTS SP2 update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- openEuler 24.03 LTS update for kernel
- Anolis OS update for kernel:6.6
- 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
- Ubuntu update for linux
- Ubuntu update for linux-oracle-5.15
- Ubuntu update for linux-xilinx-zynqmp
- Ubuntu update for linux-raspi
- Ubuntu update for linux-gcp-5.15
- Ubuntu update for linux-azure-fips