INFO: task syz-executor:6550 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6550 tgid:6550 ppid:1 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 __closure_sync+0x160/0x278 lib/closure.c:146 closure_sync include/linux/closure.h:195 [inline] bch2_btree_interior_updates_flush+0x190/0x26c fs/bcachefs/btree_update_interior.c:2748 __bch2_fs_read_only+0xf8/0x4dc fs/bcachefs/super.c:289 bch2_fs_read_only+0x344/0x960 fs/bcachefs/super.c:366 __bch2_fs_stop+0x104/0x800 fs/bcachefs/super.c:677 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2365 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:1375 __cleanup_mnt+0x20/0x30 fs/namespace.c:1382 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xfc/0x168 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:103 [inline] el0_svc+0x170/0x254 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 3 locks held by kworker/u8:0/12: 1 lock held by khungtaskd/32: #0: ffff80008f9d9620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kworker/u8:2/41: 2 locks held by kworker/u8:3/42: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000992e7be0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 1 lock held by pr/ttyAMA-1/43: 2 locks held by getty/6311: #0: ffff0000d3e9c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099e8e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 1 lock held by udevd/6519: #0: ffff0000c154fab8 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:885 [inline] #0: ffff0000c154fab8 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: blkdev_read_iter+0x2a0/0x3dc block/fops.c:851 2 locks held by syz-executor/6550: #0: ffff0000cad6c0e0 (&type->s_umount_key#49){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0000cad6c0e0 (&type->s_umount_key#49){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0000cad6c0e0 (&type->s_umount_key#49){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:506 #1: ffff0000fa380278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xfc/0x800 fs/bcachefs/super.c:676 4 locks held by bch-reclaim/loo/6749: #0: ffff0000fa3caf68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x12c/0x480 fs/bcachefs/journal_reclaim.c:773 #1: ffff0000fa384740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x1078/0x11c0 fs/bcachefs/btree_write_buffer.c:571 #2: ffff0000fa384398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:160 #3: ffff0000fa3a6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x468/0x1ab8 fs/bcachefs/btree_update_interior.c:1211 3 locks held by udevd/7931: 2 locks held by kworker/u8:12/9023: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009e977be0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 1 lock held by syz.5.1037/11151: 3 locks held by syz.4.1039/11158: #0: ffff0000fa79d608 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:870 [inline] #0: ffff0000fa79d608 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:648 [inline] #0: ffff0000fa79d608 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x7c/0x1e4 net/socket.c:1439 #1: ffff800092aee470 ((netlink_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x58/0xa0 kernel/notifier.c:379 #2: ffff0000f65388d8 (&nft_net->commit_mutex){+.+.}-{4:4}, at: nft_rcv_nl_event+0x104/0x57c net/netfilter/nf_tables_api.c:12096 =============================================