kernel/signal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/signal.c b/kernel/signal.c index 2547fa73bde5..a1e11ee8537c 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2847,6 +2847,10 @@ bool get_signal(struct ksignal *ksig) */ current->flags |= PF_SIGNALED; + /* vhost workers don't participate in core dups */ + if ((current->flags & (PF_IO_WORKER | PF_USER_WORKER)) != PF_USER_WORKER) + goto out; + if (sig_kernel_coredump(signr)) { if (print_fatal_signals) print_fatal_signal(ksig->info.si_signo);