INFO: task syz.9.216:9634 blocked for more than 143 seconds. Not tainted 6.16.0-rc Not tainted 6.16.0-rc6-syzkaller-gaaef6f251176 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.216 state:D stack:0 pid:9634 tgid:9633 ppid:7964 task_flags:0x400140 flags:0x00000019 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5397 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6879 schedule_timeout+0xac/0x270 kernel/time/sleep_timeout.c:75 ___down_common+0x23c/0x374 kernel/locking/semaphore.c:268 __down_common+0xc0/0x3a4 kernel/locking/semaphore.c:293 __down+0x18/0x24 kernel/locking/semaphore.c:303 down+0x94/0xe8 kernel/locking/semaphore.c:100 bch2_run_recovery_passes+0x164/0x1f4 fs/bcachefs/recovery_passes.c:609 bch2_fs_recovery+0x1df4/0x2fb4 fs/bcachefs/recovery.c:1050 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1804 do_new_mount+0x228/0x814 fs/namespace.c:3902 path_mount+0x5b4/0xde0 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4427 __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/43: 3 locks held by kworker/u8:5/235: #0: ffff0000d2878148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009bd97bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by kworker/u8:6/525: #0: ffff0000c18a2148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009c887bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff8000928bad50 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x6c0 net/core/net_namespace.c:662 #3: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by dhcpcd/6199: #0: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by getty/6295: #0: ffff0000d22dc0a0 (&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 3 locks held by kworker/0:7/8143: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009c177bc0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:13/10040: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009c9c7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz-executor/10857: #0: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz-executor/10901: #0: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x710/0x15dc net/core/rtnetlink.c:4054 7 locks held by syz-executor/10979: #0: ffff0000d7968428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff0000d7968428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x244/0x97c fs/read_write.c:682 #1: ffff0000f337fc88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000cbff4c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff80009191af68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:216 #4: ffff0000cd3530e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #4: ffff0000cd3530e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff0000cd3530e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0x9c/0x658 drivers/base/dd.c:1292 #5: ffff0001016f1250 (&devlink->lock_key#46){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by syz-executor/10984: #0: ffff0000d7968428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff0000d7968428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x244/0x97c fs/read_write.c:682 #1: ffff0000f153bc88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000cbff4b48 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff80009191af68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x128/0x594 drivers/net/netdevsim/bus.c:166 1 lock held by syz.3.279/11293: #0: ffff8000928c78e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 =============================================