aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/regulator.c
diff options
context:
space:
mode:
authorTetsuo Handa <[email protected]>2025-07-09 11:27:52 +0000
committerPeter Zijlstra <[email protected]>2025-07-09 11:40:17 +0000
commit3da6bb419750f3ad834786d6ba7c9d5d062c770b (patch)
treebae6e958112ec02dca0bc0ae0ddb66bffa70bd5d /rust/helpers/regulator.c
parentLinux 6.16-rc5 (diff)
downloadkernel-3da6bb419750f3ad834786d6ba7c9d5d062c770b.tar.gz
kernel-3da6bb419750f3ad834786d6ba7c9d5d062c770b.zip
perf/core: Fix WARN in perf_sigtrap()
Since exit_task_work() runs after perf_event_exit_task_context() updated ctx->task to TASK_TOMBSTONE, perf_sigtrap() from perf_pending_task() might observe event->ctx->task == TASK_TOMBSTONE. Swap the early exit tests in order not to hit WARN_ON_ONCE(). Closes: https://syzkaller.appspot.com/bug?extid=2fe61cb2a86066be6985 Reported-by: syzbot <[email protected]> Signed-off-by: Tetsuo Handa <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/regulator.c')
0 files changed, 0 insertions, 0 deletions