Use-after-free in Linux kernel - CVE-2025-68376
Published: December 26, 2025
Vulnerability identifier: #VU120405
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-68376
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 tmc_etr_get_sysfs_buffer() function in drivers/hwtracing/coresight/coresight-tmc-etr.c. A local user can escalate privileges on the system.
Affected software
Linux kernel
Debian Linux
Ubuntu
openEuler
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-realtime (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-fde-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-nvidia-6.8 (Ubuntu package)
linux-gke (Ubuntu package)
linux-vmware (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-azure-fips (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux (Debian package)
linux-6.12 (Debian package)
linux-raspi (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)
python3-perf-debuginfo
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-headers
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
kernel-source
kernel-extra-modules
linux-realtime-6.17 (Ubuntu package)
Debian Linux
Ubuntu
openEuler
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-realtime (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-fde-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-oracle-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-nvidia-6.8 (Ubuntu package)
linux-gke (Ubuntu package)
linux-vmware (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-azure-fips (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)
linux (Debian package)
linux-6.12 (Debian package)
linux-raspi (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)
python3-perf-debuginfo
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-headers
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
kernel-source
kernel-extra-modules
linux-realtime-6.17 (Ubuntu package)
How to mitigate CVE-2025-68376
Install update from vendor's repository.
linux (Ubuntu package) - addressed in versions 6.8.0-151.151, 6.17.0-19.19
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1074.83, 6.17.0-1010.10
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1074.82, 6.17.0-1009.9
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1070.76, 6.17.0-1009.9
linux-ibm (Ubuntu package) - update to 6.8.0-1070.71
linux-oracle (Ubuntu package) - addressed in versions 6.8.0-1068.72, 6.17.0-1009.9
linux-azure-fde (Ubuntu package) - update to 6.8.0-1072.79
linux-nvidia (Ubuntu package) - update to 6.8.0-1068.71
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1065.66, 6.17.0-1008.9
linux-fips (Ubuntu package) - update to 6.8.0-151.151+fips1
linux-azure-fde-6.8 (Ubuntu package) - update to 6.8.0-1072.79~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1070.76~22.04.1
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1068.72~22.04.1
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1074.83~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1068.71.1
linux-gkeop (Ubuntu package) - update to 6.8.0-1054.58
linux-nvidia-6.8 (Ubuntu package) - update to 6.8.0-1068.71~22.04.1
linux-gke (Ubuntu package) - update to 6.8.0-1069.78
linux-vmware (Ubuntu package) - update to 6.8.0-1011.11
linux-ibm-6.8 (Ubuntu package) - update to 6.8.0-1070.71~22.04.1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1074.82~22.04.1
linux-aws-fips (Ubuntu package) - update to 6.8.0-1070.76+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1074.82+fips1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1074.83+fips1
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1065.66~22.04.1
linux (Debian package) - update to 6.12.115-2
linux-6.12 (Debian package) - update to 6.12.115-2~deb12u1
linux-raspi (Ubuntu package) - update to 6.17.0-1010.10
linux-hwe-6.17 (Ubuntu package) - update to 6.17.0-19.19~24.04.2
linux-gcp-6.17 (Ubuntu package) - update to 6.17.0-1009.9~24.04.3
linux-oracle-6.17 (Ubuntu package) - update to 6.17.0-1009.9~24.04.1
linux-azure-6.17 (Ubuntu package) - update to 6.17.0-1010.10~24.04.1
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1017.17
linux-aws-6.17 (Ubuntu package) - update to 6.17.0-1009.9~24.04.2
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
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
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
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
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
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-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-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-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-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-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
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
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
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-extra-modules - update to 6.6.0-144.0.0.140
linux-realtime-6.17 (Ubuntu package) - update to 6.17.0-1008.9~24.04.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1074.83, 6.17.0-1010.10
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1074.82, 6.17.0-1009.9
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1070.76, 6.17.0-1009.9
linux-ibm (Ubuntu package) - update to 6.8.0-1070.71
linux-oracle (Ubuntu package) - addressed in versions 6.8.0-1068.72, 6.17.0-1009.9
linux-azure-fde (Ubuntu package) - update to 6.8.0-1072.79
linux-nvidia (Ubuntu package) - update to 6.8.0-1068.71
linux-realtime (Ubuntu package) - addressed in versions 6.8.1-1065.66, 6.17.0-1008.9
linux-fips (Ubuntu package) - update to 6.8.0-151.151+fips1
linux-azure-fde-6.8 (Ubuntu package) - update to 6.8.0-1072.79~22.04.1
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1070.76~22.04.1
linux-oracle-6.8 (Ubuntu package) - update to 6.8.0-1068.72~22.04.1
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1074.83~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1068.71.1
linux-gkeop (Ubuntu package) - update to 6.8.0-1054.58
linux-nvidia-6.8 (Ubuntu package) - update to 6.8.0-1068.71~22.04.1
linux-gke (Ubuntu package) - update to 6.8.0-1069.78
linux-vmware (Ubuntu package) - update to 6.8.0-1011.11
linux-ibm-6.8 (Ubuntu package) - update to 6.8.0-1070.71~22.04.1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1074.82~22.04.1
linux-aws-fips (Ubuntu package) - update to 6.8.0-1070.76+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1074.82+fips1
linux-azure-fips (Ubuntu package) - update to 6.8.0-1074.83+fips1
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1065.66~22.04.1
linux (Debian package) - update to 6.12.115-2
linux-6.12 (Debian package) - update to 6.12.115-2~deb12u1
linux-raspi (Ubuntu package) - update to 6.17.0-1010.10
linux-hwe-6.17 (Ubuntu package) - update to 6.17.0-19.19~24.04.2
linux-gcp-6.17 (Ubuntu package) - update to 6.17.0-1009.9~24.04.3
linux-oracle-6.17 (Ubuntu package) - update to 6.17.0-1009.9~24.04.1
linux-azure-6.17 (Ubuntu package) - update to 6.17.0-1010.10~24.04.1
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1017.17
linux-aws-6.17 (Ubuntu package) - update to 6.17.0-1009.9~24.04.2
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
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
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
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
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
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-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-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-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-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-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
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
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
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-extra-modules - update to 6.6.0-144.0.0.140
linux-realtime-6.17 (Ubuntu package) - update to 6.17.0-1008.9~24.04.1
External References
Related Security Bulletins
- Use-after-free in Linux kernel hwtracing coresight 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
- Debian update for linux
- Ubuntu update for linux-gcp-fips
- Ubuntu update for linux, linux-aws, linux-aws-fips and more
- Ubuntu update for linux-oracle
- Ubuntu update for linux-aws-6.8, linux-realtime, linux-realtime-6.8
- Ubuntu update for linux-fips
- Ubuntu update for linux-nvidia-lowlatency
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-azure, linux-azure-6.8, linux-azure-fde and more
- Ubuntu update for linux-nvidia-6.8
- Debian update for linux-6.12