INFO: task syz-executor.1:24576 blocked for more than 143 seconds. Not tainted 5.17.0-rc7-syzkaller-00060-g92f90cc9fe0e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27528 pid:24576 ppid: 3643 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9875 io_uring_clean_tctx fs/io_uring.c:9891 [inline] io_uring_cancel_generic+0x5c3/0x695 fs/io_uring.c:9969 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x523/0x2a30 kernel/exit.c:761 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 get_signal+0x45a/0x2490 kernel/signal.c:2863 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4eff2f3049 RSP: 002b:00007f4efdc68168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: fffffffffffffe00 RBX: 00007f4eff405f60 RCX: 00007f4eff2f3049 RDX: 0000000000000010 RSI: 0000000020000300 RDI: 000000000000000e RBP: 00007f4eff34d08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4eff939b1f R14: 00007f4efdc68300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb84ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3276: #0: ffff88807ed8a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 3 locks held by kworker/u4:39/20731: 1 lock held by syz-executor.1/24576: #0: ffff8880229a80a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9875 1 lock held by syz-executor.1/24585: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc7-syzkaller-00060-g92f90cc9fe0e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20731 Comm: kworker/u4:39 Not tainted 5.17.0-rc7-syzkaller-00060-g92f90cc9fe0e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker RIP: 0010:encode_point+0x9e/0x350 arch/x86/crypto/curve25519-x86_64.c:1217 Code: 49 8d 76 20 31 c0 b9 10 00 00 00 48 c7 44 24 38 00 00 00 00 4c 8d 6c 24 38 48 c7 44 24 40 00 00 00 00 48 8d 7c 24 78 f3 48 ab <48> 8d 54 24 78 4c 89 ef 48 c7 44 24 48 00 00 00 00 48 c7 44 24 50 RSP: 0018:ffffc9000eee7648 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc9000eee7bf0 RCX: 0000000000000000 RDX: ffff888019d5d700 RSI: ffffc9000eee7868 RDI: ffffc9000eee7740 RBP: 1ffff92001ddcecc R08: 5efba760ea78a8de R09: a59b0ced343a4adb R10: a340089aefd281d0 R11: b0a29a054abf835f R12: dffffc0000000000 R13: ffffc9000eee7680 R14: ffffc9000eee7848 R15: ffffc9000eee7848 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556b46865018 CR3: 000000002c16c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: curve25519_ever64_base+0x6c6/0x790 arch/x86/crypto/curve25519-x86_64.c:1587 curve25519_base_arch+0x20/0x50 arch/x86/crypto/curve25519-x86_64.c:1609 curve25519_generate_public include/crypto/curve25519.h:55 [inline] wg_noise_handshake_create_initiation+0x266/0x620 drivers/net/wireguard/noise.c:542 wg_packet_send_handshake_initiation+0x187/0x340 drivers/net/wireguard/send.c:34 wg_packet_handshake_send_worker+0x18/0x30 drivers/net/wireguard/send.c:51 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 49 8d 76 20 lea 0x20(%r14),%rsi 4: 31 c0 xor %eax,%eax 6: b9 10 00 00 00 mov $0x10,%ecx b: 48 c7 44 24 38 00 00 movq $0x0,0x38(%rsp) 12: 00 00 14: 4c 8d 6c 24 38 lea 0x38(%rsp),%r13 19: 48 c7 44 24 40 00 00 movq $0x0,0x40(%rsp) 20: 00 00 22: 48 8d 7c 24 78 lea 0x78(%rsp),%rdi 27: f3 48 ab rep stos %rax,%es:(%rdi) * 2a: 48 8d 54 24 78 lea 0x78(%rsp),%rdx <-- trapping instruction 2f: 4c 89 ef mov %r13,%rdi 32: 48 c7 44 24 48 00 00 movq $0x0,0x48(%rsp) 39: 00 00 3b: 48 rex.W 3c: c7 .byte 0xc7 3d: 44 24 50 rex.R and $0x50,%al