INFO: task syz-executor:6530 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:6530 tgid:6530 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 __bch2_fs_stop+0x5f8/0x800 fs/bcachefs/super.c:696 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 INFO: task syz-executor:6537 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:6537 tgid:6537 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 __bch2_fs_stop+0x5f8/0x800 fs/bcachefs/super.c:696 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: 2 locks held by kworker/0:0/9: 1 lock held by khungtaskd/32: #0: ffff80008f9c9360 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kcompactd0/35: 3 locks held by kworker/u8:2/41: 2 locks held by kworker/u8:5/2219: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a12c7be0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 2 locks held by kworker/0:2/2320: 2 locks held by kworker/u8:7/4622: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009f0c7be0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 6 locks held by kworker/u8:9/4802: #0: ffff0000d613d948 ((wq_completion)btree_update){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009d687be0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff000121a04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:160 #3: ffff00011cd341b0 (bcachefs_btree){+.+.}-{0:0}, at: trans_set_locked+0x68/0x200 fs/bcachefs/btree_locking.h:205 #4: ffff000121a4b148 (journal res){.+.+}-{0:0}, at: journal_res_get_fast fs/bcachefs/journal.h:383 [inline] #4: ffff000121a4b148 (journal res){.+.+}-{0:0}, at: bch2_journal_res_get+0x494/0x6a0 fs/bcachefs/journal.h:398 #5: ffff000121a049d8 (&c->mark_lock){++++}-{0:0}, at: bch2_accounting_mem_insert+0x300/0x8d0 fs/bcachefs/disk_accounting.c:407 1 lock held by udevd/6170: 2 locks held by getty/6314: #0: ffff0000d2e7c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bbce2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6529: #0: ffff00010c9600e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff00010c9600e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff00010c9600e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:506 1 lock held by syz-executor/6530: #0: ffff0000d88100e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0000d88100e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0000d88100e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:506 1 lock held by syz-executor/6537: #0: ffff0000cd6260e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0000cd6260e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0000cd6260e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:506 2 locks held by kworker/0:3/6542: 2 locks held by kworker/0:4/6655: 2 locks held by kworker/0:5/7432: 1 lock held by syz-executor/7622: #0: ffff0000d3f2a0e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0000d3f2a0e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0000d3f2a0e0 (&type->s_umount_key#50){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:506 3 locks held by syz-executor/9317: 4 locks held by kworker/0:7/9430: 1 lock held by syz.3.715/10003: =============================================