INFO: task syz-executor:31982 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21528 pid:31982 tgid:31982 ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17b4/0x5680
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7f7/0x1550
 del_device_store+0xd7/0x370
 kernfs_fop_write_iter+0x3af/0x540
 vfs_write+0x61d/0xb90
 ksys_write+0x150/0x270
 do_syscall_64+0x15f/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa58015d60e
RSP: 002b:00007ffd6d5f3f78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000555561f6f500 RCX: 00007fa58015d60e
RDX: 0000000000000001 RSI: 00007ffd6d5f4000 RDI: 0000000000000005
RBP: 00007fa5802335ec R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd6d5f4000 R14: 00007fa580f44620 R15: 0000000000000003
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/0:0/9:
1 lock held by khungtaskd/34:
 #0: ffffffff8e95cda0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5437:
 #0: ffff88816f7300a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000346b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13a0
7 locks held by kworker/u8:15/9026:
 #0: ffff8881012b5940 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0xa35/0x1860
 #1: ffffc900069f7c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa70/0x1860
 #2: ffffffff8fdc1648 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800
 #3: ffff88811a69b128 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x129/0x420
 #4: ffff88811a69a258 (&devlink->lock_key#41){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x142/0x420
 #5: ffffffff8fdd0300 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x13a/0x830
 #6: ffffffff8e7eb790 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0xc7f/0x22c0
2 locks held by kworker/0:4/22237:
2 locks held by kworker/0:5/23974:
8 locks held by kworker/0:11/3415:
1 lock held by syz-executor/29103:
 #0: ffffffff8e962f78 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580
3 locks held by kworker/u10:14/30059:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa35/0x1860
 #1: ffffc900043d7c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa70/0x1860
 #2: ffffffff8fdd0300 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
2 locks held by udevd/31674:
 #0: ffff88810a496350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_release+0x1a9/0x650
 #1: ffff88810973ea60 (&nbd->config_lock){+.+.}-{4:4}, at: refcount_dec_and_mutex_lock+0x30/0xa0
7 locks held by syz-executor/31884:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88811a33d880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
 #4: ffff888198e3a128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x870
 #5: ffff888198e3d258 (&devlink->lock_key#32){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170
 #6: ffffffff8e962f78 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580
4 locks held by syz-executor/31982:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff8881be4a9c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32538:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff8881954b2480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/332:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88811e670080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/598:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88811a33b880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/907:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff8881ab360080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/916:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888180065c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/992:
 #0: ffff8881135de410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88818067ac80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810b670c38 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f64ffe0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 sys_info+0x135/0x170
 watchdog+0xfd3/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 3415 Comm: kworker/0:11 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker
RIP: 0010:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 00 b9 35 0a cc 89 f6 31 d2 e9 36 96 7a 03 66 0f 1f 44 00
RSP: 0000:ffffc90000006590 EFLAGS: 00000046
RAX: 0000000000000134 RBX: ffff888121023e40 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000134 RDI: 0000000000000838
RBP: ffffc90000006658 R08: ffffffff81b2cfc5 R09: ffffffff9a48a5c8
R10: 0000000000000003 R11: ffffffff817436c0 R12: 0000000000000134
R13: dffffc0000000000 R14: 000000000fffef39 R15: 0000000000000020
FS:  0000000000000000(0000) GS:ffff88818dc90000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4d95800010 CR3: 000000000e74a000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x385/0x630
 __hrtimer_rearm_deferred+0x270/0x450
 irqentry_exit+0x6a0/0x730
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:unwind_next_frame+0x50e/0x2550
Code: c1 e8 3f 48 01 c8 48 83 e0 fe 4c 8d 3c 45 00 00 00 00 49 01 ef 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 27 49 63 07 4c 01 f8 49 8d 4f 04 4c 39 e0 48 0f 46 e9 49
RSP: 0000:ffffc900000067b8 EFLAGS: 00000a06
RAX: 0000000000000000 RBX: ffffffff90b8e260 RCX: dffffc0000000000
RDX: ffffffff90b8e220 RSI: ffffffff916c7f46 RDI: ffffffff8c28b580
RBP: ffffffff90b8e220 R08: 0000000000000011 R09: ffffffff8e95cda0
R10: ffffc900000068d8 R11: ffffffff81b0d910 R12: ffffffff8ba95b5c
R13: ffffffff90b8e220 R14: ffffc90000006888 R15: ffffffff90b8e240
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x31c/0x660
 ref_tracker_alloc+0x15a/0x4c0
 dst_init+0xd9/0x480
 dst_alloc+0x12a/0x170
 ip_route_output_key_hash_rcu+0x14d0/0x25d0
 ip_route_output_key_hash+0x18d/0x2a0
 ip_route_output_flow+0x2a/0x150
 ip_route_me_harder+0x742/0xf90
 synproxy_send_tcp+0x34c/0x670
 synproxy_send_client_synack+0x8c1/0xe30
 nft_synproxy_eval_v4+0x34a/0x4e0
 nft_synproxy_do_eval+0x305/0x580
 nft_do_chain+0x467/0x19f0
 nft_do_chain_inet+0x360/0x4b0
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x21f/0x3c0
 NF_HOOK+0x336/0x3c0
 process_backlog+0xaa3/0x1950
 __napi_poll+0xae/0x340
 net_rx_action+0x627/0xf70
 handle_softirqs+0x22a/0x840
 __irq_exit_rcu+0xca/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__schedule+0x17bc/0x5680
Code: d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 fa e9 87 f6 4c 89 23 4c 89 ef 4c 89 e6 e8 fc 29 8a f5 48 89 c7 e8 84 c9 eb f5 <31> ff 4d 39 e5 40 0f 95 c7 e8 66 d5 eb f5 48 8b 84 24 00 01 00 00
RSP: 0000:ffffc90008646240 EFLAGS: 00000202
RAX: 00000000001bd423 RBX: ffff88812103b008 RCX: 0000000080000001
RDX: 0000000000000007 RSI: ffffffff8dfa8711 RDI: ffffffff8c28b5e0
RBP: ffffc90008646450 R08: ffffffff9030b1f7 R09: 1ffffffff206163e
R10: dffffc0000000000 R11: fffffbfff206163f R12: ffff8881043bbb00
R13: ffff8881043bbb00 R14: dffffc0000000000 R15: ffff88812103bb78
 preempt_schedule_irq+0x4d/0xa0
 irqentry_exit+0x14f/0x730
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:kasan_check_range+0xd1/0x2c0
Code: 01 00 00 44 89 dd 83 e5 07 0f 84 b5 00 00 00 41 80 3b 00 4d 89 dc 0f 85 b3 01 00 00 83 fd 07 0f 84 8d 00 00 00 41 80 3c 1f 00 <0f> 85 94 01 00 00 83 fd 06 74 7d 49 bc 02 00 00 00 00 fc ff df 43
RSP: 0000:ffffc90008646588 EFLAGS: 00000246
RAX: 0007a89b1b969701 RBX: dffffc0000000001 RCX: ffffffff84b62e77
RDX: 0000000000000001 RSI: 0000000000000140 RDI: ffffc90008646ca0
RBP: 0000000000000004 R08: ffffc90008646ddf R09: 1ffff920010c8dbb
R10: dffffc0000000000 R11: fffff520010c8d94 R12: fffff520010c8d94
R13: 05d14f74b213c820 R14: fffff520010c8dbc R15: 1ffff920010c8d94
 __asan_memset+0x22/0x50
 curve25519_generic+0x7c7/0xa4c0
 curve25519+0x51bd/0x51d0
 wg_noise_handshake_consume_initiation+0x245/0x9a0
 wg_packet_handshake_receive_worker+0x674/0x10c0
 process_scheduled_works+0xb5d/0x1860
 worker_thread+0xa53/0xfc0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
clocksource: Marking clocksource tsc unstable due to frequency skew
clocksource: Watchdog               kvm-clock interval:             6023ns
clocksource: Clocksource                  tsc interval:             5710ns
tsc: Marking TSC unstable due to clocksource watchdog
