INFO: task syz.2.503:11141 blocked for more than 143 seconds.
Tainted: G W 6.16.0-syzkaller-11852-g479058002c32 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.503 state:D stack:25736 pid:11141 tgid:11140 ppid:5835 task_flags:0x400140 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x16f3/0x4c20 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7058
schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
do_wait_for_common kernel/sched/completion.c:100 [inline]
__wait_for_common kernel/sched/completion.c:121 [inline]
wait_for_common kernel/sched/completion.c:132 [inline]
wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153
kthread_flush_worker+0x1c6/0x240 kernel/kthread.c:1563
__alloc_workqueue+0x146b/0x1b70 kernel/workqueue.c:5763
alloc_workqueue_noprof+0xd4/0x210 kernel/workqueue.c:5786
btrfs_alloc_workqueue+0x1ec/0x2d0 fs/btrfs/async-thread.c:112
btrfs_init_workqueues+0x2c4/0x6c0 fs/btrfs/disk-io.c:1986
open_ctree+0x11ef/0x3a10 fs/btrfs/disk-io.c:3424
btrfs_fill_super fs/btrfs/super.c:977 [inline]
btrfs_get_tree_super fs/btrfs/super.c:1937 [inline]
btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline]
btrfs_get_tree+0xf55/0x1820 fs/btrfs/super.c:2108
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:0x7f87e6ca038a
RSP: 002b:00007f87e4b05e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f87e4b05ef0 RCX: 00007f87e6ca038a
RDX: 0000200000005100 RSI: 0000200000000080 RDI: 00007f87e4b05eb0
RBP: 0000200000005100 R08: 00007f87e4b05ef0 R09: 0000000003000851
R10: 0000000003000851 R11: 0000000000000246 R12: 0000200000000080
R13: 00007f87e4b05eb0 R14: 00000000000050f3 R15: 00002000000002c0
Showing all locks held in the system:
1 lock held by khungtaskd/38:
#0: ffffffff8d9a8b80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8d9a8b80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8d9a8b80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by kworker/u8:2/43:
9 locks held by kworker/u8:7/1179:
4 locks held by kworker/u8:9/3192:
5 locks held by kworker/u8:10/3562:
2 locks held by getty/5592:
#0: ffff88823bf600a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90003e832e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1410 drivers/tty/n_tty.c:2222
1 lock held by syz-executor/5832:
#0: ffff88803389c0d0 (&type->s_umount_key#71){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline]
#0: ffff88803389c0d0 (&type->s_umount_key#71){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline]
#0: ffff88803389c0d0 (&type->s_umount_key#71){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:506
6 locks held by kworker/u8:13/9718:
1 lock held by syz.2.503/11141:
#0: ffff8880627aa0d0 (&type->s_umount_key#72/1){+.+.}-{4:4}, at: alloc_super+0x204/0x990 fs/super.c:345
1 lock held by syz.4.693/13471:
#0: ffff88807ac6c6e0 (&j->lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline]
#0: ffff88807ac6c6e0 (&j->lock){+.+.}-{3:3}, at: bch2_journal_flush_seq_async+0x7d/0x750 fs/bcachefs/journal.c:822
1 lock held by syz.5.692/13474:
2 locks held by syz.0.694/13542:
4 locks held by udevd/13543:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Tainted: G W 6.16.0-syzkaller-11852-g479058002c32 #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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline]
watchdog+0xf93/0xfe0 kernel/hung_task.c:491
kthread+0x711/0x8a0 kernel/kthread.c:463
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: 3562 Comm: kworker/u8:10 Tainted: G W 6.16.0-syzkaller-11852-g479058002c32 #0 PREEMPT_{RT,(full)}
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:pgd_offset_pgd include/linux/pgtable.h:161 [inline]
RIP: 0010:walk_to_pmd+0x84/0x410 mm/memory.c:2074
Code: 3d 41 95 1e 0b bf 40 00 00 00 44 89 fe e8 e4 c0 b8 ff 49 83 ff 3f 0f 87 e3 02 00 00 e8 25 bc b8 ff 48 89 d8 44 89 f9 48 d3 e8 <25> ff 01 00 00 4d 8d 3c c4 4c 89 fd 48 c1 ed 03 42 80 7c 2d 00 00
RSP: 0018:ffffc9000d85f648 EFLAGS: 00000206
RAX: 0000000000000055 RBX: 00002aaaaaaab000 RCX: 0000000000000027
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000d85f810 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff94000010969 R12: ffff888019878000
R13: dffffc0000000000 R14: ffff888019870000 R15: 0000000000000027
FS: 0000000000000000(0000) GS:ffff8881268cd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fae674c9b60 CR3: 000000000d7a6000 CR4: 00000000003526f0
Call Trace:
__get_locked_pte+0x27/0xd0 mm/memory.c:2092
get_locked_pte include/linux/mm.h:2722 [inline]
__text_poke+0x2e6/0xa10 arch/x86/kernel/alternative.c:2467
text_poke arch/x86/kernel/alternative.c:2552 [inline]
smp_text_poke_batch_finish+0x90a/0x1130 arch/x86/kernel/alternative.c:2885
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210
static_key_enable+0x1a/0x20 kernel/jump_label.c:223
toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245