INFO: task syz-executor:32038 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:22488 pid:32038 tgid:32038 ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1821/0x5740
 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+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f86baf5d68e
RSP: 002b:00007ffe5a4c9e38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000555561ab1500 RCX: 00007f86baf5d68e
RDX: 0000000000000001 RSI: 00007ffe5a4c9ec0 RDI: 0000000000000005
RBP: 00007f86bb0335f2 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe5a4c9ec0 R14: 00007f86bbd44620 R15: 0000000000000003
 </TASK>
INFO: task syz-executor:32095 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21744 pid:32095 tgid:32095 ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1821/0x5740
 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+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faa66b5d68e
RSP: 002b:00007fff6dc04c58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00005555558bd500 RCX: 00007faa66b5d68e
RDX: 0000000000000001 RSI: 00007fff6dc04ce0 RDI: 0000000000000005
RBP: 00007faa66c335f2 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff6dc04ce0 R14: 00007faa67944620 R15: 0000000000000003
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u8:1/13:
 #0: ffff8881012b5940 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0xa35/0x1860
 #1: ffffc90000127c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa70/0x1860
 #2: ffffffff8fdba2e8 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800
 #3: ffff88803fa795d0 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_destruct+0x116/0x310
1 lock held by khungtaskd/35:
 #0: ffffffff8e95cd20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5447:
 #0: ffff8881124ec0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034732e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13a0
1 lock held by syz-executor/5572:
2 locks held by kworker/1:5/5730:
2 locks held by kworker/1:6/17513:
2 locks held by kworker/1:0/29733:
2 locks held by kworker/1:3/17831:
3 locks held by kworker/u9:46/22281:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa35/0x1860
 #1: ffffc9000794fc40 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa70/0x1860
 #2: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: idle_cull_fn+0xd2/0x740
1 lock held by kworker/R-wg-cr/26809:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
1 lock held by kworker/R-wg-cr/31679:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
1 lock held by kworker/R-wg-cr/31680:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
2 locks held by kworker/R-wg-cr/31738:
1 lock held by kworker/R-wg-cr/31739:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
1 lock held by kworker/u11:3/31744:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
1 lock held by kworker/R-wg-cr/31783:
1 lock held by kworker/R-wg-cr/31784:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
1 lock held by kworker/R-wg-cr/31786:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
4 locks held by kworker/R-wg-cr/31787:
1 lock held by kworker/R-wg-cr/31888:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
1 lock held by kworker/R-wg-cr/31890:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
1 lock held by kworker/R-wg-cr/31928:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xc4d/0x1130
2 locks held by kworker/1:2/31972:
7 locks held by syz-executor/31995:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff8880530ef080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
 #4: ffff888196cee128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x870
 #5: ffff888113ece258 (&devlink->lock_key#4){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170
 #6: ffffffff8e962ef8 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580
4 locks held by syz-executor/32038:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888027572c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32095:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888032ae3c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32116:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888031d53480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32167:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888012f66480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32191:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888115aecc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32212:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888024281480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
2 locks held by kworker/1:4/32229:
4 locks held by syz-executor/32233:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88803e874880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32258:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88804e047480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
4 locks held by syz-executor/32278:
 #0: ffff8881131fa410 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888053b1cc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810991e008 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f6547a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
1 lock held by kworker/R-bond0/32289:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x81/0x1130
1 lock held by kworker/R-wg-cr/32292:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x81/0x1130
1 lock held by kworker/R-wg-cr/32293:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x81/0x1130
1 lock held by kworker/R-wg-cr/32294:
 #0: ffffffff8e7faf80 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x81/0x1130

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
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+0x389/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31787 Comm: kworker/R-wg-cr Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: wg-crypt-wg2 wg_packet_decrypt_worker
RIP: 0010:__lock_acquire+0x35e/0x2cf0
Code: 09 d4 41 09 cc 41 09 dc 45 89 64 c7 20 41 89 7c c7 24 4c 89 7c 24 20 4d 8d 2c c7 41 81 e4 ff 1f 00 00 4c 0f a3 25 92 37 9e 12 <73> 15 49 69 c4 c8 00 00 00 48 8d 80 70 e3 e0 93 4c 8b 74 24 08 eb
RSP: 0018:ffffc90000a07430 EFLAGS: 00000003
RAX: 000000000000000f RBX: 0000000000026000 RCX: 0000000000000007
RDX: 0000000000080000 RSI: 0000000000006000 RDI: 0000000000000000
RBP: 0000000000000003 R08: ffffffff89b70f5b R09: ffffffff8e95cd20
R10: dffffc0000000000 R11: ffffed102d5cba56 R12: 0000000000000007
R13: ffff88810b5f4788 R14: ffff88810b5f3b80 R15: ffff88810b5f4710
FS:  0000000000000000(0000) GS:ffff8882a929f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff899272780 CR3: 000000000e74a000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lock_acquire+0x106/0x350
 advance_sched+0x9b7/0xc20
 __hrtimer_run_queues+0x3c0/0xa20
 hrtimer_interrupt+0x44b/0x950
 __sysvec_apic_timer_interrupt+0x102/0x430
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:unwind_next_frame+0x0/0x2550
Code: 0a cc 89 d9 80 e1 07 80 c1 03 38 c1 7c 92 48 89 df e8 14 2d ba 00 eb 88 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 81 ec 98 00 00 00 49
RSP: 0018:ffffc90000a079c0 EFLAGS: 00000287
RAX: ffffc90000a07ab0 RBX: ffffc90000a07a28 RCX: 0000000000000001
RDX: ffffc90000a07ab8 RSI: dffffc0000000000 RDI: ffffc90000a07a28
RBP: 1ffff92000140f46 R08: ffffc90000a07a00 R09: 0000000000000000
R10: ffffc90000a07a28 R11: fffff52000140f51 R12: ffffc90000a07a60
R13: ffffc90000a07a38 R14: 1ffff92000140f47 R15: ffffc90000a07a30
 __unwind_start+0x5b8/0x760
 arch_stack_walk+0xe3/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_noprof+0x2bc/0x650
 dst_alloc+0x105/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+0x48d/0x1ae0
 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:_raw_spin_unlock_irq+0x29/0x50
Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 1a 93 f7 f5 48 89 df e8 22 08 f8 f5 e8 2d a2 23 f6 fb bf 01 00 00 00 <e8> 52 87 e9 f5 65 8b 05 1b cd 8d 07 85 c0 74 07 5b e9 01 48 00 00
RSP: 0018:ffffc90007637a90 EFLAGS: 00000206
RAX: 00000000000d0299 RBX: ffff88823c63a800 RCX: 0000000080000001
RDX: 0000000000000000 RSI: ffffffff8dfa4fd4 RDI: 0000000000000001
RBP: ffffc90007637cb8 R08: ffffffff903037f7 R09: 1ffffffff20606fe
R10: dffffc0000000000 R11: fffffbfff20606ff R12: 0000000001800000
R13: ffffe8ffffda6d60 R14: dffffc0000000000 R15: ffff8880235f6318
 process_scheduled_works+0x953/0x1860
 rescuer_thread+0x827/0x1130
 kthread+0x389/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
