INFO: task syz-executor.0:6842 blocked for more than 143 seconds. Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:0 pid:6842 tgid:6840 ppid:6743 task_flags:0x400140 flags:0x00000019 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5397 [inline] __schedule+0x141c/0x2a14 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6879 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6936 __mutex_lock_common+0xbd0/0x2190 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 nbd_start_device_ioctl drivers/block/nbd.c:1542 [inline] __nbd_ioctl drivers/block/nbd.c:1602 [inline] nbd_ioctl+0x8f4/0xc4c drivers/block/nbd.c:1642 blkdev_ioctl+0x610/0xac0 block/ioctl.c:704 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 INFO: task syz-executor.0:6846 blocked for more than 143 seconds. Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:0 pid:6846 tgid:6840 ppid:6743 task_flags:0x480140 flags:0x00000009 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5397 [inline] __schedule+0x141c/0x2a14 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6879 blk_mq_freeze_queue_wait+0xe0/0x158 block/blk-mq.c:190 blk_mq_freeze_queue_nomemsave+0xe8/0x13c block/blk-mq.c:206 blk_mq_freeze_queue include/linux/blk-mq.h:934 [inline] nbd_add_socket+0x188/0x7a8 drivers/block/nbd.c:1251 __nbd_ioctl drivers/block/nbd.c:1585 [inline] nbd_ioctl+0x4a0/0xc4c drivers/block/nbd.c:1642 blkdev_ioctl+0x610/0xac0 block/ioctl.c:704 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008f869980 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by pr/ttyAMA0/44: 2 locks held by kworker/u8:8/2162: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a0ec7bc0 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 2 locks held by getty/6290: #0: ffff0000cc56d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009ba3e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 1 lock held by udevd/6747: #0: ffff0000c9fdf358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0xc20 block/bdev.c:945 1 lock held by syz-executor.0/6842: #0: ffff0000c9fed230 (&nbd->config_lock){+.+.}-{4:4}, at: nbd_start_device_ioctl drivers/block/nbd.c:1542 [inline] #0: ffff0000c9fed230 (&nbd->config_lock){+.+.}-{4:4}, at: __nbd_ioctl drivers/block/nbd.c:1602 [inline] #0: ffff0000c9fed230 (&nbd->config_lock){+.+.}-{4:4}, at: nbd_ioctl+0x8f4/0xc4c drivers/block/nbd.c:1642 3 locks held by syz-executor.0/6846: #0: ffff0000c9fed230 (&nbd->config_lock){+.+.}-{4:4}, at: nbd_ioctl+0x124/0xc4c drivers/block/nbd.c:1635 #1: ffff0000c9f2bb28 (&q->q_usage_counter(io)#33){++++}-{0:0}, at: blk_mq_freeze_queue include/linux/blk-mq.h:934 [inline] #1: ffff0000c9f2bb28 (&q->q_usage_counter(io)#33){++++}-{0:0}, at: nbd_add_socket+0x188/0x7a8 drivers/block/nbd.c:1251 #2: ffff0000c9f2bb60 (&q->q_usage_counter(queue)){+.+.}-{0:0}, at: blk_mq_freeze_queue include/linux/blk-mq.h:934 [inline] #2: ffff0000c9f2bb60 (&q->q_usage_counter(queue)){+.+.}-{0:0}, at: nbd_add_socket+0x188/0x7a8 drivers/block/nbd.c:1251 1 lock held by syz-executor.0/7028: #0: ffff0000c9fdf358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0xc20 block/bdev.c:945 1 lock held by syz-executor.0/7029: #0: ffff0000c9fdf358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0xc20 block/bdev.c:945 1 lock held by syz-executor.0/7057: #0: ffff0000c9fdf358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0xc20 block/bdev.c:945 1 lock held by syz-executor.0/7058: #0: ffff0000c9fdf358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xcc/0xc20 block/bdev.c:945 =============================================