INFO: task syz-executor:6376 blocked for more than 143 seconds. Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6376 tgid:6376 ppid:1 flags:0x00000009 Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5408 [inline] __schedule+0x14ac/0x24d8 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6837 schedule_timeout+0xb8/0x33c kernel/time/timer.c:2557 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 kthread_stop+0x1b4/0x734 kernel/kthread.c:710 bch2_rebalance_stop+0xc4/0xf4 fs/bcachefs/rebalance.c:454 __bch2_fs_read_only+0x54/0x3d0 fs/bcachefs/super.c:265 bch2_fs_read_only+0x930/0xf0c fs/bcachefs/super.c:356 __bch2_fs_stop+0x100/0x510 fs/bcachefs/super.c:614 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:1811 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2044 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Showing all locks held in the system: 3 locks held by kworker/1:1/27: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff8000942a7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff0000cdb33240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 1 lock held by khungtaskd/31: #0: ffff80008f4b7be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 5 locks held by kworker/u8:7/600: #0: ffff0000c1881948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff8000996a7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff800092137090 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff0000d274e0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff0000d274e0e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff0000d274e0e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x114/0x418 net/devlink/core.c:506 #4: ffff0000d274f250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff0000d274f250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff0000d274f250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x124/0x418 net/devlink/core.c:506 2 locks held by kworker/u8:10/2072: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff80009c2d7c20 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 2 locks held by getty/6128: #0: ffff0000d7b090a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000980ee2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:3/6366: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800099b67c20 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 2 locks held by syz-executor/6376: #0: ffff0000dccfe0e0 (&type->s_umount_key#58){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000dccfe0e0 (&type->s_umount_key#58){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000dccfe0e0 (&type->s_umount_key#58){+.+.}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000e1080278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xf8/0x510 fs/bcachefs/super.c:613 3 locks held by syz.0.472/9167: #0: ffff0000d86ecd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:510 [inline] #0: ffff0000d86ecd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4bc net/bluetooth/hci_core.c:2728 #1: ffff0000d86ec078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x394/0xec0 net/bluetooth/hci_sync.c:5063 #2: ffff8000922a2ea8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline] #2: ffff8000922a2ea8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x220 net/bluetooth/hci_conn.c:2593 1 lock held by syz.3.483/9182: #0: ffff0000c3045878 (&hiddev->existancelock){+.+.}-{3:3}, at: hiddev_ioctl+0x15c/0x1ce8 drivers/hid/usbhid/hiddev.c:610 1 lock held by syz.1.484/9186: #0: ffff80008f4bcf38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffff80008f4bcf38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x324/0x678 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor/9187: #0: ffff80008f4bcf38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffff80008f4bcf38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x324/0x678 kernel/rcu/tree_exp.h:939 3 locks held by syz.2.485/9188: #0: ffff0000d6d70d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:510 [inline] #0: ffff0000d6d70d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4bc net/bluetooth/hci_core.c:2728 #1: ffff0000d6d70078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x394/0xec0 net/bluetooth/hci_sync.c:5063 #2: ffff8000922a2ea8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline] #2: ffff8000922a2ea8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x220 net/bluetooth/hci_conn.c:2593 =============================================