CVE-2026-46272
Race Condition in Linux Kernel Coresight TMC-ETR
Publication date: 2026-06-03
Last updated on: 2026-06-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a race condition in the Linux kernel's coresight tmc-etr driver that occurs when trying to run perf mode and sysfs mode simultaneously.
The issue arises because the enablement of sysfs mode is split into two critical regions: one for sysfs buffer allocation and another for hardware enablement. This separation allows a race condition with perf mode, which can cause a warning (WARN_ON) to be triggered when the hardware is enabled.
Specifically, the problem happens because the sysfs mode does not properly check if perf mode is already using the hardware buffer before enabling it, leading to conflicts and warnings.
The fix involves double-checking whether perf mode is active before enabling the hardware in sysfs mode, preventing the race condition and avoiding unnecessary buffer allocation or freeing.
How can this vulnerability impact me? :
This vulnerability can cause instability or unexpected warnings in the Linux kernel when both perf mode and sysfs mode are used simultaneously with the coresight tmc-etr driver.
The race condition may lead to hardware enablement conflicts, which could result in performance monitoring features not working correctly or causing kernel warnings that might affect system reliability.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability manifests as a WARN_ON() warning in the Linux kernel logs when running perf and sysfs mode simultaneously. You can detect it by checking the kernel log messages for warnings related to tmc_etr_enable_hw().
- Use the command: dmesg | grep tmc_etr_enable_hw to look for WARN_ON() messages triggered by the coresight-tmc-etr driver.
- Monitor kernel logs with journalctl -k | grep coresight_tmc to find related warnings or call traces.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is fixed by ensuring that the perf mode is checked before enabling hardware in sysfs mode to avoid race conditions. Immediate mitigation involves updating the Linux kernel to a version that includes this fix.
Until the fix is applied, avoid running perf and sysfs modes simultaneously to prevent triggering the race condition.