INFO: task btrfs-transacti:8887 blocked for more than 143 seconds.
Tainted: G L syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:btrfs-transacti state:D stack:29352 pid:8887 tgid:8887 ppid:2 task_flags:0x208040 flags:0x00080000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5256 [inline]
__schedule+0x14bc/0x5000 kernel/sched/core.c:6863
__schedule_loop kernel/sched/core.c:6945 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6960
wait_current_trans+0x346/0x520 fs/btrfs/transaction.c:534
start_transaction+0x6d2/0x15f0 fs/btrfs/transaction.c:709
transaction_kthread+0x262/0x450 fs/btrfs/disk-io.c:1580
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
</TASK>
Showing all locks held in the system:
1 lock held by kthreadd/2:
4 locks held by kworker/0:0/9:
4 locks held by kworker/0:1/10:
4 locks held by kworker/u8:0/12:
3 locks held by kworker/u8:1/13:
4 locks held by kworker/1:0/24:
1 lock held by khungtaskd/31:
#0: ffffffff8df41a60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8df41a60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
#0: ffffffff8df41a60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
3 locks held by kworker/u8:2/34:
4 locks held by kworker/u8:3/37:
3 locks held by kworker/1:1/44:
4 locks held by kworker/u8:5/73:
#0: ffff888078c0b948 ((wq_completion)wg-kex-wg0#9){+.+.}-{0:0}, at: process_one_work+0x841/0x15a0 kernel/workqueue.c:3254
#1: ffffc9000213fb80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15a0 kernel/workqueue.c:3255
#2: ffff88807cae1348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x105/0x750 drivers/net/wireguard/noise.c:529
#3: ffff888056421708 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x116/0x750 drivers/net/wireguard/noise.c:530
5 locks held by kworker/1:2/108:
3 locks held by kworker/0:2/188:
3 locks held by kworker/u8:6/1301:
3 locks held by kworker/u8:7/1332:
3 locks held by kworker/u8:8/2931:
4 locks held by kworker/u8:9/2950:
#0: ffff888078c0d948 ((wq_completion)wg-kex-wg1#9){+.+.}-{0:0}, at: process_one_work+0x841/0x15a0 kernel/workqueue.c:3254
#1: ffffc9000b5f7b80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15a0 kernel/workqueue.c:3255
#2: ffff888058769348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x105/0x750 drivers/net/wireguard/noise.c:529
#3: ffff888033c66648 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x116/0x750 drivers/net/wireguard/noise.c:530
3 locks held by kworker/u8:10/2968:
4 locks held by kworker/u8:11/2996:
3 locks held by kworker/u8:12/3018:
2 locks held by kworker/R-bat_e/3411:
4 locks held by kworker/u8:13/3992:
1 lock held by klogd/5188:
2 locks held by udevd/5199:
2 locks held by dhcpcd/5493:
2 locks held by dhcpcd/5494:
3 locks held by crond/5571:
2 locks held by getty/5583:
#0: ffff88814dba50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x449/0x1460 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/5815:
8 locks held by syz-executor/5826:
2 locks held by kworker/1:3/5828:
2 locks held by syz-executor/5835:
1 lock held by syz-executor/5839:
4 locks held by kworker/0:3/5881:
3 locks held by kworker/0:4/5888:
4 locks held by kworker/1:4/5908:
4 locks held by kworker/0:5/5916:
3 locks held by kworker/0:6/5932:
3 locks held by kworker/1:6/5959:
4 locks held by kworker/1:7/5970:
3 locks held by kworker/0:7/5979:
4 locks held by kworker/0:8/5980:
3 locks held by kworker/u8:14/6057:
3 locks held by kworker/1:8/6082:
3 locks held by kworker/u8:15/6088:
2 locks held by udevd/6126:
3 locks held by kworker/0:9/6290:
#0: ffff8881437a4948 ((wq_completion)wg-kex-wg0#2){+.+.}-{0:0}, at: process_one_work+0x841/0x15a0 kernel/workqueue.c:3254
#1: ffffc9000badfb80 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15a0 kernel/workqueue.c:3255
#2: ffff888033c60d20 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x36/0xbd0 drivers/net/wireguard/noise.c:822
3 locks held by kworker/1:9/6549:
3 locks held by kworker/u8:16/6704:
3 locks held by kworker/u8:17/7030:
4 locks held by kworker/u8:18/7295:
#0: ffff888026d14148 ((wq_completion)wg-kex-wg1){+.+.}-{0:0}, at: process_one_work+0x841/0x15a0 kernel/workqueue.c:3254
#1: ffffc90003edfb80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15a0 kernel/workqueue.c:3255
#2: ffff8880223d9348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x105/0x750 drivers/net/wireguard/noise.c:529
#3: ffff888057388338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x116/0x750 drivers/net/wireguard/noise.c:530
3 locks held by kworker/u8:19/8229:
3 locks held by kworker/0:10/8860:
#0: ffff88807c0f9548 ((wq_completion)wg-kex-wg0#7){+.+.}-{0:0}, at: process_one_work+0x841/0x15a0 kernel/workqueue.c:3254
#1: ffffc9001b21fb80 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15a0 kernel/workqueue.c:3255
#2: ffff88805738d278 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x36/0xbd0 drivers/net/wireguard/noise.c:822
6 locks held by syz.2.1039/8868:
2 locks held by udevadm/8882:
1 lock held by btrfs-transacti/8887:
#0: ffff888053748850 (&fs_info->transaction_kthread_mutex){+.+.}-{4:4}, at: transaction_kthread+0xe4/0x450 fs/btrfs/disk-io.c:1557
3 locks held by kworker/1:10/8894:
2 locks held by kworker/u8:20/8895:
4 locks held by kworker/0:11/8896:
2 locks held by kworker/0:12/8897:
4 locks held by kworker/u8:21/8898:
#0: ffff888058483948 ((wq_completion)wg-kex-wg0#5){+.+.}-{0:0}, at: process_one_work+0x841/0x15a0 kernel/workqueue.c:3254
#1: ffffc9000b167b80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15a0 kernel/workqueue.c:3255
#2: ffff888034b45348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x105/0x750 drivers/net/wireguard/noise.c:529
#3: ffff88805738d278 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x116/0x750 drivers/net/wireguard/noise.c:530
3 locks held by kworker/u8:22/8899:
4 locks held by kworker/u8:23/8900:
#0: ffff888078c09948 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: process_one_work+0x841/0x15a0 kernel/workqueue.c:3254
#1: ffffc9001b1afb80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x868/0x15a0 kernel/workqueue.c:3255
#2: ffff88807ca95348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x105/0x750 drivers/net/wireguard/noise.c:529
#3: ffff88805738e648 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x116/0x750 drivers/net/wireguard/noise.c:530
4 locks held by kworker/u8:24/8901:
4 locks held by kworker/u8:25/8902:
1 lock held by kworker/0:13/8903:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
<TASK>
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]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x135/0x170 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline]
watchdog+0xf95/0xfe0 kernel/hung_task.c:515
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 108 Comm: kworker/1:2 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker
RIP: 0010:ip6t_do_table+0xbd3/0x1560 net/ipv6/netfilter/ip6_tables.c:321
Code: 1b 49 8d 7c 24 08 48 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 ae bd 05 f8 49 01 5c 24 08 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 <74> 08 4c 89 e7 e8 93 bd 05 f8 49 ff 04 24 43 0f b6 04 2f 84 c0 48
RSP: 0018:ffffc90000a07c20 EFLAGS: 00000246
RAX: 1ffffd1ffffb2602 RBX: 0000000000000038 RCX: ffff88801cbe5b80
RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffffe8ffffd93018
RBP: ffffc90000a07e20 R08: ffffc90000a07d8f R09: 0000000000000000
R10: ffffc90000a07d70 R11: fffff52000140fb2 R12: ffffe8ffffd93010
R13: dffffc0000000000 R14: ffff888079477110 R15: 1ffff1100f28ee33
FS: 0000000000000000(0000) GS:ffff888125f32000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc98e0a9c8 CR3: 000000007c8e4000 CR4: 00000000003526f0
Call Trace:
<IRQ>
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623
nf_hook include/linux/netfilter.h:273 [inline]
NF_HOOK+0x53e/0x6b0 include/linux/netfilter.h:316
br_nf_forward_ip+0x647/0x7e0 net/bridge/br_netfilter_hooks.c:716
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623
nf_hook include/linux/netfilter.h:273 [inline]
NF_HOOK+0x215/0x3c0 include/linux/netfilter.h:316
__br_forward+0x41e/0x600 net/bridge/br_forward.c:115
br_handle_frame_finish+0x15a3/0x1c90 net/bridge/br_input.c:229
br_nf_hook_thresh+0x3c6/0x4a0 net/bridge/br_netfilter_hooks.c:-1
br_nf_pre_routing_finish_ipv6+0x999/0xd60 net/bridge/br_netfilter_ipv6.c:-1
NF_HOOK include/linux/netfilter.h:318 [inline]
br_nf_pre_routing_ipv6+0x37e/0x6b0 net/bridge/br_netfilter_ipv6.c:184
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x96e/0x14f0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x95f/0x2f90 net/core/dev.c:6025
__netif_receive_skb_one_core net/core/dev.c:6136 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6251
process_backlog+0x622/0x1500 net/core/dev.c:6603
__napi_poll+0xae/0x320 net/core/dev.c:7667
napi_poll net/core/dev.c:7730 [inline]
net_rx_action+0x672/0xe50 net/core/dev.c:7882
handle_softirqs+0x27d/0x850 kernel/softirq.c:626
do_softirq+0xec/0x180 kernel/softirq.c:523
</IRQ>
<TASK>
__local_bh_enable_ip+0x17d/0x1c0 kernel/softirq.c:450
local_bh_enable include/linux/bottom_half.h:33 [inline]
fpregs_unlock arch/x86/include/asm/fpu/api.h:77 [inline]
kernel_fpu_end+0xd2/0x120 arch/x86/kernel/fpu/core.c:480
blake2s_compress+0xe0/0x1e30 lib/crypto/x86/blake2s.h:42
blake2s_final+0x116/0x260 lib/crypto/blake2s.c:142
hmac+0x293/0x330 drivers/net/wireguard/noise.c:333
kdf+0x182/0x270 drivers/net/wireguard/noise.c:375
mix_dh drivers/net/wireguard/noise.c:413 [inline]
wg_noise_handshake_consume_initiation+0x220/0x900 drivers/net/wireguard/noise.c:608
wg_receive_handshake_packet drivers/net/wireguard/receive.c:144 [inline]
wg_packet_handshake_receive_worker+0x5ee/0xfc0 drivers/net/wireguard/receive.c:213
process_one_work+0x93a/0x15a0 kernel/workqueue.c:3279
process_scheduled_works kernel/workqueue.c:3362 [inline]
worker_thread+0x9b0/0xee0 kernel/workqueue.c:3443
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
</TASK>