INFO: task syz.2.278:7994 blocked for more than 143 seconds.
Tainted: G W 6.16.0-syzkaller-01056-gae388edd4a8f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.278 state:D stack:21160 pid:7994 tgid:7993 ppid:5828 task_flags:0x400140 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5397 [inline]
__schedule+0x165b/0x4c50 kernel/sched/core.c:6786
__schedule_loop kernel/sched/core.c:6864 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6879
schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
___down_common kernel/locking/semaphore.c:268 [inline]
__down_common+0x319/0x6a0 kernel/locking/semaphore.c:293
down+0x80/0xd0 kernel/locking/semaphore.c:100
bch2_run_recovery_passes+0x177/0x210 fs/bcachefs/recovery_passes.c:609
bch2_fs_recovery+0x28c9/0x3a50 fs/bcachefs/recovery.c:1050
bch2_fs_start+0xaaf/0xda0 fs/bcachefs/super.c:1213
bch2_fs_get_tree+0xb39/0x1520 fs/bcachefs/fs.c:2488
vfs_get_tree+0x92/0x2b0 fs/super.c:1815
do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805
do_mount fs/namespace.c:4133 [inline]
__do_sys_mount fs/namespace.c:4344 [inline]
__se_sys_mount+0x317/0x410 fs/namespace.c:4321
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f71539a014a
RSP: 002b:00007f7151805e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7151805ef0 RCX: 00007f71539a014a
RDX: 0000200000000080 RSI: 00002000000001c0 RDI: 00007f7151805eb0
RBP: 0000200000000080 R08: 00007f7151805ef0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000001c0
R13: 00007f7151805eb0 R14: 000000000000f628 R15: 00002000000000c0
Showing all locks held in the system:
1 lock held by khungtaskd/39:
#0: ffffffff8d9aa300 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8d9aa300 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8d9aa300 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770
2 locks held by kworker/u8:5/1022:
2 locks held by udevd/5181:
2 locks held by getty/5570:
#0: ffff88823bf860a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90003e932e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1410 drivers/tty/n_tty.c:2222
1 lock held by syz-executor/5825:
1 lock held by udevd/5888:
2 locks held by udevd/5968:
2 locks held by udevd/5971:
2 locks held by udevd/6114:
#0: ffffffff8d9aa300 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8d9aa300 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8d9aa300 (rcu_read_lock){....}-{1:3}, at: __d_lookup+0x66/0x780 fs/dcache.c:2390
#1: ffff88803a9c09a8 (&lockref->lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline]
#1: ffff88803a9c09a8 (&lockref->lock){+.+.}-{3:3}, at: __d_lookup+0x23e/0x780 fs/dcache.c:2397
2 locks held by kworker/u8:11/6183:
#0: ffff888019881138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888019881138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc9000c777bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000c777bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
5 locks held by kworker/u8:13/8549:
3 locks held by syz.6.548/9709:
1 lock held by syz.1.547/9714:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 39 Comm: khungtaskd Tainted: G W 6.16.0-syzkaller-01056-gae388edd4a8f #0 PREEMPT_{RT,(full)}
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xe9e/0xee0 kernel/hung_task.c:470
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 3 Comm: pool_workqueue_ Tainted: G W 6.16.0-syzkaller-01056-gae388edd4a8f #0 PREEMPT_{RT,(full)}
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:chain_hlock_class_idx kernel/locking/lockdep.c:441 [inline]
RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:6201 [inline]
RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:6239 [inline]
RIP: 0010:zap_class+0xe5/0x360 kernel/locking/lockdep.c:6284
Code: c1 75 d7 45 8b 7d 00 41 f6 c7 fc 0f 84 e2 00 00 00 41 c1 ef 08 4e 8d 34 7d d0 02 fb 91 49 81 ff 00 00 50 00 73 30 41 0f b7 06 <25> ff 1f 00 00 48 39 c3 74 33 49 ff c7 41 8b 45 00 89 c1 c1 e9 08
RSP: 0018:ffffc90000087bc0 EFLAGS: 00000083
RAX: 0000000000002af7 RBX: 0000000000000f59 RCX: 000000000007f0b7
RDX: ffffffff92f60318 RSI: ffffffff92f60318 RDI: ffffffff92a70068
RBP: ffffffff92fa0770 R08: 0000000000000000 R09: ffffffff81a94848
R10: dffffc0000000000 R11: fffffbfff1e36fff R12: 0000000000004a63
R13: ffffffff931d72f0 R14: ffffffff920576a4 R15: 00000000000539ea
FS: 0000000000000000(0000) GS:ffff8881268fa000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d11fffc CR3: 000000003503a000 CR4: 00000000003526f0
Call Trace:
__lockdep_free_key_range kernel/locking/lockdep.c:6410 [inline]
lockdep_unregister_key+0x1a6/0x310 kernel/locking/lockdep.c:6612
wq_unregister_lockdep kernel/workqueue.c:4818 [inline]
pwq_release_workfn+0x6d2/0x870 kernel/workqueue.c:5114
kthread_worker_fn+0x504/0xb60 kernel/kthread.c:1010
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245