Re: [syzbot] [kernfs?] INFO: task hung in do_coredump (3)

From: Hillf Danton
Date: Tue Oct 29 2024 - 07:07:59 EST


On Mon, 28 Oct 2024 15:23:20 -0700
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 819837584309 Linux 6.12-rc5
> git tree: upstream
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=171b4687980000

#syz test

--- x/fs/coredump.c
+++ y/fs/coredump.c
@@ -416,7 +416,7 @@ static int coredump_wait(int exit_code,
struct core_thread *ptr;

wait_for_completion_state(&core_state->startup,
- TASK_UNINTERRUPTIBLE|TASK_FREEZABLE);
+ TASK_IDLE|TASK_FREEZABLE);
/*
* Wait for all the threads to become inactive, so that
* all the thread context (extended register state, like
--