CVE-2026-143076: tracing/probes: Check enabled and busy state before unlinking sibling probes
In the Linux kernel, the following vulnerability has been resolved:
tracing/probes: Check enabled and busy state before unlinking sibling probes
When a multiprobe event is enabled or referenced (for example, by an eprobe, trigger, or open tracefs file) and a user attempts to delete the event or one of its probes via dynamicevents, checking traceprobehassibling() before the enabled and busy checks allows the first probe to be unlinked and freed while the event is still active, only returning -EBUSY on the last sibling probe. For uprobe events, unlinking and freeing an enabled sibling probe without unregistering its uprobeconsumer also causes a use-after-free.
Ensure all four probe types (kprobe, fprobe, uprobe, and eprobe) verify that the event is neither enabled nor busy before unlinking any sibling probe.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
For kprobe, fprobe, uprobe, and eprobe events, check that the event is neither enabled nor busy before unlinking any sibling probe.
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
A user must attempt to delete a multiprobe event or one of its probes through dynamic_events while the event is enabled or busy. An event can be busy because it is referenced by an eprobe, a trigger, or an open tracefs file.
Which probe types are affected by the missing state checks?
The fix applies to kprobe, fprobe, uprobe, and eprobe event types. The use-after-free consequence specifically described occurs for uprobes when an enabled sibling probe is freed without unregistering its uprobe_consumer.
How can an active or busy event be identified before attempting deletion?
The relevant active states are whether the multiprobe event is enabled and whether it is referenced by an eprobe, trigger, or open tracefs file. Deletion attempts against events in either state should be treated as unsafe on affected code.