INFO: task syz.3.78:6981 blocked for more than 145 seconds. Not tainted 6.15.0-rc2-syzkaller-gc72692105976 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.78 state:D stack:0 pid:6981 tgid:6980 ppid:6480 task_flags:0x400140 flags:0x00000009 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x16a4/0x2c80 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6860 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6917 __mutex_lock_common+0xda8/0x2604 kernel/locking/mutex.c:678 __mutex_lock kernel/locking/mutex.c:746 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:798 bio_find_or_create_slab block/bio.c:122 [inline] bioset_init+0x1d0/0x6cc block/bio.c:1705 bch2_fs_alloc fs/bcachefs/super.c:922 [inline] bch2_fs_open+0x2000/0x2a48 fs/bcachefs/super.c:2209 bch2_fs_get_tree+0x598/0x12cc fs/bcachefs/fs.c:2172 vfs_get_tree+0x90/0x28c fs/super.c:1759 do_new_mount+0x278/0x900 fs/namespace.c:3879 path_mount+0x590/0xe04 fs/namespace.c:4206 do_mount fs/namespace.c:4219 [inline] __do_sys_mount fs/namespace.c:4430 [inline] __se_sys_mount fs/namespace.c:4407 [inline] __arm64_sys_mount+0x4f4/0x5d0 fs/namespace.c:4407 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 INFO: task syz.3.78:6981 is blocked on a mutex likely owned by task syz-executor:6486. task:syz-executor state:R running task stack:0 pid:6486 tgid:6486 ppid:1 task_flags:0x400140 flags:0x0000000d Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x16a4/0x2c80 kernel/sched/core.c:6767 preempt_schedule_common+0xe8/0x1dc kernel/sched/core.c:6947 preempt_schedule+0x60/0x80 kernel/sched/core.c:6971 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x94/0x98 kernel/locking/spinlock.c:194 kasan_quarantine_remove_cache+0x248/0x3f0 mm/kasan/quarantine.c:372 kasan_cache_shutdown+0x24/0x34 mm/kasan/generic.c:212 kmem_cache_destroy+0x80/0x174 mm/slab_common.c:521 bio_put_slab block/bio.c:155 [inline] bioset_exit+0x328/0x42c block/bio.c:1664 bch2_fs_ec_exit+0x320/0x35c fs/bcachefs/ec.c:2294 __bch2_fs_free fs/bcachefs/super.c:565 [inline] bch2_fs_release+0x1d8/0x720 fs/bcachefs/super.c:627 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x2a8/0x41c lib/kobject.c:737 bch2_fs_free+0x314/0x384 fs/bcachefs/super.c:690 bch2_kill_sb+0x48/0x58 fs/bcachefs/fs.c:2304 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1435 __cleanup_mnt+0x20/0x30 fs/namespace.c:1442 task_work_run+0x230/0x2e0 kernel/task_work.c:227 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:745 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 1 lock held by kworker/0:0/9: 5 locks held by kworker/0:1/10: 4 locks held by kworker/1:0/24: 1 lock held by khungtaskd/32: #0: ffff800090118020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kworker/0:2/3877: 2 locks held by syslogd/6075: 3 locks held by udevd/6090: 1 lock held by dhcpcd/6144: 2 locks held by getty/6227: #0: ffff0000d22bb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009c1db2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x46c/0x123c drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6468: 2 locks held by syz-executor/6479: 2 locks held by kworker/0:3/6482: 2 locks held by syz-executor/6484: 3 locks held by syz-executor/6486: 1 lock held by syz-executor/6487: #0: ffff0000d2312308 (&xt[i].mutex){+.+.}-{4:4}, at: xt_find_target+0x8c/0x254 net/netfilter/x_tables.c:254 3 locks held by kworker/1:5/6531: 2 locks held by kworker/0:4/6532: 2 locks held by kworker/0:5/6560: 1 lock held by syz.3.78/6981: #0: ffff800090833d28 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffff800090833d28 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x1d0/0x6cc block/bio.c:1705 2 locks held by kworker/0:6/7044: 2 locks held by syz-executor/7045: 3 locks held by kworker/u8:15/7047: =============================================