Use-after-free in Linux kernel - CVE-2025-68265
Published: December 16, 2025
Vulnerability identifier: #VU120024
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-68265
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 nvme_remove_admin_tag_set() and nvme_free_ctrl() functions in drivers/nvme/host/core.c. A local user can escalate privileges on the system.
Affected software
Linux kernel
Debian Linux
Ubuntu
openEuler
linux (Debian package)
perf
python3-perf-debuginfo
python3-perf
perf-debuginfo
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel
kernel-extra-modules
linux (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-nvidia-tegra (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-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-gcp-6.17 (Ubuntu package)
linux-realtime-6.17 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oem-6.17 (Ubuntu package)
Debian Linux
Ubuntu
openEuler
linux (Debian package)
perf
python3-perf-debuginfo
python3-perf
perf-debuginfo
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel
kernel-extra-modules
linux (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-nvidia-tegra (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-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-gcp-6.17 (Ubuntu package)
linux-realtime-6.17 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oem-6.17 (Ubuntu package)
How to mitigate CVE-2025-68265
Install update from vendor's repository.
linux (Debian package) - update to 6.1.170-1
perf - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
python3-perf-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
python3-perf - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
perf-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-tools-devel - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-tools-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-tools - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-source - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-headers - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-devel - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-debugsource - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
bpftool-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
bpftool - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-extra-modules - update to 6.6.0-144.0.0.140
linux (Ubuntu package) - addressed in versions 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-19.19, 6.17.0-19.19~24.04.2, 6.17.0-1009.9, 6.17.0-1009.9~24.04.1, 6.17.0-1009.9~24.04.2
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-nvidia-tegra (Ubuntu package) - update to 6.8.0-1022.22
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-azure (Ubuntu package) - addressed in versions 6.8.0-1054.60, 6.17.0-1010.10, 6.17.0-1010.10~24.04.1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1054.60+fips1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2042.43
linux-realtime (Ubuntu package) - update to 6.8.1-1047.48
linux-gcp-6.17 (Ubuntu package) - addressed in versions 6.17.0-1008.9, 6.17.0-1009.9~24.04.3
linux-realtime-6.17 (Ubuntu package) - update to 6.17.0-1008.9~24.04.1
linux-raspi (Ubuntu package) - update to 6.17.0-1010.10
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1017.17
perf - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
python3-perf-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
python3-perf - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
perf-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-tools-devel - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-tools-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-tools - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-source - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-headers - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-devel - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-debugsource - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
bpftool-debuginfo - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
bpftool - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel - addressed in versions 6.6.0-144.0.0.127, 6.6.0-144.0.0.139, 6.6.0-144.0.0.140
kernel-extra-modules - update to 6.6.0-144.0.0.140
linux (Ubuntu package) - addressed in versions 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-19.19, 6.17.0-19.19~24.04.2, 6.17.0-1009.9, 6.17.0-1009.9~24.04.1, 6.17.0-1009.9~24.04.2
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-nvidia-tegra (Ubuntu package) - update to 6.8.0-1022.22
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-azure (Ubuntu package) - addressed in versions 6.8.0-1054.60, 6.17.0-1010.10, 6.17.0-1010.10~24.04.1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1054.60+fips1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2042.43
linux-realtime (Ubuntu package) - update to 6.8.1-1047.48
linux-gcp-6.17 (Ubuntu package) - addressed in versions 6.17.0-1008.9, 6.17.0-1009.9~24.04.3
linux-realtime-6.17 (Ubuntu package) - update to 6.17.0-1008.9~24.04.1
linux-raspi (Ubuntu package) - update to 6.17.0-1010.10
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1017.17
External References
Related Security Bulletins
- Use-after-free in Linux kernel nvme host driver
- openEuler 24.03 LTS SP2 update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- openEuler 24.03 LTS update for kernel
- Ubuntu update for linux
- Ubuntu update for linux-gcp-6.17
- Ubuntu update for linux-realtime-6.17
- Ubuntu update for linux-azure
- Ubuntu update for linux-raspi
- Ubuntu update for linux-oem-6.17
- Ubuntu update for linux
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-realtime
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-oracle
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-nvidia-lowlatency
- Ubuntu update for linux-gcp-6.8
- Ubuntu update for linux-xilinx
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure
- Ubuntu update for linux-nvidia-tegra
- Debian update for linux