CVE-2026-46272·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: coresight: tmc-etr: Fix race condition between sysfs and perf mode When trying to run perf and sysfs mode simultaneously, the WARN_ON() in tmc_etr_enable_hw() is triggered sometimes: WARNING: CPU: 42 PID: 3911571 at drivers/hwtracing/coresight/coresight-tmc-etr.c:1060 tmc_etr_enable_hw+0xc0/0xd8 [coresight_tmc] [..snip..] Call trace: tmc_etr_enable_hw+0xc0/0xd8 [coresight_tmc] (P) tmc_enable_etr_sink+0x11c/0x250 [coresight_tmc] (L) tmc_enable_etr_sink+0x11c/0x250 [coresight_tmc] coresight_enable_path+0x1c8/0x218 [coresight] coresight_enable_sysfs+0xa4/0x228 [coresight] enable_source_store+0x58/0xa8 [coresight] dev_attr_store+0x20/0x40 sysfs_kf_write+0x4c/0x68 kernfs_fop_write_iter+0x120/0x1b8 vfs_write+0x2c8/0x388 ksys_write+0x74/0x108 __arm64_sys_write+0x24/0x38 el0_svc_common.constprop.0+0x64/0x148 do_el0_svc+0x24/0x38 el0_svc+0x3c/0x130 el0t_64_sync_handler+0xc8/0xd0 el0t_64_sync+0x1ac/0x1b0 ---[ end trace 0000000000000000 ]--- Since the enablement of sysfs mode is separeted into two critical regions, one for sysfs buffer allocation and another for hardware enablement, it's possible to race with the perf mode. Fix this by double check whether the perf mode's been used before enabling the hardware in sysfs mode. mode: [sysfs mode] [perf mode] tmc_etr_get_sysfs_buffer() spin_lock(&drvdata->spinlock) [sysfs buffer allocation] spin_unlock(&drvdata->spinlock) spin_lock(&drvdata->spinlock) tmc_etr_enable_hw() drvdata->etr_buf = etr_perf->etr_buf spin_unlock(&drvdata->spinlock) spin_lock(&drvdata->spinlock) tmc_etr_enable_hw() WARN_ON(drvdata->etr_buf) // WARN sicne etr_buf initialized at the perf side spin_unlock(&drvdata->spinlock) With this fix, we retain the check for CS_MODE_PERF in get_etr_sysfs_buf. This ensures we verify whether the perf mode's already running before we actually allocate the buffer. Then we can save the time of allocating/freeing the sysfs buffer if race with the perf mode.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.4
Fixed in: 6.19.4
How to fix this CVE
Update your Linux kernel to version 6.19.4 or later to resolve this race condition in the CoreSight TMC-ETR hardware tracing component. The vulnerability occurs when perf and sysfs tracing modes are enabled simultaneously, causing kernel warnings and potential system instability. Apply the patch immediately if you are running kernel versions 6.19 through 6.19.3 and actively using CoreSight tracing functionality.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r — verify if you are running 6.19.0 through 6.19.3
- Verify CoreSight TMC-ETR is available: cat /proc/devices | grep -i coresight or lsmod | grep coresight_tmc
- Search system logs for the race condition warning: sudo journalctl -b | grep -i 'tmc_etr_enable_hw\|WARN_ON.*etr_buf' or sudo grep -i 'tmc_etr_enable_hw' /var/log/kern.log
- After patching, confirm the kernel version: uname -r — should show 6.19.4 or higher
FAQ
What is CVE-2026-46272?
This vulnerability is a race condition in the Linux kernel's CoreSight TMC-ETR (Trace Memory Controller - Embedded Trace Router) hardware tracing driver. When perf and sysfs tracing modes attempt to initialize simultaneously, they can corrupt shared buffer state, triggering kernel warnings and potential denial of service.
Is CVE-2026-46272 being actively exploited?
No, this vulnerability is not listed in the CISA KEV catalog and there are no public exploits available. However, it can be triggered locally by users with permission to access tracing interfaces.
What versions of Kernel are affected by CVE-2026-46272?
Linux kernel versions 6.19 through 6.19.3 are affected. The issue was resolved in version 6.19.4 and later.
How do I check if my server is vulnerable to CVE-2026-46272?
Run 'uname -r' and check if the output shows version 6.19.0, 6.19.1, 6.19.2, or 6.19.3. Additionally, verify CoreSight support with 'lsmod | grep coresight_tmc'. If both conditions are true, your system is vulnerable.
Does Defensia detect CVE-2026-46272?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-46272 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/206b6f672613d08b33e951a744d0a1c6ac5ad8ad
- https://git.kernel.org/stable/c/38a07194bbcddb18d77dad40ba9978d994c0b74c
- https://git.kernel.org/stable/c/3e8cdf184646c28c5ea5fba754d24a3b29068739
- https://git.kernel.org/stable/c/6906aa70d4fc5900b954136e20e27c2be6d1acab
- https://git.kernel.org/stable/c/e6e43e82c79c97917cbe356c07e8a6f3f982ab53
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46272. Free for 1 server.
Get started free