INFO: task syz.2.347:7422 blocked for more than 143 seconds.
Not tainted 6.15.0-syzkaller-11802-g1af80d00e1e0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.347 state:D stack:28584 pid:7422 tgid:7416 ppid:5827 task_flags:0x400040 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x116a/0x5de0 kernel/sched/core.c:6785
__schedule_loop kernel/sched/core.c:6863 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:6878
schedule_timeout+0x257/0x290 kernel/time/sleep_timeout.c:75
___down_common+0x2d8/0x460 kernel/locking/semaphore.c:268
__down_common kernel/locking/semaphore.c:293 [inline]
__down+0x20/0x30 kernel/locking/semaphore.c:303
down+0x74/0xa0 kernel/locking/semaphore.c:100
console_lock+0x5b/0xa0 kernel/printk/printk.c:2849
con_install+0x99/0x600 drivers/tty/vt/vt.c:3515
tty_driver_install_tty drivers/tty/tty_io.c:1304 [inline]
tty_init_dev.part.0+0x99/0x500 drivers/tty/tty_io.c:1416
tty_init_dev include/linux/err.h:70 [inline]
tty_open_by_driver drivers/tty/tty_io.c:2082 [inline]
tty_open+0xa50/0xf90 drivers/tty/tty_io.c:2129
chrdev_open+0x234/0x6a0 fs/char_dev.c:414
do_dentry_open+0x744/0x1c10 fs/open.c:964
vfs_open+0x82/0x3f0 fs/open.c:1094
do_open fs/namei.c:3887 [inline]
path_openat+0x1de4/0x2cb0 fs/namei.c:4046
do_filp_open+0x20b/0x470 fs/namei.c:4073
do_sys_openat2+0x11b/0x1d0 fs/open.c:1437
do_sys_open fs/open.c:1452 [inline]
__do_sys_openat fs/open.c:1468 [inline]
__se_sys_openat fs/open.c:1463 [inline]
__x64_sys_openat+0x174/0x210 fs/open.c:1463
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4466f8d290
RSP: 002b:00007f4467e39b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f4466f8d290
RDX: 0000000000000002 RSI: 00007f4467e39c10 RDI: 00000000ffffff9c
RBP: 00007f4467e39c10 R08: 0000000000000000 R09: 00007f4467e39987
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f44671b5fa0 R15: 00007ffd801ba1e8
Showing all locks held in the system:
3 locks held by kworker/0:0/9:
4 locks held by kworker/0:1/10:
6 locks held by kworker/u8:0/12:
1 lock held by kworker/R-mm_pe/14:
4 locks held by kworker/1:0/24:
#0: ffff888057d1a148 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900001e7d10 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((__typeof__(*((worker))) *)(( unsigned long)((worker))))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff8880342dd308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c2/0x880 drivers/net/wireguard/noise.c:598
#3: ffff888057c4bea8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x5ac/0x880 drivers/net/wireguard/noise.c:632
1 lock held by khungtaskd/31:
#0: ffffffff8e5c4cc0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e5c4cc0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e5c4cc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6770
1 lock held by kworker/1:1/42:
#0: ffffffff8e47bae8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2678
3 locks held by kswapd0/84:
4 locks held by kworker/0:2/974:
4 locks held by kworker/u8:9/3575:
3 locks held by kworker/1:2/3675:
2 locks held by klogd/5180:
3 locks held by udevd/5191:
1 lock held by dhcpcd/5485:
5 locks held by dhcpcd/5486:
2 locks held by crond/5560:
2 locks held by getty/5576:
#0: ffff8880323e50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fee2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222
3 locks held by syz-executor/5802:
1 lock held by syz-executor/5814:
4 locks held by kworker/0:3/5815:
3 locks held by syz-executor/5816:
2 locks held by syz-executor/5821:
1 lock held by kworker/R-wg-cr/5865:
#0: ffffffff8e47bae8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline]
#0: ffffffff8e47bae8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3531
3 locks held by kworker/1:3/5868:
3 locks held by kworker/1:4/5869:
3 locks held by kworker/0:4/5870:
3 locks held by kworker/1:5/5871:
3 locks held by kworker/0:5/5872:
4 locks held by kworker/0:6/5873:
#0: ffff8880357ecd48 ((wq_completion)wg-kex-wg1#3){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc9000495fd10 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((__typeof__(*((worker))) *)(( unsigned long)((worker))))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88802c031308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c2/0x880 drivers/net/wireguard/noise.c:598
#3: ffff88802aa01708 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x666/0x880 drivers/net/wireguard/noise.c:643
4 locks held by kworker/0:7/5919:
#0: ffff888057d1a148 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900049ffd10 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((__typeof__(*((worker))) *)(( unsigned long)((worker))))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff8880342dd308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c2/0x880 drivers/net/wireguard/noise.c:598
#3: ffff888057c4bea8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x5ac/0x880 drivers/net/wireguard/noise.c:632
4 locks held by kworker/0:9/5923:
4 locks held by kworker/1:6/5956:
3 locks held by kworker/1:7/5979:
4 locks held by syz-executor/6027:
4 locks held by kworker/u8:37/6637:
#0: ffff888059fed948 ((wq_completion)wg-kex-wg1#6){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc9000d167d10 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88807cd1d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xec/0x650 drivers/net/wireguard/noise.c:529
#3: ffff8880267bd278 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x100/0x650 drivers/net/wireguard/noise.c:530
5 locks held by kworker/u8:38/6638:
3 locks held by kworker/u8:39/6639:
4 locks held by kworker/u8:41/6641:
2 locks held by kworker/u8:42/6642:
3 locks held by kworker/u8:44/6644:
3 locks held by kworker/u8:45/6645:
4 locks held by kworker/u8:46/6646:
3 locks held by kworker/u8:47/6647:
4 locks held by kworker/u8:48/6648:
#0: ffff888034431948 ((wq_completion)wg-kex-wg1#9){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc90003527d10 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff8880342d9308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xec/0x650 drivers/net/wireguard/noise.c:529
#3: ffff888057c4b4c0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x100/0x650 drivers/net/wireguard/noise.c:530
4 locks held by kworker/u8:49/6649:
4 locks held by kworker/u8:50/6650:
4 locks held by kworker/u8:51/6651:
4 locks held by kworker/u8:52/6652:
#0: ffff88807bc3c948 ((wq_completion)wg-kex-wg1#4){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc9000d247d10 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88802c031308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xec/0x650 drivers/net/wireguard/noise.c:529
#3: ffff88802aa01708 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x100/0x650 drivers/net/wireguard/noise.c:530
2 locks held by kworker/u8:55/6655:
4 locks held by kworker/u8:56/6656:
2 locks held by kworker/u8:57/6657:
2 locks held by syz.2.347/7422:
#0: ffffffff8f2c3bc8 (tty_mutex){+.+.}-{4:4}, at: tty_open_by_driver drivers/tty/tty_io.c:2046 [inline]
#0: ffffffff8f2c3bc8 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x53e/0xf90 drivers/tty/tty_io.c:2129
#1: ffff8880379981c0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_init_dev.part.0+0x37/0x500 drivers/tty/tty_io.c:1415
4 locks held by kworker/1:8/7424:
4 locks held by kworker/0:10/7425:
#0: ffff8880368f3548 ((wq_completion)wg-kex-wg0#6){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc9001058fd10 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((__typeof__(*((worker))) *)(( unsigned long)((worker))))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff888037b05308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c2/0x880 drivers/net/wireguard/noise.c:598
#3: ffff8880267bc890 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x666/0x880 drivers/net/wireguard/noise.c:643
1 lock held by kworker/1:9/7426:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-syzkaller-11802-g1af80d00e1e0 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/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+0xf70/0x12c0 kernel/hung_task.c:470
kthread+0x3c5/0x780 kernel/kthread.c:464
ret_from_fork+0x5d4/0x6f0 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: 5873 Comm: kworker/0:6 Not tainted 6.15.0-syzkaller-11802-g1af80d00e1e0 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0xa/0x20 kernel/kcov.c:314
Code: 00 00 00 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 89 f2 <89> fe bf 05 00 00 00 e9 2a fe ff ff 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc900000068b8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff895d3f46
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900000069d8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880581580df
R13: ffff8880581580c8 R14: 1ffff92000000d29 R15: ffff88801c750000
FS: 0000000000000000(0000) GS:ffff888124765000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555939585c8 CR3: 000000000e382000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_rtnl_is_held+0x26/0x40 net/core/rtnetlink.c:182
__in6_dev_get include/net/addrconf.h:347 [inline]
ip6_ignore_linkdown include/net/addrconf.h:443 [inline]
find_match+0x34b/0x15d0 net/ipv6/route.c:781
__find_rr_leaf+0x140/0xe00 net/ipv6/route.c:869
find_rr_leaf net/ipv6/route.c:890 [inline]
rt6_select net/ipv6/route.c:934 [inline]
fib6_table_lookup+0x57c/0xa30 net/ipv6/route.c:2232
ip6_pol_route+0x1cc/0x1230 net/ipv6/route.c:2268
pol_lookup_func include/net/ip6_fib.h:617 [inline]
fib6_rule_lookup+0x536/0x720 net/ipv6/fib6_rules.c:120
ip6_route_input_lookup net/ipv6/route.c:2337 [inline]
ip6_route_input+0x662/0xc00 net/ipv6/route.c:2640
ip6_rcv_finish_core.constprop.0+0x1a0/0x5d0 net/ipv6/ip6_input.c:66
ip6_rcv_finish+0x130/0x5b0 net/ipv6/ip6_input.c:77
ip_sabotage_in+0x21e/0x290 net/bridge/br_netfilter_hooks.c:993
nf_hook_entry_hookfn include/linux/netfilter.h:157 [inline]
nf_hook_slow+0xbe/0x200 net/netfilter/core.c:623
nf_hook.constprop.0+0x422/0x750 include/linux/netfilter.h:272
NF_HOOK include/linux/netfilter.h:315 [inline]
ipv6_rcv+0xa4/0x680 net/ipv6/ip6_input.c:309
__netif_receive_skb_one_core+0x12d/0x1e0 net/core/dev.c:5977
__netif_receive_skb+0x1d/0x160 net/core/dev.c:6090
netif_receive_skb_internal net/core/dev.c:6176 [inline]
netif_receive_skb+0x137/0x7b0 net/core/dev.c:6235
NF_HOOK include/linux/netfilter.h:317 [inline]
NF_HOOK include/linux/netfilter.h:311 [inline]
br_pass_frame_up+0x346/0x490 net/bridge/br_input.c:70
br_handle_frame_finish+0xf5a/0x1ca0 net/bridge/br_input.c:227
br_nf_hook_thresh+0x307/0x410 net/bridge/br_netfilter_hooks.c:1170
br_nf_pre_routing_finish_ipv6+0x76a/0xfb0 net/bridge/br_netfilter_ipv6.c:154
NF_HOOK include/linux/netfilter.h:317 [inline]
br_nf_pre_routing_ipv6+0x3cd/0x8c0 net/bridge/br_netfilter_ipv6.c:184
br_nf_pre_routing+0x860/0x15b0 net/bridge/br_netfilter_hooks.c:508
nf_hook_entry_hookfn include/linux/netfilter.h:157 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:283 [inline]
br_handle_frame+0xad5/0x14b0 net/bridge/br_input.c:434
__netif_receive_skb_core.constprop.0+0xa26/0x4a00 net/core/dev.c:5863
__netif_receive_skb_one_core+0xb0/0x1e0 net/core/dev.c:5975
__netif_receive_skb+0x1d/0x160 net/core/dev.c:6090
process_backlog+0x442/0x15e0 net/core/dev.c:6442
__napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7414
napi_poll net/core/dev.c:7478 [inline]
net_rx_action+0xa9f/0xfe0 net/core/dev.c:7605
handle_softirqs+0x219/0x8e0 kernel/softirq.c:579
do_softirq kernel/softirq.c:480 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:467
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:407
local_bh_enable include/linux/bottom_half.h:33 [inline]
fpregs_unlock arch/x86/include/asm/fpu/api.h:77 [inline]
kernel_fpu_end+0x5e/0x70 arch/x86/kernel/fpu/core.c:476
blake2s_compress+0x7f/0xe0 arch/x86/lib/crypto/blake2s-glue.c:46
blake2s_update+0xef/0x360 lib/crypto/blake2s.c:32
hmac.constprop.0+0x23f/0x420 drivers/net/wireguard/noise.c:324
kdf.constprop.0+0x14b/0x280 drivers/net/wireguard/noise.c:367
mix_dh+0xe8/0x150 drivers/net/wireguard/noise.c:413
wg_noise_handshake_create_response+0x38f/0x640 drivers/net/wireguard/noise.c:697
wg_packet_send_handshake_response+0xe0/0x310 drivers/net/wireguard/send.c:94
wg_receive_handshake_packet+0x247/0xbf0 drivers/net/wireguard/receive.c:154
wg_packet_handshake_receive_worker+0x17f/0x3a0 drivers/net/wireguard/receive.c:213
process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3321 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
kthread+0x3c5/0x780 kernel/kthread.c:464
ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245