INFO: task kworker/1:0:24 blocked for more than 140 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0     state:D stack:21440 pid:24    tgid:24    ppid:2      task_flags:0x4208160 flags:0x00080000
Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x6ba/0x920
 down_read+0x9c/0x330
 wg_noise_handshake_consume_initiation+0x59c/0x9b0
 wg_packet_handshake_receive_worker+0x674/0x10c0
 process_scheduled_works+0xa8e/0x14e0
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz-executor:9325 blocked for more than 161 seconds.
      Tainted: G             L      syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:22672 pid:9325  tgid:9325  ppid:1      task_flags:0x40054c flags:0x00080003
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_timeout+0xc0/0x2c0
 wait_for_completion+0x2ca/0x5e0
 __flush_work+0xa63/0xca0
 dquot_disable+0x75a/0x1c20
 shmem_put_super+0x89/0x140
 generic_shutdown_super+0x13d/0x2d0
 kill_anon_super+0x3b/0x70
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x3d3/0x460
 task_work_run+0x1d9/0x270
 do_exit+0x73a/0x2360
 do_group_exit+0x22d/0x2f0
 get_signal+0x121b/0x12c0
 arch_do_signal_or_restart+0xbb/0x860
 exit_to_user_mode_loop+0x104/0x730
 do_syscall_64+0x353/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3a3d79b467
RSP: 002b:00007ffdcb2e3908 EFLAGS: 00000206 ORIG_RAX: 0000000000000005
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f3a3d79b467
RDX: 0000000000000000 RSI: 00007ffdcb2e3910 RDI: 0000000000000003
RBP: 00007ffdcb2e4afc R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffdcb2e4b10
R13: 00007f3a3d8322ca R14: 00000000000601e7 R15: 00007ffdcb2e4b50
 </TASK>
INFO: task kworker/u10:23:9589 blocked for more than 161 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:23  state:D stack:22784 pid:9589  tgid:9589  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: quota_events_unbound quota_release_workfn
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_timeout+0xc0/0x2c0
 wait_for_completion+0x2ca/0x5e0
 __synchronize_srcu+0x23b/0x2f0
 quota_release_workfn+0x10c/0x5f0
 process_scheduled_works+0xa8e/0x14e0
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/0:0/9:
4 locks held by kworker/0:1/10:
4 locks held by kworker/1:0/24:
 #0: ffff88810a6acd40 ((wq_completion)wg-kex-wg1#14){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900001e7c40 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffff88810c5a9440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1a2/0x9b0
 #3: ffff88816a83a0e8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x59c/0x9b0
3 locks held by kworker/u10:0/27:
2 locks held by kworker/1:2/33:
1 lock held by khungtaskd/35:
 #0: ffffffff8e959c60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u10:1/37:
1 lock held by kcompactd0/39:
3 locks held by kworker/u10:2/67:
2 locks held by syslogd/5039:
5 locks held by udevd/5057:
2 locks held by getty/5437:
 #0: ffff88816cdaf0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034732e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
4 locks held by kworker/1:4/5619:
 #0: ffff8880132ea940 ((wq_completion)wg-kex-wg0#20){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc90004cdfc40 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffff88810adc9440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1a2/0x9b0
 #3: ffff88816cea3ea0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x59c/0x9b0
2 locks held by kworker/1:5/5620:
2 locks held by kworker/u8:3/5671:
4 locks held by kworker/0:3/5672:
4 locks held by kworker/0:4/5691:
4 locks held by kworker/0:7/8013:
4 locks held by kworker/1:8/8015:
 #0: ffff88811b96a940 ((wq_completion)wg-kex-wg1#18){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc9000451fc40 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffff88811493d440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1a2/0x9b0
 #3: ffff88816cea5270 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x59c/0x9b0
4 locks held by kworker/1:9/8016:
 #0: ffff88811baf3540 ((wq_completion)wg-kex-wg0#22){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900044ffc40 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffff888114061440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1a2/0x9b0
 #3: ffff888175eddc58 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x59c/0x9b0
3 locks held by kworker/0:11/8024:
2 locks held by kworker/0:12/8025:
3 locks held by kworker/u10:7/9169:
2 locks held by kworker/u10:8/9170:
6 locks held by kworker/u10:12/9174:
3 locks held by kworker/u10:14/9176:
2 locks held by kworker/u10:15/9177:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900084f7c40 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
3 locks held by kworker/u10:16/9178:
2 locks held by kworker/u10:17/9179:
4 locks held by kworker/u10:19/9182:
3 locks held by kworker/u10:21/9185:
1 lock held by syz-executor/9325:
 #0: ffff88801f9bc0d8 (&type->s_umount_key#67){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
2 locks held by kworker/u10:23/9589:
 #0: ffff8881066e7140 ((wq_completion)quota_events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900035bfc40 ((quota_release_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
3 locks held by kworker/u10:24/9590:
4 locks held by kworker/u10:25/9591:
 #0: ffff88811bd70940 ((wq_completion)wg-kex-wg1#13){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900031dfc40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffff88810c5a9440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x12e/0x810
 #3: ffff88816a83a0e8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x13f/0x810
8 locks held by kworker/u10:26/9592:
4 locks held by kworker/u10:28/9594:
3 locks held by kworker/u10:29/9595:
1 lock held by syz-executor/9959:
4 locks held by kworker/u8:5/10002:
3 locks held by syz-executor/10524:
3 locks held by syz-executor/12189:

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 35 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/0x380
 sys_info+0x135/0x170
 watchdog+0xfd7/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: 9592 Comm: kworker/u10:26 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: events_unbound nsim_dev_trap_report_work
RIP: 0010:__lock_acquire+0x62a/0x2e50
Code: 40 38 c5 76 1a e8 46 fc 13 03 48 8b 3c 24 85 c0 74 0d 83 3d 0b 13 91 0e 00 0f 84 00 08 00 00 83 7c 24 08 00 0f 84 a8 00 00 00 <49> 8b 46 20 66 85 c0 0f 88 8c 00 00 00 65 8b 0d 6e 53 9e 11 a9 00
RSP: 0018:ffffc900000074e0 EFLAGS: 00000002
RAX: 0000000000000003 RBX: ffff888173eac890 RCX: 0000000000000005
RDX: 0000000000000003 RSI: 0000000000000003 RDI: ffff888173eabc00
RBP: 0000000000000003 R08: eb00000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffff888199df2e58 R12: 0000000000000003
R13: 0000000000000000 R14: ffff888173eac870 R15: 0000000000000005
FS:  0000000000000000(0000) GS:ffff88818dc1d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557775a4e8 CR3: 000000000e746000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lock_acquire+0x115/0x350
 _raw_read_lock_bh+0x3e/0x50
 ebt_do_table+0xec/0x27d0
 br_handle_frame+0x127f/0x1510
 __netif_receive_skb_core+0x989/0x30b0
 process_backlog+0x706/0x1860
 __napi_poll+0xaa/0x330
 net_rx_action+0x61d/0xf50
 handle_softirqs+0x225/0x840
 do_softirq+0x76/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0xf8/0x130
 nsim_dev_trap_report_work+0x7a4/0xb40
 process_scheduled_works+0xa8e/0x14e0
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
