INFO: task syz-executor.5:13014 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27208 pid:13014 ppid: 10431 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109 __nbd_ioctl drivers/block/nbd.c:1454 [inline] nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fccf920dae9 RSP: 002b:00007fccf6762188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fccf9321020 RCX: 00007fccf920dae9 RDX: 0000000000000007 RSI: 000000000000ab00 RDI: 0000000000000006 RBP: 00007fccf9267f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5055175f R14: 00007fccf6762300 R15: 0000000000022000 INFO: task syz-executor.5:13025 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29592 pid:13025 ppid: 10431 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fccf920dae9 RSP: 002b:00007fccf6741188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fccf93210e0 RCX: 00007fccf920dae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 00007fccf9267f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5055175f R14: 00007fccf6741300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6225: 2 locks held by rs:main Q:Reg/6228: 5 locks held by kworker/u4:6/8345: 1 lock held by syz-executor.5/13014: #0: ffff88801a6a4998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 1 lock held by syz-executor.5/13025: #0: ffff88801a6a4998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #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+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8437 Comm: kworker/u4:15 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker RIP: 0010:fsqr2+0x2a4/0x370 arch/x86/crypto/curve25519-x86_64.c:608 Code: a3 f6 47 38 66 4d 0f 38 f6 dd f3 4c 0f 38 f6 5f 18 66 48 0f 38 f6 c1 f3 48 0f 38 f6 c1 48 0f af c2 49 01 c0 66 4c 0f 38 f6 c9 <4c> 89 4e 08 66 4c 0f 38 f6 d1 4c 89 56 10 66 4c 0f 38 f6 d9 4c 89 RSP: 0018:ffffc90004047588 EFLAGS: 00000282 RAX: 0000000000000286 RBX: 000000000000001a RCX: 0000000000000000 RDX: 0000000000000026 RSI: ffffc900040477c8 RDI: ffffc90004047668 RBP: ffffc900040477c8 R08: b5d150c2380ffbba R09: e3c9e784d5794681 R10: a5194081b32688f4 R11: 8164460dfc5b9de3 R12: ffffc90004047668 R13: 0000000000000015 R14: 0b94f892ac3cc7d7 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f41814ea018 CR3: 000000007ed21000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: point_add_and_double+0x2ed/0x610 arch/x86/crypto/curve25519-x86_64.c:804 montgomery_ladder.constprop.0+0x385/0x560 arch/x86/crypto/curve25519-x86_64.c:887 curve25519_ever64 arch/x86/crypto/curve25519-x86_64.c:1041 [inline] curve25519_arch+0x18d/0x230 arch/x86/crypto/curve25519-x86_64.c:1388 curve25519 include/crypto/curve25519.h:39 [inline] mix_dh+0x7d/0x130 drivers/net/wireguard/noise.c:378 wg_noise_handshake_create_initiation+0x2ca/0x620 drivers/net/wireguard/noise.c:517 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+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 66 4d 0f 38 f6 dd adcx %r13,%r11 6: f3 4c 0f 38 f6 5f 18 adox 0x18(%rdi),%r11 d: 66 48 0f 38 f6 c1 adcx %rcx,%rax 13: f3 48 0f 38 f6 c1 adox %rcx,%rax 19: 48 0f af c2 imul %rdx,%rax 1d: 49 01 c0 add %rax,%r8 20: 66 4c 0f 38 f6 c9 adcx %rcx,%r9 * 26: 4c 89 4e 08 mov %r9,0x8(%rsi) <-- trapping instruction 2a: 66 4c 0f 38 f6 d1 adcx %rcx,%r10 30: 4c 89 56 10 mov %r10,0x10(%rsi) 34: 66 4c 0f 38 f6 d9 adcx %rcx,%r11 3a: 4c rex.WR 3b: 89 .byte 0x89