INFO: task hung in wg_noise_handshake_consume_initiation
From: cruise k
Date: Tue Jan 11 2022 - 02:42:52 EST
Hi,
Syzkaller found the following issue:
HEAD commit: 75acfdb Linux 5.16-rc8
git tree: upstream
console output: https://pastebin.com/raw/E1a5ZGSt
kernel config: https://pastebin.com/raw/XsnKfdRt
And hope the report log can help you.
INFO: task kworker/6:1:78 blocked for more than 143 seconds.
Not tainted 5.16.0-rc8+ #10
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/6:1 state:D stack:26416 pid: 78 ppid: 2 flags:0x00004000
Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker
Call Trace:
<TASK>
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xcd9/0x2550 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
rwsem_down_read_slowpath+0x59c/0xa90 kernel/locking/rwsem.c:1041
__down_read_common kernel/locking/rwsem.c:1223 [inline]
__down_read kernel/locking/rwsem.c:1232 [inline]
down_read+0xe2/0x440 kernel/locking/rwsem.c:1472
wg_noise_handshake_consume_initiation+0x271/0x5f0
drivers/net/wireguard/noise.c:599
wg_receive_handshake_packet+0x589/0x9d0 drivers/net/wireguard/receive.c:151
wg_packet_handshake_receive_worker+0x18e/0x3d0
drivers/net/wireguard/receive.c:220
process_one_work+0x9df/0x16a0 kernel/workqueue.c:2298
worker_thread+0x90/0xe20 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>