CVE-2026-68283: tracing: Fix use-after-free freeing trigger private data
In the Linux kernel, the following vulnerability has been resolved:
tracing: Fix use-after-free freeing trigger private data
Commit 61d445af0a7c ("tracing: Add bulk garbage collection of freeing eventtriggerdata") moved the kfree() of eventtriggerdata to a kthread that runs tracepointsynchronizeunregister() before freeing. That removed the synchronization the trigger .free callbacks used to get implicitly and inline from triggerdatafree().
eventhisttriggerfree(), eventhisttriggernamedfree() and eventenabletriggerfree() free their satellite data (histdata, cmdops, enabledata) right after triggerdatafree() returns. With the synchronization now deferred to the kthread, a concurrent tracepoint handler can still reach that data through the listdelrcu()'d trigger, causing a use-after-free.
The histogram teardown must stay synchronous: removehistvars() and unregisterfieldvarhists() have to detach a synthetic event from the histogram before the trigger-removal write returns, otherwise a following command races in and the synthetic-event removal fails with -EBUSY, as the trigger-synthetic-eprobe.tc selftest catches. Make those callbacks wait with the correct barrier - tracepointsynchronizeunregister(), matching the free kthread - before freeing.
The enable trigger has no such synchronous requirement, and a blocking synchronize there would re-serialize the path that commit deliberately deferred. Give it an optional privatedatafree() callback that the free kthread runs after its grace period, and free enabledata from there.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68283?
CVE-2026-68283 has a risk level of 44, indicating a high severity vulnerability.
How do I fix CVE-2026-68283?
To fix CVE-2026-68283, update your Linux kernel to the version that includes the patch provided in commit 61d445af0a7c.
What causes CVE-2026-68283?
CVE-2026-68283 is caused by a use-after-free vulnerability in the Linux kernel's tracing subsystem.
Who is affected by CVE-2026-68283?
All users of affected versions of the Linux kernel that utilize the tracing feature are at risk from CVE-2026-68283.
What are the potential consequences of CVE-2026-68283?
Exploitation of CVE-2026-68283 could lead to memory corruption, crashes, or arbitrary code execution in affected systems.