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

 

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

Published: January 14, 2026


Vulnerability identifier: #VU121373
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-68817
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 smb2_tree_disconnect() function in fs/smb/server/smb2pdu.c. A local user can escalate privileges on the system.


Affected software

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

How to mitigate CVE-2025-68817

Install update from vendor's repository.

linux (Ubuntu package) - addressed in versions 5.15.0.175.148, 5.15.0-175.185, 5.15.0-175.185~20.04.1, 5.15.0.176.161, 5.15.0-176.186, 5.15.0.1088.87, 5.15.0-1088.96, 5.15.0.1100.100, 5.15.0-1100.101, 5.15.0.1101.100, 5.15.0-1101.107~20.04.1, 5.15.0.1102.98, 5.15.0-1102.108, 5.15.0.1105.101, 5.15.0.1105.108, 5.15.0-1105.112, 5.15.0-1105.112~20.04.1, 5.15.0-1105.114, 6.8.0-110.110, 6.8.0-110.110.1, 6.8.0-110.110.1~22.04.1, 6.8.0-1037.40, 6.8.0-1050.56, 6.8.0-1051.51, 6.8.0-1052.55~22.04.1, 6.8.0-1054.57, 6.17.0-22.22, 6.17.0-1010.11
linux-fips (Ubuntu package) - addressed in versions 5.15.0.176.102, 5.15.0-176.186+fips1, 5.15.0.1105.95, 5.15.0-1105.114+fips1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-176.186~20.04.1
linux-nvidia-tegra (Ubuntu package) - addressed in versions 5.15.0-1046.46+1, 5.15.0.1046.48, 5.15.0-1057.57, 6.8.0-1022.22
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1057.57~20.04.1
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.15.0.1070.73, 5.15.0-1070.74
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1097.93, 5.15.0-1097.102, 5.15.0.1100.99, 5.15.0-1100.106, 5.15.0-1100.106~20.04.1, 5.15.0-1102.108~20.04.1, 5.15.0.1110.108, 5.15.0-1110.119, 6.8.0-1054.60, 6.17.0-1013.13, 6.17.0-1013.13~24.04.1, 6.17.0-1020.20
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1097.99, 5.15.0.1097.101, 5.15.0.1104.108, 5.15.0-1104.113
linux-ibm (Ubuntu package) - addressed in versions 5.15.0.1099.95, 5.15.0-1099.102, 5.15.0-1099.102~20.04.1
linux-raspi (Ubuntu package) - addressed in versions 5.15.0.1099.97, 5.15.0-1099.102, 6.17.0-1014.14
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1110.95, 5.15.0-1110.119+fips1, 6.8.0-1054.60+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1110.119~20.04.1
linux (Debian package) - addressed in versions 6.1.162-1, 6.12.69-1
bpftool-debuginfo - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-devel - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-headers - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
perf-debuginfo - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-source - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
python3-perf - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
python3-perf-debuginfo - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-tools - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-tools-debuginfo - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-tools-devel - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
perf - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
bpftool - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-debugsource - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-debuginfo - addressed in versions 6.6.0-144.0.0.139, 6.6.0-145.0.0.128, 6.6.0-145.0.0.141
kernel-extra-modules - update to 6.6.0-145.0.0.141
linux-aws-fips (Ubuntu package) - addressed in versions 6.8.0-110.110+fips2, 6.8.0-1052.55+fips1, 6.8.0-1054.57+fips1
linux-hwe-6.8 (Ubuntu package) - addressed in versions 6.8.0-110.110~22.04.1, 6.8.0-1051.51~22.04.1, 6.8.0-1052.56
linux-xilinx (Ubuntu package) - update to 6.8.0-1029.30
linux-oracle (Ubuntu package) - addressed in versions 6.8.0-1049.50, 6.8.0-1049.50~22.04.1
linux-nvidia (Ubuntu package) - addressed in versions 6.8.0-1051.54, 6.8.0-1051.54~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1051.54.1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1054.57~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2042.43
linux-realtime (Ubuntu package) - update to 6.8.1-1047.48
linux-aws (Ubuntu package) - addressed in versions 6.17.0-22.22~24.04.1, 6.17.0-1011.11, 6.17.0-1011.11~24.04.1, 6.17.0-1012.12, 6.17.0-1012.12~24.04.1
linux-realtime-6.17 (Ubuntu package) - update to 6.17.0-1010.11~24.04.1
linux-gcp (Ubuntu package) - addressed in versions 6.17.0-1012.12, 6.17.0-1012.12~24.04.1

External References

Related Security Bulletins