Re: WARNING in do_notify_parent (kernel/signal.c:2174)

From: y2k

Date: Thu May 07 2026 - 12:10:47 EST


I noticed that commit 0f8e38eeb995 adds WARN_ON_ONCE for invalid signals
in do_notify_parent(). The syzkaller reproducer triggers this via
syz_clone() with CLONE_THREAD flags.

Could this be related to the ptrace path in exit.c:749 where
exit_signal=-1 (set for CLONE_THREAD processes) could reach
do_notify_parent() without a valid_signal() check?

Thanks,
y2k
y2k@xxxxxxxxxxxxxxxxx