CVE-2026-97924 PUBLISHED

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

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7f5a08c79df35e68f1a43033450c5050f12bc155 to 9c62b7e92b6086a2a0aeb71f3553dd8cf7fdcd8b (excl.)
  • affected from 7f5a08c79df35e68f1a43033450c5050f12bc155 to 0892da2272ec565858aa1ec5458552d699de9142 (excl.)
  • affected from 7f5a08c79df35e68f1a43033450c5050f12bc155 to 62d6544e86506bb0695c9594c713cba859666f2f (excl.)
  • affected from 7f5a08c79df35e68f1a43033450c5050f12bc155 to 2deb753127d7b7035e893955c5e91875e767d1f8 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.18 is affected
  • unaffected from 0 to 5.18 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References