Description
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 dynamic_events, checking trace_probe_has_sibling() 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 uprobe_consumer 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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ca89bc071d5e4e981dcc52e0ca90f4500d332e42 to < eb3b55618b4d5cb18233f299ca611af0f07eb12aaffectedca89bc071d5e4e981dcc52e0ca90f4500d332e42 to < 276a69d4308410e26f79cbde242b31a736190c18affectedca89bc071d5e4e981dcc52e0ca90f4500d332e42 to < 138c77234bc14f6edfb7a373f81ddfaf9941a739affectedca89bc071d5e4e981dcc52e0ca90f4500d332e42 to < f1d9b7a3fe99b4228acdbab3c744c29f7ffe86efaffected
Linux Linux
Default version status: affected
5.4affected0 to < 5.4unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected