INFO: task syz-executor.0:6934 blocked for more than 143 seconds. Not tainted 6.12.0-rc4-syzkaller-g7678c1b2735a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:0 pid:6934 tgid:6933 ppid:6610 flags:0x0000000d Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5328 [inline] __schedule+0x16f8/0x2804 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6782 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6839 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:684 __mutex_lock kernel/locking/mutex.c:752 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:804 nbd_start_device_ioctl drivers/block/nbd.c:1479 [inline] __nbd_ioctl drivers/block/nbd.c:1539 [inline] nbd_ioctl+0x8d8/0xc38 drivers/block/nbd.c:1579 blkdev_ioctl+0x3a8/0xa8c block/ioctl.c:693 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/0x1c8 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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 INFO: task syz-executor.0:6935 blocked for more than 143 seconds. Not tainted 6.12.0-rc4-syzkaller-g7678c1b2735a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:0 pid:6935 tgid:6933 ppid:6610 flags:0x00000005 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5328 [inline] __schedule+0x16f8/0x2804 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6782 blk_mq_freeze_queue_wait+0xf4/0x174 block/blk-mq.c:139 blk_freeze_queue+0xc8/0x104 block/blk-mq.c:166 blk_mq_freeze_queue+0x20/0x30 block/blk-mq.c:175 nbd_add_socket+0x174/0x770 drivers/block/nbd.c:1189 __nbd_ioctl drivers/block/nbd.c:1522 [inline] nbd_ioctl+0x210/0xc38 drivers/block/nbd.c:1579 blkdev_ioctl+0x3a8/0xa8c block/ioctl.c:693 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/0x1c8 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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008f9e07a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 2 locks held by getty/6189: #0: ffff0000d2c4c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b80e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 1 lock held by udevd/6660: #0: ffff0000cb51d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xd0/0xbd0 block/bdev.c:904 1 lock held by syz-executor.0/6934: #0: ffff0000cb592198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_start_device_ioctl drivers/block/nbd.c:1479 [inline] #0: ffff0000cb592198 (&nbd->config_lock){+.+.}-{3:3}, at: __nbd_ioctl drivers/block/nbd.c:1539 [inline] #0: ffff0000cb592198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x8d8/0xc38 drivers/block/nbd.c:1579 1 lock held by syz-executor.0/6935: #0: ffff0000cb592198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x128/0xc38 drivers/block/nbd.c:1572 1 lock held by syz-executor.0/6950: #0: ffff0000cb51d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xd0/0xbd0 block/bdev.c:904 1 lock held by syz-executor.0/6951: #0: ffff0000cb51d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xd0/0xbd0 block/bdev.c:904 1 lock held by syz-executor.0/6969: #0: ffff0000cb51d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xd0/0xbd0 block/bdev.c:904 1 lock held by syz-executor.0/6970: #0: ffff0000cb51d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xd0/0xbd0 block/bdev.c:904 =============================================