INFO: task syz-executor.1:6632 blocked for more than 143 seconds. Not tainted 5.7.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D25816 6632 7106 0x80004006 Call Trace: context_switch kernel/sched/core.c:3430 [inline] __schedule+0x8f3/0x1f90 kernel/sched/core.c:4156 schedule+0xd0/0x2a0 kernel/sched/core.c:4231 rwsem_down_write_slowpath+0x706/0xf90 kernel/locking/rwsem.c:1235 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1840 bcm_release+0x8b/0x660 net/can/bcm.c:1474 __sock_release+0xcd/0x280 net/socket.c:605 sock_close+0x18/0x20 net/socket.c:1278 __fput+0x33e/0x880 fs/file_table.c:281 task_work_run+0xf4/0x1b0 kernel/task_work.c:123 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xb3f/0x2de0 kernel/exit.c:806 do_group_exit+0x125/0x340 kernel/exit.c:904 get_signal+0x47b/0x24e0 kernel/signal.c:2739 do_signal+0x81/0x2240 arch/x86/kernel/signal.c:810 exit_to_usermode_loop+0x26c/0x360 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45ca59 Code: Bad RIP value. RSP: 002b:00007f105285cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000004 RBX: 00000000005078e0 RCX: 000000000045ca59 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000b99 R14: 00000000004cdf85 R15: 00007f105285d6d4 Showing all locks held in the system: 2 locks held by kworker/u4:0/7: #0: ffff8880ae737d58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1261 [inline] #0: ffff8880ae737d58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x233/0x1f90 kernel/sched/core.c:4102 #1: ffff8880ae722ec8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x304/0x410 kernel/sched/psi.c:817 3 locks held by kworker/u4:3/70: 1 lock held by khungtaskd/1139: #0: ffffffff899be040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 1 lock held by in:imklog/6797: #0: ffff888094235db0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 2 locks held by syz-executor.1/6632: #0: ffff888019a9d750 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline] #0: ffff888019a9d750 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:604 #1: ffffffff8a586130 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1840 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1139 Comm: khungtaskd Not tainted 5.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9240 Comm: kworker/u4:6 Not tainted 5.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker RIP: 0010:fsquare_fsquare__ lib/crypto/curve25519-hacl64.c:232 [inline] RIP: 0010:fsquare_fsquare_ lib/crypto/curve25519-hacl64.c:257 [inline] RIP: 0010:fsquare_fsquare_times_ lib/crypto/curve25519-hacl64.c:280 [inline] RIP: 0010:fsquare_fsquare_times lib/crypto/curve25519-hacl64.c:288 [inline] RIP: 0010:crecip_crecip lib/crypto/curve25519-hacl64.c:328 [inline] RIP: 0010:crecip lib/crypto/curve25519-hacl64.c:441 [inline] RIP: 0010:format_scalar_of_point lib/crypto/curve25519-hacl64.c:754 [inline] RIP: 0010:curve25519_generic+0x32cd/0x5360 lib/crypto/curve25519-hacl64.c:782 Code: 49 89 c0 48 89 f8 49 89 d1 49 f7 e6 49 01 c0 4c 89 f8 49 11 d1 4d 89 c2 49 f7 e7 4d 89 cb 49 01 c2 48 89 d8 49 11 d3 48 f7 e6 <49> 89 c0 48 89 c8 49 89 d1 49 f7 e7 49 01 c0 4b 8d 04 f6 49 11 d1 RSP: 0018:ffffc90002c47640 EFLAGS: 00000a83 RAX: 816bcbc68c6c9b68 RBX: 0005afb10143ddb4 RCX: 0035d786b336d018 RDX: 00000059101c76e3 RSI: 000fa9a919031802 RDI: 000b5f620287bb68 RBP: ffffc90002c47a80 R08: 8a1f528bfad8d620 R09: 0000001ca831835e R10: aad075ee46f53f51 R11: 0000001dce254108 R12: 000000000000000e R13: 0007ffffffffffff R14: 0000918512ee855f R15: 000112520cc8d879 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82292ba000 CR3: 0000000092ddc000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: curve25519_base_arch+0x42/0x50 arch/x86/crypto/curve25519-x86_64.c:1401