INFO: task syz-executor:6519 blocked for more than 143 seconds. Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6519 tgid:6519 ppid:1 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T) context_switch kernel/sched/core.c:5396 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6878 schedule_timeout+0xac/0x270 kernel/time/sleep_timeout.c:75 do_wait_for_common+0x288/0x3f8 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+0x44/0x5c kernel/sched/completion.c:148 kthread_stop+0x1bc/0x68c kernel/kthread.c:791 bch2_copygc_stop+0x54/0xa4 fs/bcachefs/movinggc.c:438 __bch2_fs_read_only+0x64/0x4dc fs/bcachefs/super.c:281 bch2_fs_read_only+0x344/0x960 fs/bcachefs/super.c:367 __bch2_fs_stop+0x104/0x800 fs/bcachefs/super.c:678 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2366 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2618 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1417 __cleanup_mnt+0x20/0x30 fs/namespace.c:1424 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x16c/0x1ec 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+0xb4/0x17c arch/arm64/kernel/entry-common.c:768 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 INFO: task syz.1.119:7143 blocked for more than 143 seconds. Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.119 state:D stack:0 pid:7143 tgid:7137 ppid:6518 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T) context_switch kernel/sched/core.c:5396 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6878 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6935 rwsem_down_read_slowpath+0x4ac/0x7c8 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x9c/0x2f8 kernel/locking/rwsem.c:1526 __super_lock fs/super.c:59 [inline] super_lock+0x240/0x32c fs/super.c:121 __iterate_supers+0x124/0x578 fs/super.c:923 iterate_supers+0x2c/0x3c fs/super.c:939 ksys_sync+0x90/0x164 fs/sync.c:102 __arm64_sys_sync+0x14/0x24 fs/sync.c:113 __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/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008f819e40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:3/42: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000990b7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/u8:4/60: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff800099b37bc0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 3 locks held by kworker/u8:7/270: 3 locks held by kworker/u8:8/300: 2 locks held by kworker/u8:10/354: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009b887bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 4 locks held by kworker/u8:12/402: #0: ffff0000c18a2148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff80009c857bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092865ed0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x6c0 net/core/net_namespace.c:662 #3: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by getty/6288: #0: ffff0000cca4e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b9be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/6519: #0: ffff0000d641e0e0 (&type->s_umount_key#59){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0000d641e0e0 (&type->s_umount_key#59){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0000d641e0e0 (&type->s_umount_key#59){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:506 #1: ffff000107e80278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xfc/0x800 fs/bcachefs/super.c:677 3 locks held by kworker/1:4/6576: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a58a7bc0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz.1.119/7143: #0: ffff0000d641e0e0 (&type->s_umount_key#59){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff0000d641e0e0 (&type->s_umount_key#59){++++}-{4:4}, at: super_lock+0x240/0x32c fs/super.c:121 2 locks held by syz-executor/9842: #0: ffff8000916a94e0 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:160 #1: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x710/0x15dc net/core/rtnetlink.c:4054 1 lock held by syz-executor/9866: #0: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffff800092872a68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x710/0x15dc net/core/rtnetlink.c:4054 =============================================