INFO: task syz.3.527:7229 blocked for more than 143 seconds.
Tainted: G W 6.16.0-syzkaller-01056-gae388edd4a8f [ 382.672660][ T39] Tainted: G W 6.16.0-syzkaller-01056-gae388edd4a8f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.527 state:D stack:21160 pid:7229 tgid:7228 ppid:5832 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:0x7f591b0e014a
RSP: 002b:00007f5918f45e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f5918f45ef0 RCX: 00007f591b0e014a
RDX: 0000200000000080 RSI: 0000200000000000 RDI: 00007f5918f45eb0
RBP: 0000200000000080 R08: 00007f5918f45ef0 R09: 0000000000000010
R10: 0000000000000010 R11: 0000000000000246 R12: 0000200000000000
R13: 00007f5918f45eb0 R14: 000000000000f628 R15: 0000200000000280
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
3 locks held by irq/32-virtio1-/1181:
#0: ffffffff8d849e40 (local_bh){.+.+}-{1:3}, at: __local_bh_disable_ip+0xa1/0x400 kernel/softirq.c:163
#1: ffff8880b8823d90 ((softirq_ctrl.lock)){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline]
#1: ffff8880b8823d90 ((softirq_ctrl.lock)){+.+.}-{3:3}, at: __local_bh_disable_ip+0x264/0x400 kernel/softirq.c:168
#2: ffff8880b883aad8 (&rq->__lock){-...}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606
2 locks held by kworker/u8:8/1414:
2 locks held by kworker/u8:14/4312:
#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: ffffc9000eb47bc0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000eb47bc0 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
2 locks held by kworker/u8:15/4382:
#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: ffffc9000ee27bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000ee27bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
2 locks held by getty/5576:
#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:
3 locks held by syz-executor/5833:
1 lock held by udevd/5873:
4 locks held by kworker/0:3/5899:
3 locks held by udevd/5942:
3 locks held by udevd/6047:
2 locks held by syz.5.1108/8969:
1 lock held by syz.0.1111/8976:
=============================================
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: 5899 Comm: kworker/0:3 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
Workqueue: wg-crypt-wg1 wg_packet_decrypt_worker
RIP: 0010:__bfs kernel/locking/lockdep.c:1818 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1863 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2799 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3172 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3287 [inline]
RIP: 0010:validate_chain+0xfd7/0x2140 kernel/locking/lockdep.c:3911
Code: 25 ff 0f 00 00 39 05 e4 8f 5d 11 73 06 89 05 dc 8f 5d 11 49 8b 04 24 48 89 de 48 39 e8 0f 84 33 fe ff ff 4c 89 68 30 48 8b 00 <48> 39 e8 75 f4 48 89 de e9 1f fe ff ff 48 c7 c7 90 a8 87 8d 48 89
RSP: 0018:ffffc900055d6f40 EFLAGS: 00000002
RAX: ffffffff95968628 RBX: 00000000000003cd RCX: 00000000000003e2
RDX: 0000000000000008 RSI: 00000000000003cd RDI: ffff88802df75940
RBP: ffffffff92a0d668 R08: ffffc900055d6f08 R09: 0000000000000020
R10: ffffc900055d7290 R11: ffffffff819c92a0 R12: ffffffff9594fe28
R13: ffffffff958a8218 R14: ffff88802df764f8 R15: 00000000000003e1
FS: 0000000000000000(0000) GS:ffff8881268fa000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fceb5511000 CR3: 000000003235e000 CR4: 00000000003526f0
Call Trace:
__lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5240
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871
_raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606
raw_spin_rq_lock kernel/sched/sched.h:1532 [inline]
__task_rq_lock+0xc1/0x470 kernel/sched/core.c:684
rt_mutex_setprio+0xc8/0xc70 kernel/sched/core.c:7197
rt_mutex_adjust_prio kernel/locking/rtmutex.c:539 [inline]
mark_wakeup_next_waiter kernel/locking/rtmutex.c:1331 [inline]
rt_mutex_slowunlock+0x4a7/0x860 kernel/locking/rtmutex.c:1466
spin_unlock include/linux/spinlock_rt.h:105 [inline]
__local_bh_enable+0x23a/0x3d0 kernel/softirq.c:214
__local_bh_enable_ip+0x1a4/0x270 kernel/softirq.c:262
local_bh_enable include/linux/bottom_half.h:33 [inline]
spin_unlock_bh include/linux/spinlock_rt.h:111 [inline]
ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline]
wg_packet_decrypt_worker+0x2e0/0xce0 drivers/net/wireguard/receive.c:499
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
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