CVE-2025-68376
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68376 is a use-after-free vulnerability in the Linux kernel's CoreSight ETR (Embedded Trace Router) subsystem. When ETR is operating in CS_MODE_SYSFS mode and the buffer size is changed before re-enabling the device, the sysfs_buf pointer is updated to newly allocated memory (buf_new) while the old buffer (buf_old) is freed — but the ETR's internal etr_buf pointer still references the freed buf_old, resulting in a use-after-free condition. The vulnerability was published on December 24, 2025, and affects Linux kernel versions starting from commit bd2767ec3df2 up to the fixes applied in stable branches. Feedly estimates the severity as HIGH, with an EPSS score of 0.00017 (Feedly, ENISA EUVD).

Technical details

The root cause is a use-after-free (CWE-416) in the CoreSight ETR driver (drivers/hwtracing/coresight/). When a user changes the ETR buffer size via sysfs while the ETR is active in CS_MODE_SYSFS mode, the driver allocates a new buffer (buf_new), updates sysfs_buf to point to it, and frees the old buffer (buf_old). However, the ETR hardware's active etr_buf pointer is not updated and continues to reference the now-freed buf_old memory. The fix checks the ETR's current mode before releasing buf_old: if the mode is CS_MODE_SYSFS, the update and release of buf_old are skipped to prevent the dangling pointer condition. Patches are available in the stable kernel tree at commits 70acbc9c, cda077a1, and 35501ac3 (Kernel Git, Kernel Git, Kernel Git).

Impact

Successful exploitation of this use-after-free vulnerability could allow a local attacker with access to the CoreSight sysfs interface to corrupt kernel memory, potentially leading to privilege escalation, kernel crashes (denial of service), or arbitrary code execution in kernel context. The vulnerability is confined to systems with CoreSight ETR hardware (typically ARM-based embedded or mobile platforms) and requires local access to the sysfs interface to trigger the buffer size change sequence. Data integrity and system availability are the primary concerns, as kernel memory corruption can destabilize the entire system (Feedly).

Mitigation and workarounds

Apply the upstream Linux kernel patches that fix the ETR buffer use-after-free issue. The fixes have been backported to stable branches and are available at kernel commits 70acbc9c (targeting one stable branch), cda077a19f5c (another stable branch), and 35501ac3c7d4 (a third stable branch), with patched versions including Linux 6.17.13, 6.18.2, and 6.19-rc1. Users on affected kernel versions should update to a patched release as soon as their distribution makes it available. As a temporary workaround, restricting unprivileged user access to the CoreSight sysfs interface (e.g., via appropriate file permissions or disabling the CoreSight ETR driver if not needed) can reduce exposure (Kernel Git, Kernel Git, Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management