syzbot


INFO: task hung in blk_mq_freeze_queue (2)

Status: closed as dup on 2021/11/21 13:58
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+8ea6cf15ac5b5bb2f600@syzkaller.appspotmail.com
First crash: 1103d, last: 1097d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task can't die in blk_mq_freeze_queue_wait block 221 1094d 1102d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] INFO: task hung in blk_mq_freeze_queue (2) 0 (1) 2021/11/20 17:17
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 INFO: task hung in blk_mq_freeze_queue C 330 2319d 2051d 0/2 public: reported C repro on 2019/04/11 08:44
android-49 INFO: task hung in blk_mq_freeze_queue C 379 2320d 2050d 0/3 public: reported C repro on 2019/04/12 00:00
upstream INFO: task hung in blk_mq_freeze_queue block 3 2028d 2180d 0/28 auto-closed as invalid on 2019/10/25 10:51

Sample crash report:
INFO: task syz-executor.0:9042 blocked for more than 430 seconds.
      Not tainted 5.16.0-rc1-syzkaller-00313-ga90af8f15bdc #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:    0 pid: 9042 ppid:  2197 flags:0x00000009
Call trace:
 __switch_to+0x274/0x3b4 arch/arm64/kernel/process.c:526
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0x818/0x1be0 kernel/sched/core.c:6253
 schedule+0xb8/0x224 kernel/sched/core.c:6326
 blk_mq_freeze_queue_wait+0xf4/0x130 block/blk-mq.c:178
 blk_freeze_queue block/blk-mq.c:205 [inline]
 blk_mq_freeze_queue+0x20/0x30 block/blk-mq.c:214
 nbd_add_socket+0x134/0x690 drivers/block/nbd.c:1109
 __nbd_ioctl drivers/block/nbd.c:1454 [inline]
 nbd_ioctl+0x42c/0x8f0 drivers/block/nbd.c:1511
 blkdev_ioctl+0x238/0x950 block/ioctl.c:609
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x120/0x18c fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x6c/0x260 arch/arm64/kernel/syscall.c:52
 el0_svc_common.constprop.0+0xc4/0x254 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0xa0/0xcc arch/arm64/kernel/syscall.c:181
 el0_svc+0x64/0x290 arch/arm64/kernel/entry-common.c:603
 el0t_64_sync_handler+0x1a4/0x1b0 arch/arm64/kernel/entry-common.c:621
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:572
INFO: task syz-executor.0:9046 blocked for more than 430 seconds.
      Not tainted 5.16.0-rc1-syzkaller-00313-ga90af8f15bdc #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:    0 pid: 9046 ppid:  2197 flags:0x00000001
Call trace:
 __switch_to+0x274/0x3b4 arch/arm64/kernel/process.c:526
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0x818/0x1be0 kernel/sched/core.c:6253
 schedule+0xb8/0x224 kernel/sched/core.c:6326
 schedule_preempt_disabled+0x18/0x30 kernel/sched/core.c:6385
 __mutex_lock_common kernel/locking/mutex.c:680 [inline]
 __mutex_lock+0x3c0/0x7ec kernel/locking/mutex.c:740
 mutex_lock_nested+0x78/0x100 kernel/locking/mutex.c:792
 nbd_ioctl+0x108/0x8f0 drivers/block/nbd.c:1504
 blkdev_ioctl+0x238/0x950 block/ioctl.c:609
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x120/0x18c fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x6c/0x260 arch/arm64/kernel/syscall.c:52
 el0_svc_common.constprop.0+0xc4/0x254 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0xa0/0xcc arch/arm64/kernel/syscall.c:181
 el0_svc+0x64/0x290 arch/arm64/kernel/entry-common.c:603
 el0t_64_sync_handler+0x1a4/0x1b0 arch/arm64/kernel/entry-common.c:621
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:572

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffff800015e18f20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x74/0x25c kernel/locking/lockdep.c:6460
1 lock held by klogd/1985:
1 lock held by dhcpcd/2029:
2 locks held by getty/2146:
 #0: ffff00000a266098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x50 drivers/tty/tty_ldsem.c:340
 #1: ffff80001886b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x810/0xbe0 drivers/tty/n_tty.c:2113
4 locks held by kworker/0:1/5013:
1 lock held by syz-executor.0/9042:
 #0: ffff0000105e9998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x108/0x8f0 drivers/block/nbd.c:1504
1 lock held by syz-executor.0/9046:
 #0: ffff0000105e9998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x108/0x8f0 drivers/block/nbd.c:1504

=============================================


Crashes (79):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/20 17:57 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/20 09:14 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/20 07:54 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/20 06:07 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/20 03:33 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/19 20:09 upstream 4c388a8e740d 3a9d0024 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/19 17:45 upstream 4c388a8e740d 3a9d0024 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/19 16:39 upstream 4c388a8e740d 3a9d0024 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/19 15:07 upstream 4c388a8e740d 3a9d0024 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/19 11:10 upstream 4c388a8e740d 31a30fc0 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/19 09:16 upstream 6fdf886424cf 31a30fc0 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/19 08:22 upstream 6fdf886424cf 31a30fc0 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/19 03:44 upstream 6fdf886424cf 31a30fc0 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/18 18:29 upstream 42eb8fdac2fc 31a30fc0 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/18 16:06 upstream 42eb8fdac2fc 31a30fc0 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/18 14:56 upstream 42eb8fdac2fc 31a30fc0 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/18 08:57 upstream 42eb8fdac2fc cafff8b6 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/18 06:25 upstream ee1703cda8dc cafff8b6 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/18 01:02 upstream ee1703cda8dc cafff8b6 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/17 22:08 upstream ee1703cda8dc cafff8b6 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/17 13:00 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/17 11:50 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/17 10:07 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/17 08:30 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/17 06:28 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/17 05:10 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/17 05:08 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/17 03:34 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/17 03:06 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/17 02:44 upstream 8ab774587903 cafff8b6 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/16 20:31 upstream 8ab774587903 600426bd .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/16 20:02 upstream 8ab774587903 600426bd .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/16 19:27 upstream 8ab774587903 600426bd .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/16 19:06 upstream 8ab774587903 600426bd .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/16 17:12 upstream 8ab774587903 600426bd .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/16 17:07 upstream 8ab774587903 600426bd .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/16 12:06 upstream 8ab774587903 600426bd .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/16 03:06 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/16 00:54 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/15 22:14 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/15 21:25 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/15 18:52 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 18:38 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 18:08 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 17:29 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 16:23 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 16:19 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 16:13 upstream 8ab774587903 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 11:01 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/15 08:08 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/15 07:49 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 07:00 upstream fa55b7dcdc43 83f5c9b5 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/15 02:51 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 02:06 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/15 00:48 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/14 23:44 upstream ce49bfc8d037 83f5c9b5 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/14 19:31 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/14 18:49 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/14 18:00 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm64-compat INFO: task hung in blk_mq_freeze_queue
2021/11/14 17:11 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm64 INFO: task hung in blk_mq_freeze_queue
2021/11/14 13:36 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/14 12:51 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/14 10:41 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
2021/11/14 10:40 upstream c8c109546a19 83f5c9b5 .config console log report info ci-qemu2-arm32 INFO: task hung in blk_mq_freeze_queue
* Struck through repros no longer work on HEAD.