INFO: task bch-reclaim/loo:5632 blocked for more than 143 seconds. Not tainted 6.11.0-syzkaller-10547-g684a64bf32b6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:26648 pid:5632 tgid:5632 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 bch2_journal_reclaim_thread+0x167/0x560 fs/bcachefs/journal_reclaim.c:739 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701 5 locks held by kworker/u8:5/731: 2 locks held by getty/4966: #0: ffff888032a6a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 4 locks held by syz-executor/5218: 3 locks held by kworker/1:4/5271: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989 #2: ffff88802ac60538 (&idev->mc_lock){+.+.}-{3:3}, at: mld_dad_work+0x3c/0x500 net/ipv6/mcast.c:2259 3 locks held by kworker/1:5/5299: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90003e7fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003e7fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff88805de3c240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 1 lock held by bch-reclaim/loo/5632: #0: ffff88805c1cb0a8 (&j->reclaim_lock){+.+.}-{3:3}, at: bch2_journal_reclaim_thread+0x167/0x560 fs/bcachefs/journal_reclaim.c:739 1 lock held by syz.2.85/6104: #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 1 lock held by syz.4.70/6176: #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.4.70/6194: #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.129/6681: #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/6719: #0: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz-executor/6786: #0: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.2.155/6793: #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88823bee60e0 (&type->s_umount_key#80){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-10547-g684a64bf32b6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7032 Comm: dhcpcd-run-hook Not tainted 6.11.0-syzkaller-10547-g684a64bf32b6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:lookup_object lib/debugobjects.c:195 [inline] RIP: 0010:lookup_object_or_alloc lib/debugobjects.c:564 [inline] RIP: 0010:debug_object_activate+0x1b0/0x510 lib/debugobjects.c:710 Code: 41 fd 4c 89 7c 24 30 4d 8b 3f 45 31 e4 eb 06 4d 8b 3f 41 ff c4 4d 85 ff 74 40 49 8d 5f 18 48 89 d8 48 c1 e8 03 42 80 3c 30 00 <74> 08 48 89 df e8 26 d5 41 fd 48 8b 44 24 10 48 39 03 0f 84 1a 01 RSP: 0018:ffffc9000348f580 EFLAGS: 00000046 RAX: 1ffff110097b8345 RBX: ffff88804bdc1a28 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc9000348f460 RBP: ffffc9000348f690 R08: 0000000000000003 R09: fffff52000691e8c R10: dffffc0000000000 R11: fffff52000691e8c R12: 0000000000000001 R13: 1ffff92000691eb8 R14: dffffc0000000000 R15: ffff88804bdc1a10 FS: 00007fc96e30b380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd399129ac CR3: 0000000029710000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_rcu_head_queue kernel/rcu/rcu.h:224 [inline] __call_rcu_common kernel/rcu/tree.c:3071 [inline] call_rcu+0x97/0xa70 kernel/rcu/tree.c:3190 __dentry_kill+0x497/0x630 fs/dcache.c:634 dput+0x19f/0x2b0 fs/dcache.c:857 handle_mounts fs/namei.c:1579 [inline] step_into+0x44f/0x1080 fs/namei.c:1891 lookup_last fs/namei.c:2556 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2580 filename_lookup+0x256/0x610 fs/namei.c:2609 vfs_statx+0x103/0x490 fs/stat.c:312 vfs_fstatat+0x145/0x190 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:499 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc96e45f5f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffd39913c58 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fc96e45f5f4 RDX: 00007ffd39913c68 RSI: 000055ce4fceaf60 RDI: 00000000ffffff9c RBP: 000055ce4fce4040 R08: 0000000000000028 R09: 3c00000000001001 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc96e5e32ba R13: 0000000000000000 R14: 00007ffd39913f58 R15: 0000000000000000