syzbot


INFO: task can't die in pipe_release (2)

Status: auto-closed as invalid on 2021/03/29 10:10
Reported-by: syzbot+0f45bf8c63785914be1e@syzkaller.appspotmail.com
First crash: 604d, last: 604d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task can't die in pipe_release syz 1 784d 780d 0/24 closed as dup on 2020/08/07 10:37
upstream INFO: task hung in pipe_release (3) 4 312d 426d 0/24 closed as invalid on 2022/02/07 19:19
linux-4.19 INFO: task hung in pipe_release 1 548d 548d 0/1 auto-closed as invalid on 2021/07/23 11:59

Sample crash report:
INFO: task syz-executor.4:16676 can't die for more than 147 seconds.
task:syz-executor.4  state:D stack:29048 pid:16676 ppid:  8473 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4326 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5077
 schedule+0xcf/0x270 kernel/sched/core.c:5156
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5215
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103
 __pipe_lock fs/pipe.c:87 [inline]
 pipe_release+0x49/0x320 fs/pipe.c:703
 __fput+0x283/0x920 fs/file_table.c:280
 task_work_run+0xdd/0x190 kernel/task_work.c:140
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x417b71
RSP: 002b:00007ffc01d8d550 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000417b71
RDX: 0000001b2ca20000 RSI: ffffffff8903e45e RDI: 0000000000000003
RBP: 0000000000000001 R08: ffffffff8132e020 R09: 000000009ef3fe36
R10: 00007ffc01d8d630 R11: 0000000000000293 R12: 000000000119ca00
R13: 000000000119ca00 R14: 00000000000003e8 R15: 000000000119c0dc
INFO: task syz-executor.4:16676 blocked for more than 151 seconds.
      Not tainted 5.11.0-rc5-next-20210128-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:29048 pid:16676 ppid:  8473 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:4326 [inline]
 __schedule+0x90c/0x21a0 kernel/sched/core.c:5077
 schedule+0xcf/0x270 kernel/sched/core.c:5156
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5215
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103
 __pipe_lock fs/pipe.c:87 [inline]
 pipe_release+0x49/0x320 fs/pipe.c:703
 __fput+0x283/0x920 fs/file_table.c:280
 task_work_run+0xdd/0x190 kernel/task_work.c:140
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:174 [inline]
 exit_to_user_mode_prepare+0x249/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x417b71
RSP: 002b:00007ffc01d8d550 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000417b71
RDX: 0000001b2ca20000 RSI: ffffffff8903e45e RDI: 0000000000000003
RBP: 0000000000000001 R08: ffffffff8132e020 R09: 000000009ef3fe36
R10: 00007ffc01d8d630 R11: 0000000000000293 R12: 000000000119ca00
R13: 000000000119ca00 R14: 00000000000003e8 R15: 000000000119c0dc

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/01/28 10:09 linux-next d03154e8bb6a eefc07f2 .config log report info INFO: task can't die in pipe_release
* Struck through repros no longer work on HEAD.