Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97499 Overview
CVE-2026-97499 is a race condition in the Linux kernel's Coresight Embedded Trace Macrocell (ETM) perf subsystem. The flaw affects ETM perf callbacks that dereference the per-CPU csdev_src pointer. Updates to this pointer during Coresight device registration and unregistration can race with concurrent perf callback execution. The issue is resolved upstream by retrieving the trace path and source from the AUX event data rather than the per-CPU pointer.
Critical Impact
Concurrent access to csdev_src during Coresight device (un)registration can produce inconsistent pointer reads in ETM perf callbacks, including from NMI contexts handling pause and resume operations.
Affected Products
- Linux kernel (Coresight coresight-etm-perf subsystem)
- Builds enabling ARM Coresight ETM perf tracing
- Distributions tracking upstream stable kernels prior to the fix commits
Discovery Timeline
- 2026-09-24 - CVE-2026-97499 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97499
Vulnerability Analysis
The Coresight ETM perf glue code invokes callbacks that previously resolved the trace source through a per-CPU pointer named csdev_src. This pointer is written when Coresight devices are registered and cleared when they are unregistered. ETM perf callbacks execute asynchronously relative to these updates, including from preemptive contexts such as pause and resume paths that can run from Non-Maskable Interrupt (NMI) handlers.
The upstream fix changes the data flow. The AUX setup already builds and stores the complete trace path inside the event's context data. The patched code calls a new helper etm_event_get_ctxt_path() to retrieve this path, and uses the exported coresight_get_source() to resolve the source from the path. Access is guarded with READ_ONCE() and WRITE_ONCE() accessors, ensuring that pause or resume callbacks preempting a disable callback observe a consistent pointer value.
Root Cause
The root cause is unsynchronized access to the per-CPU csdev_src pointer. Writers mutating the pointer during device (un)registration do not coordinate with readers in ETM perf callbacks. This is a classic kernel race condition between control-plane configuration updates and data-plane callback execution.
Attack Vector
Triggering the race requires local activity that drives Coresight device registration or unregistration concurrently with perf-based ETM tracing. The reported impact is kernel instability from inconsistent pointer dereferences rather than remote exploitation. No public proof of concept, exploit, or CISA KEV entry is associated with CVE-2026-97499.
See the upstream commits for the exact code changes: Kernel Git Commit 0f4cb08 and Kernel Git Commit f37bc31.
Detection Methods for CVE-2026-97499
Indicators of Compromise
- No malware or network IOCs are associated with CVE-2026-97499; this is a local kernel race condition.
- Kernel oops, warnings, or panics referencing coresight, etm_event, or csdev_src in dmesg may indicate the race has been hit.
Detection Strategies
- Audit running kernel versions against the fix commits 0f4cb08 and f37bc31 on affected stable branches.
- Review kernel configuration for CONFIG_CORESIGHT and ETM perf tracing being enabled on production hosts where it is not required.
- Correlate perf tracing activity with Coresight device hot(un)plug events in system logs.
Monitoring Recommendations
- Centralize kernel log collection and alert on BUG, WARN_ON, or null-pointer traces originating from Coresight symbols.
- Track package and kernel versions across the ARM fleet to confirm patched builds are deployed.
- Monitor use of perf record with ETM-based events on hosts that permit non-root users to access perf.
How to Mitigate CVE-2026-97499
Immediate Actions Required
- Apply the upstream Linux kernel patches referenced by commits 0f4cb08f3001 and f37bc31447c0, or pick up a distribution kernel that includes them.
- Restrict perf access by setting kernel.perf_event_paranoid to a value that blocks unprivileged ETM tracing where feasible.
- Where Coresight tracing is not required, disable CONFIG_CORESIGHT in custom kernel builds.
Patch Information
The fix is delivered in the upstream commits 0f4cb08f30011b7625a4fba668fa5c36da5e6637 and f37bc31447c0ddafedb25e3c4a4f4e2284034247. These changes export coresight_get_source(), introduce etm_event_get_ctxt_path(), and switch ETM perf callbacks to retrieve the source from the event context path using READ_ONCE() and WRITE_ONCE() accessors.
Workarounds
- Avoid concurrent Coresight device registration or unregistration while ETM perf sessions are active on affected kernels.
- Limit perf tracing privileges to trusted administrators until a patched kernel is deployed.
- Disable Coresight ETM perf features in kernel configuration on systems that do not require hardware tracing.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

