INFO: task syz.1.4483:17186 blocked for more than 165 seconds.
Not tainted 6.14.0-syzkaller-07422-gacb4f33713b9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.4483 state:D stack:28968 pid:17186 tgid:17185 ppid:5823 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x116f/0x5de0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:664 [inline]
__mutex_lock+0x6c7/0xb90 kernel/locking/mutex.c:732
ptmx_open drivers/tty/pty.c:823 [inline]
ptmx_open+0xff/0x360 drivers/tty/pty.c:790
chrdev_open+0x231/0x6a0 fs/char_dev.c:414
do_dentry_open+0x741/0x1c10 fs/open.c:956
vfs_open+0x82/0x3f0 fs/open.c:1086
do_open fs/namei.c:3845 [inline]
path_openat+0x1e5e/0x2d40 fs/namei.c:4004
do_filp_open+0x20b/0x470 fs/namei.c:4031
do_sys_openat2+0x11b/0x1d0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x174/0x210 fs/open.c:1455
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f808af8d169
RSP: 002b:00007f808be9b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f808b1a5fa0 RCX: 00007f808af8d169
RDX: 0000000000000000 RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f808b00e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f808b1a5fa0 R15: 00007ffd3309d4e8
Showing all locks held in the system:
3 locks held by kworker/0:1/10:
#0: ffff88801b478d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900000f7d18 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffffffff8e3c91f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x280/0x3c0 kernel/rcu/tree_exp.h:304
4 locks held by kworker/u8:0/12:
3 locks held by kworker/u8:1/13:
3 locks held by kworker/1:0/24:
1 lock held by khungtaskd/31:
#0: ffffffff8e3bdcc0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e3bdcc0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e3bdcc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6761
3 locks held by kworker/u8:2/36:
4 locks held by kworker/u8:3/53:
2 locks held by kworker/u8:4/63:
#0: ffff88801b481148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc90001557d18 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
1 lock held by kswapd0/90:
4 locks held by kworker/u8:5/215:
3 locks held by kworker/0:2/915:
3 locks held by kworker/1:2/973:
#0: ffff88805dbfb148 ((wq_completion)wg-kex-wg0#6){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc90003c4fd18 ((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: ffff88807f660338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x30/0xe80 drivers/net/wireguard/noise.c:822
6 locks held by kworker/u8:6/3415:
4 locks held by kworker/u8:7/3509:
#0: ffff88805d68c948 ((wq_completion)wg-kex-wg0#5){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc9000c60fd18 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88805d515308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xec/0x650 drivers/net/wireguard/noise.c:529
#3: ffff88807f660338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x100/0x650 drivers/net/wireguard/noise.c:530
4 locks held by kworker/u8:8/3527:
2 locks held by kworker/u8:9/3571:
3 locks held by syslogd/5178:
2 locks held by dhcpcd/5489:
2 locks held by getty/5582:
#0: ffff88803229e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900033362f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfa1/0x1450 drivers/tty/n_tty.c:2211
2 locks held by syz-executor/5808:
4 locks held by syz-executor/5818:
4 locks held by syz-executor/5822:
3 locks held by kworker/0:3/5825:
#0: ffff888024d77548 ((wq_completion)wg-kex-wg1#10){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc90004147d18 ((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: ffff88807f664890 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x30/0xe80 drivers/net/wireguard/noise.c:822
1 lock held by syz-executor/5828:
2 locks held by syz-executor/5831:
2 locks held by kworker/0:5/5872:
3 locks held by kworker/0:6/5873:
3 locks held by kworker/0:7/5875:
4 locks held by kworker/0:8/5902:
3 locks held by kworker/1:4/5903:
4 locks held by kworker/1:6/5913:
#0: ffff888024d77548 ((wq_completion)wg-kex-wg1#10){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc90004f1fd18 ((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: ffff88805dfcd308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c2/0x880 drivers/net/wireguard/noise.c:598
#3: ffff88807f664890 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x5ac/0x880 drivers/net/wireguard/noise.c:632
1 lock held by syz.1.4483/17186:
#0: ffffffff8f099ec8 (tty_mutex){+.+.}-{4:4}, at: ptmx_open drivers/tty/pty.c:823 [inline]
#0: ffffffff8f099ec8 (tty_mutex){+.+.}-{4:4}, at: ptmx_open+0xff/0x360 drivers/tty/pty.c:790
4 locks held by kworker/u8:10/17196:
4 locks held by kworker/u8:11/17197:
5 locks held by kworker/1:7/17198:
2 locks held by kworker/0:9/17200:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-syzkaller-07422-gacb4f33713b9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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:236 [inline]
watchdog+0xf70/0x12c0 kernel/hung_task.c:399
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
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: 17197 Comm: kworker/u8:11 Not tainted 6.14.0-syzkaller-07422-gacb4f33713b9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker
RIP: 0010:__lock_acquire+0x1ce/0x1ba0 kernel/locking/lockdep.c:5172
Code: 14 c1 e0 0d 44 09 d0 c1 e2 12 09 c8 81 e2 00 00 04 00 09 d0 44 09 c0 41 09 c5 8b 84 24 b8 00 00 00 c1 e0 15 41 09 c5 8b 43 20 <25> ff 1f 00 00 41 09 c5 8b 84 24 c0 00 00 00 44 89 6b 20 89 43 24
RSP: 0018:ffffc900000068d0 EFLAGS: 00000006
RAX: 00000000000c23c4 RBX: ffff888030cf2ff8 RCX: 0000000000020000
RDX: 0000000000000000 RSI: ffff888030cf2fd0 RDI: ffff888030cf2ff8
RBP: ffff888030cf2f30 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff8e3bdc60 R12: 0000000000000000
R13: 0000000000022000 R14: ffff888030cf2440 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888124a1a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f52a8dffffc CR3: 000000000e182000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5866 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5823
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock_bh include/linux/rcupdate.h:894 [inline]
__dev_queue_xmit+0x29b/0x43e0 net/core/dev.c:4558
dev_queue_xmit include/linux/netdevice.h:3350 [inline]
br_dev_queue_push_xmit+0x272/0x8a0 net/bridge/br_forward.c:53
br_nf_dev_queue_xmit+0x6f3/0x2cb0 net/bridge/br_netfilter_hooks.c:923
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
br_nf_post_routing+0x8e7/0x1190 net/bridge/br_netfilter_hooks.c:969
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626
nf_hook+0x45e/0x780 include/linux/netfilter.h:269
NF_HOOK include/linux/netfilter.h:312 [inline]
br_forward_finish+0xcd/0x130 net/bridge/br_forward.c:66
br_nf_hook_thresh+0x301/0x410 net/bridge/br_netfilter_hooks.c:1170
br_nf_forward_finish+0x66a/0xba0 net/bridge/br_netfilter_hooks.c:665
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
br_nf_forward_ip.part.0+0x609/0x810 net/bridge/br_netfilter_hooks.c:719
br_nf_forward_ip net/bridge/br_netfilter_hooks.c:679 [inline]
br_nf_forward+0xf0f/0x1be0 net/bridge/br_netfilter_hooks.c:776
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626
nf_hook+0x45e/0x780 include/linux/netfilter.h:269
NF_HOOK include/linux/netfilter.h:312 [inline]
__br_forward+0x1be/0x5b0 net/bridge/br_forward.c:115
deliver_clone net/bridge/br_forward.c:131 [inline]
br_flood+0x39c/0x650 net/bridge/br_forward.c:249
br_handle_frame_finish+0xe8e/0x1c20 net/bridge/br_input.c:220
br_nf_hook_thresh+0x301/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:314 [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:154 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:282 [inline]
br_handle_frame+0xad5/0x14a0 net/bridge/br_input.c:433
__netif_receive_skb_core.constprop.0+0xa23/0x4a00 net/core/dev.c:5777
__netif_receive_skb_one_core+0xb0/0x1e0 net/core/dev.c:5889
__netif_receive_skb+0x1d/0x160 net/core/dev.c:6004
process_backlog+0x442/0x15e0 net/core/dev.c:6356
__napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7328
napi_poll net/core/dev.c:7392 [inline]
net_rx_action+0xa97/0x1010 net/core/dev.c:7514
handle_softirqs+0x216/0x8e0 kernel/softirq.c:561
do_softirq kernel/softirq.c:462 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:449
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:389
wg_timers_any_authenticated_packet_traversal+0x96/0xc0 drivers/net/wireguard/timers.c:215
wg_packet_send_handshake_initiation+0x1cc/0x360 drivers/net/wireguard/send.c:36
wg_packet_handshake_send_worker+0x1c/0x30 drivers/net/wireguard/send.c:51
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245