← CVE Intelligence

CVE-2026-97924

tracing/user_events: Don't destroy fields when event removal fails PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: tracing/user_events: Don't destroy fields when event removal fails destroy_user_event() destroys the event's fields before attempting to remove the trace event call. If user_event_set_call_visible() fails, e.g. because the event is still enabled and trace_remove_event_call() returns -EBUSY, the event is left registered with an irreversibly destroyed field list. Any subsequent interaction with the event then operates on an empty field list while it is still fully visible in tracefs. Move the field destruction after the call removal, and splice the field list back onto the event when the removal fails so the event remains in a consistent state.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 7f5a08c79df35e68f1a43033450c5050f12bc155 before a3d9b8b7c8f3627976fe758c77ffd3da260824d7; affected 7f5a08c79df35e68f1a43033450c5050f12bc155 before 9c62b7e92b6086a2a0aeb71f3553dd8cf7fdcd8b; affected 7f5a08c79df35e68f1a43033450c5050f12bc155 before 0892da2272ec565858aa1ec5458552d699de9142; affected 7f5a08c79df35e68f1a43033450c5050f12bc155 before 62d6544e86506bb0695c9594c713cba859666f2f; affected 7f5a08c79df35e68f1a43033450c5050f12bc155 before 2deb753127d7b7035e893955c5e91875e767d1f8
Linux / Linuxaffected 5.18; unaffected 0 before 5.18; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References