Re: [PATCH] printk: Don't WARN on kthread_run failure.

From: Petr Mladek

Date: Thu Aug 20 2026 - 09:17:22 EST


On Tue 2026-08-04 22:52:19, Tetsuo Handa wrote:
> Since __kthread_create_on_node() returns -EINTR upon SIGKILL,
> we should not use WARN_ON() in order to catch kthread_run() failure.
>
> Reported-by: syzbot+1ebbc20f223b99446034@xxxxxxxxxxxxxxxxxxxxxxxxx
> Closes: https://syzkaller.appspot.com/bug?extid=1ebbc20f223b99446034
> Fixes: 5f53ca3ff83b ("printk: Implement legacy printer kthread for PREEMPT_RT")
> Fixes: 76f258bf3f2a ("printk: nbcon: Introduce printer kthreads")
> Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>

Makes sense.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr

PS: We are in the middle of the merge window. I am going to
push this into printk tree on top of the pending merge
request once it gets accepted.