Files
erofs-linux/kernel/trace
Edward Adam Davis 6921d1e07c tracing: Fix filter logic error
If the processing of the tr->events loop fails, the filter that has been
added to filter_head will be released twice in free_filter_list(&head->rcu)
and __free_filter(filter).

After adding the filter of tr->events, add the filter to the filter_head
process to avoid triggering uaf.

Link: https://lore.kernel.org/[email protected]
Fixes: a9d0aab5eb ("tracing: Fix regression of filter waiting a long time on RCU synchronization")
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=daba72c4af9915e9c894
Tested-by: [email protected]
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Edward Adam Davis <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
2025-06-27 15:51:36 -04:00
..
…
…