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-gcp-5.15 (Ubuntu package)
linux (Debian package)
linux-6.1 (Debian package)
linux (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-raspi (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-realtime (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-lowlatency-hwe-6.8 (Ubuntu package)
linux-fips (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-nvidia-6.8 (Ubuntu package)
linux-gke (Ubuntu package)
linux-ibm-6.8 (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux-hwe-6.17 (Ubuntu package)
linux-gcp-6.17 (Ubuntu package)
linux-oracle-6.17 (Ubuntu package)
linux-azure-6.17 (Ubuntu package)
linux-oem-6.17 (Ubuntu package)
linux-aws-6.17 (Ubuntu package)
linux-realtime-6.17 (Ubuntu package)
kernel-headers
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel
kernel-extra-modules
linux-hwe-5.15 (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-xilinx (Ubuntu package)

How to mitigate CVE-2025-68817

Install update from vendor's repository.

linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1106.115~20.04.1
linux (Debian package) - addressed in versions 6.1.162-1, 6.12.69-1
linux-6.1 (Debian package) - update to 6.1.162-1~deb11u1
linux (Ubuntu package) - addressed in versions 5.15.0-175.185~20.04.1, 5.15.0-175.185, 5.15.0-176.186, 5.15.0-1088.96, 5.15.0-1100.101, 5.15.0-1101.107~20.04.1, 5.15.0-1102.108, 5.15.0-1105.112~20.04.1, 5.15.0-1105.112, 5.15.0-1105.114, 5.15.0.175.148, 5.15.0.176.161, 5.15.0.1088.87, 5.15.0.1100.100, 5.15.0.1101.100, 5.15.0.1102.98, 5.15.0.1105.101, 5.15.0.1105.108, 6.8.0-110.110, 6.17.0-22.22
linux-lowlatency (Ubuntu package) - update to 6.8.0-110.110.1
linux-raspi (Ubuntu package) - addressed in versions 5.15.0-1099.102, 5.15.0.1099.97, 6.8.0-1052.56, 6.17.0-1014.14
linux-azure (Ubuntu package) - addressed in versions 5.15.0-1097.102, 5.15.0-1100.106~20.04.1, 5.15.0-1100.106, 5.15.0-1102.108~20.04.1, 5.15.0-1110.119, 5.15.0.1097.93, 5.15.0.1100.99, 5.15.0.1110.108, 6.8.0-1054.60, 6.17.0-1013.13
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1054.57, 6.17.0-1012.12
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1052.55, 6.17.0-1012.12
linux-ibm (Ubuntu package) - addressed in versions 5.15.0-1099.102~20.04.1, 5.15.0-1099.102, 5.15.0.1099.95, 6.8.0-1051.51
linux-oracle (Ubuntu package) - addressed in versions 6.8.0-1049.50, 6.17.0-1011.11
linux-nvidia (Ubuntu package) - update to 6.8.0-1051.54
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1047.48, 6.17.0-1010.11
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-110.110~22.04.1
linux-lowlatency-hwe-6.8 (Ubuntu package) - update to 6.8.0-110.110.1~22.04.1
linux-fips (Ubuntu package) - addressed in versions 5.15.0-176.186+fips1, 5.15.0-1105.114+fips1, 5.15.0.176.102, 5.15.0.1105.95, 6.8.0-110.110+fips2
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1052.55~22.04.1
linux-nvidia-tegra (Ubuntu package) - addressed in versions 5.15.0-1046.46+1, 5.15.0-1057.57, 5.15.0.1046.48, 6.8.0-1022.22
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1049.50~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1051.54.1
linux-gkeop (Ubuntu package) - update to 6.8.0-1037.40
linux-nvidia-6.8 (Ubuntu package) - update to 6.8.0-1051.54~22.04.1
linux-gke (Ubuntu package) - update to 6.8.0-1050.56
linux-ibm-6.8 (Ubuntu package) - update to 6.8.0-1051.51~22.04.1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1054.57~22.04.1
linux-aws-fips (Ubuntu package) - update to 6.8.0-1052.55+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1054.57+fips1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2042.43
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1047.48~22.04.1
linux-hwe-6.17 (Ubuntu package) - update to 6.17.0-22.22~24.04.1
linux-gcp-6.17 (Ubuntu package) - update to 6.17.0-1012.12~24.04.1
linux-oracle-6.17 (Ubuntu package) - update to 6.17.0-1011.11~24.04.1
linux-azure-6.17 (Ubuntu package) - update to 6.17.0-1013.13~24.04.1
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1020.20
linux-aws-6.17 (Ubuntu package) - update to 6.17.0-1012.12~24.04.1
linux-realtime-6.17 (Ubuntu package) - update to 6.17.0-1010.11~24.04.1
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
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
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
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
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-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
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 - 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
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-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
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
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 - 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-hwe-5.15 (Ubuntu package) - update to 5.15.0-176.186~20.04.1
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.74, 5.15.0.1070.73
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1097.99, 5.15.0-1104.113, 5.15.0.1097.101, 5.15.0.1104.108
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1110.119~20.04.1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0-1110.119+fips1, 5.15.0.1110.95, 6.8.0-1054.60+fips1
linux-xilinx (Ubuntu package) - update to 6.8.0-1029.30

External References

Related Security Bulletins