CVE-2026-80623: coresight: ete: Always save state on power down
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
coresight: ete: Always save state on power down
System register ETMs and ETE are unlikely to be preserved on CPU power down. The ETE DT binding also never documented "arm,coresight-loses-context-with-cpu" so nobody would have legitimately been able to use that binding to fix it and ACPI has no such binding at all.
Fix it by hard coding the setting for sysreg ETMs (ETE is always sysreg) or ACPI boots. Use a local variable when setting up save_state so that it's immune to concurrent probing when devices have different configurations which is an issue with modifying the global.
This fixes the following error when using Coresight with ACPI on the FVP which supports CPU PM:
coresight ete0: External agent took claim tag
WARNING: drivers/hwtracing/coresight/coresight-core.c:248 at coresight_disclaim_device_unlocked+0xe0/0xe8, CPU#0: perf/117
The Linux kernel CVE team has assigned CVE-2026-80623 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit 35e1c9163e025855f23a68f2470c471509e5d779 and fixed in 6.18.40 with commit 65d87f28daec31903fc39fee0744f7a0059c19f2 Issue introduced in 5.13 with commit 35e1c9163e025855f23a68f2470c471509e5d779 and fixed in 7.1.5 with commit 293dacd5b6a9f1275d92ca6c4fd874e54b2c8319 Issue introduced in 5.13 with commit 35e1c9163e025855f23a68f2470c471509e5d779 and fixed in 7.2 with commit 2ab4645fe4206c142a5f1491e191c906279686cf
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80623
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/hwtracing/coresight/coresight-etm4x-core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/65d87f28daec31903fc39fee0744f7a0059c19f2 https://git.kernel.org/stable/c/293dacd5b6a9f1275d92ca6c4fd874e54b2c8319 https://git.kernel.org/stable/c/2ab4645fe4206c142a5f1491e191c906279686cf