INFO: task syz-executor.1:15803 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26416 pid:15803 ppid: 8075 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178 nbd_add_socket+0x17b/0x8e0 drivers/block/nbd.c:1109 __nbd_ioctl drivers/block/nbd.c:1454 [inline] nbd_ioctl+0x263/0xb80 drivers/block/nbd.c:1511 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f53e2441ae9 RSP: 002b:00007f53df9b7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f53e2554f60 RCX: 00007f53e2441ae9 RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 0000000000000004 RBP: 00007f53e249bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf6b2f49f R14: 00007f53df9b7300 R15: 0000000000022000 INFO: task syz-executor.1:15816 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26864 pid:15816 ppid: 8075 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f53e2441ae9 RSP: 002b:00007f53df996188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f53e2555020 RCX: 00007f53e2441ae9 RDX: 0000000000000003 RSI: 000000000000ab09 RDI: 0000000000000004 RBP: 00007f53e249bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf6b2f49f R14: 00007f53df996300 R15: 0000000000022000 INFO: task syz-executor.1:15820 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26848 pid:15820 ppid: 8075 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f53e2441ae9 RSP: 002b:00007f53df975188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f53e25550e0 RCX: 00007f53e2441ae9 RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000006 RBP: 00007f53e249bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf6b2f49f R14: 00007f53df975300 R15: 0000000000022000 INFO: task syz-executor.1:15853 blocked for more than 144 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28368 pid:15853 ppid: 8075 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504 blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f53e2441ae9 RSP: 002b:00007f53df933188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f53e2555260 RCX: 00007f53e2441ae9 RDX: 0000000000000003 RSI: 000000000000ab09 RDI: 0000000000000006 RBP: 00007f53e249bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf6b2f49f R14: 00007f53df933300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6217: 2 locks held by kworker/u4:9/13199: #0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffffc9000a447d20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273 1 lock held by syz-executor.1/15803: #0: ffff88801b56a198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504 1 lock held by syz-executor.1/15816: #0: ffff88801b56a198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504 1 lock held by syz-executor.1/15820: #0: ffff88801b56a198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504 1 lock held by syz-executor.1/15853: #0: ffff88801b56a198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2952 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x7f59c6c9abc2 Code: 8d 35 c4 ad 0c 00 48 8d 3d 3a 8f 0c 00 ba b7 02 00 00 e8 81 d4 fc ff 90 31 c0 eb ad 66 90 66 2e 0f 1f 84 00 00 00 00 00 41 57 <41> 56 41 55 41 54 55 53 48 83 ec 38 48 85 ff 44 89 04 24 0f 84 55 RSP: 002b:00007ffdec051a40 EFLAGS: 00000212 RAX: 00005616b559deb0 RBX: 00005616b559de80 RCX: 0000000000000006 RDX: 0000000000000003 RSI: 0000000000000010 RDI: 00005616b559a040 RBP: 000000000012d810 R08: 0000000000000000 R09: 000000000012d800 R10: 00007ffdec0bb0b8 R11: 00007f59c4611900 R12: 00005616b559de80 R13: 00007ffdec051b28 R14: 0000000000000006 R15: 00007ffdec051ab0 FS: 00007f59c70628c0 GS: 0000000000000000