CVE-2026-97499
JSON

Not scored

coresight: perf: Retrieve path and source from event data

Severity
Not scored
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: coresight: perf: Retrieve path and source from event data ETM perf callbacks currently use the per-CPU csdev_src pointer, which can race with updates during device registration and unregistration. The AUX setup already builds and stores the path in the event data. Use this path to retrieve the source instead of csdev_src to avoid the race. Export coresight_get_source() and add etm_event_get_ctxt_path() to retrieve the context's path and its source with READ_ONCE() / WRITE_ONCE() accessors. Give the comments to explain why this approach is safe when pause or resume callbacks preempt the disable callback (e.g. via NMI).

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0bcbf2e30ff2271b54f54c8697a185f7d86ec6e4 before 0f4cb08f30011b7625a4fba668fa5c36da5e6637, from 0bcbf2e30ff2271b54f54c8697a185f7d86ec6e4 before f37bc31447c0ddafedb25e3c4a4f4e2284034247, 4.6
Not affected: before 4.6, from 6.18.53 up to 6.18.*, from 7.2 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-97499 changed 2026-09-28CVE Terms of Use
NVDCVE-2026-97499 changed 2026-09-28Public domain