INFO: task syz-executor.2:20773 blocked for more than 144 seconds. Not tainted 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:20773 ppid:6124 flags:0x0000000d Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1364/0x23b4 kernel/sched/core.c:6695 schedule+0xc4/0x170 kernel/sched/core.c:6771 schedule_timeout+0xb8/0x348 kernel/time/timer.c:2143 do_wait_for_common+0x30c/0x468 kernel/sched/completion.c:95 __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:148 __flush_workqueue+0x580/0x11c4 kernel/workqueue.c:3195 nbd_start_device_ioctl drivers/block/nbd.c:1426 [inline] __nbd_ioctl drivers/block/nbd.c:1487 [inline] nbd_ioctl+0x8cc/0xc38 drivers/block/nbd.c:1527 blkdev_ioctl+0x3e4/0xae4 block/ioctl.c:630 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:857 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffff80008e513840 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:302 1 lock held by udevd/5703: 2 locks held by dhcpcd/5757: 2 locks held by getty/5846: #0: ffff0000d6fb90a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800094c102f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2206 2 locks held by kworker/u5:3/6133: #0: ffff0000ca19a138 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2603 #1: ffff800096e27c20 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2605 2 locks held by syz-executor.3/24062: #0: ffff0001207ca870 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler+0xf8/0x16c0 drivers/input/misc/uinput.c:885 #1: ffff8000901f47c8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x2a4/0x5c0 drivers/input/input.c:2219 1 lock held by syz-executor.2/24052: #0: ffff0000ca244198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc38 drivers/block/nbd.c:1520 1 lock held by syz-executor.2/24060: #0: ffff0000ca244198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc38 drivers/block/nbd.c:1520 1 lock held by syz-executor.2/24067: #0: ffff0000ca244198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc38 drivers/block/nbd.c:1520 1 lock held by syz-executor.1/24061: #0: ffff0000ca12e998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc38 drivers/block/nbd.c:1520 1 lock held by syz-executor.1/24073: #0: ffff0000ca12e998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc38 drivers/block/nbd.c:1520 1 lock held by dhcpcd/24063: #0: ffff00011f6da130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #0: ffff00011f6da130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x4c/0xb18 net/packet/af_packet.c:3208 2 locks held by syz-executor.5/24070: #0: ffff00013552f870 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler+0xf8/0x16c0 drivers/input/misc/uinput.c:885 #1: ffff8000901f47c8 (input_mutex){+.+.}-{3:3}, at: input_register_device+0x8dc/0xde8 drivers/input/input.c:2389 1 lock held by syz-executor.5/24076: #0: ffff00013552f870 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler+0xf8/0x16c0 drivers/input/misc/uinput.c:885 1 lock held by dhcpcd/24064: #0: ffff00013562e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #0: ffff00013562e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x4c/0xb18 net/packet/af_packet.c:3208 2 locks held by syz-executor.4/24069: #0: ffff000120b4e870 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler+0xf8/0x16c0 drivers/input/misc/uinput.c:885 #1: ffff8000901f47c8 (input_mutex){+.+.}-{3:3}, at: input_register_device+0x8dc/0xde8 drivers/input/input.c:2389 1 lock held by syz-executor.4/24075: #0: ffff000120b4e870 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler+0xf8/0x16c0 drivers/input/misc/uinput.c:885 1 lock held by dhcpcd/24071: #0: ffff00013561a130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #0: ffff00013561a130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x4c/0xb18 net/packet/af_packet.c:3208 2 locks held by syz-executor.0/24074: #0: ffff000120b48870 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler+0xf8/0x16c0 drivers/input/misc/uinput.c:885 #1: ffff8000901f47c8 (input_mutex){+.+.}-{3:3}, at: input_register_device+0x8dc/0xde8 drivers/input/input.c:2389 1 lock held by syz-executor.0/24079: #0: ffff000120b48870 (&newdev->mutex){+.+.}-{3:3}, at: uinput_ioctl_handler+0xf8/0x16c0 drivers/input/misc/uinput.c:885 =============================================