INFO: task syz.1.281:6734 blocked for more than 143 seconds.
      Not tainted syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.281       state:D stack:25640 pid:6734  tgid:6734  ppid:5613   task_flags:0x40044c flags:0x00080003
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7bf/0x1550
 tun_chr_close+0x3e/0x1c0
 __fput+0x418/0xa50
 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:0x7f866059ce59
RSP: 002b:00007ffe7a504728 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffe7a504810 RCX: 00007f866059ce59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000016668 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b32820000 R11: 0000000000000246 R12: 00007ffe7a504850
R13: 00007f8660815fac R14: 00000000000166b6 R15: 00007f8660815fa0
 </TASK>
INFO: task syz.0.282:6738 blocked for more than 143 seconds.
      Not tainted syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.282       state:D stack:26432 pid:6738  tgid:6737  ppid:5610   task_flags:0x40054c flags:0x00080001
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7bf/0x1550
 tun_chr_close+0x3e/0x1c0
 __fput+0x418/0xa50
 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:0x7f70e0d9ce59
RSP: 002b:00007f70e1cf5028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f70e1015fa0 RCX: 00007f70e0d9ce59
RDX: 0000200000000200 RSI: 00000000400454ca RDI: 0000000000000005
RBP: 00007f70e0e32e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f70e1016038 R14: 00007f70e1015fa0 R15: 00007fff9f45ae68
 </TASK>
INFO: task syz-executor:6901 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:25608 pid:6901  tgid:6901  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7bf/0x1550
 inet_rtm_newaddr+0x464/0x19e0
 rtnetlink_rcv_msg+0x802/0xc00
 netlink_rcv_skb+0x226/0x4a0
 netlink_unicast+0x7bb/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7b3175d68e
RSP: 002b:00007ffc7b426dc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00005555614aa500 RCX: 00007f7b3175d68e
RDX: 0000000000000028 RSI: 00007f7b32544670 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00007ffc7b426e44 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f7b32544670 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/0:0/9:
2 locks held by kworker/0:1/10:
3 locks held by kworker/u8:1/13:
 #0: ffff88816fa32940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc90000127c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x116/0x15c0
1 lock held by kworker/R-mm_pe/14:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xbda/0x10b0
3 locks held by kworker/1:0/24:
 #0: ffff888100069d40 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900001e7c40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0xac/0x1110
3 locks held by kworker/1:1/31:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc90000a67c40 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
1 lock held by khungtaskd/34:
 #0: ffffffff8e959c20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by kworker/0:2/798:
3 locks held by kworker/u10:4/1113:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900072f7c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
2 locks held by getty/5432:
 #0: ffff88810baf60a0 (&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
1 lock held by kworker/R-wg-cr/5656:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xbda/0x10b0
1 lock held by kworker/R-wg-cr/5657:
1 lock held by kworker/R-wg-cr/5658:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390
1 lock held by kworker/R-wg-cr/5665:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xbda/0x10b0
1 lock held by kworker/R-wg-cr/5666:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390
1 lock held by kworker/R-wg-cr/5667:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390
3 locks held by kworker/1:4/5668:
 #0: ffff888100069d40 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc90006477c40 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x16/0x80
2 locks held by kworker/0:3/5678:
1 lock held by kworker/0:4/5689:
1 lock held by syz.1.281/6734:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz.0.282/6738:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
2 locks held by syz.2.283/6746:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffffff8fe8ece0 (flowtable_lock){+.+.}-{4:4}, at: nf_flow_table_cleanup+0x21/0xb0
4 locks held by syz-executor/6782:
 #0: ffff888106eba450 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff888118f98140 (&type->i_mutex_dir_key#7/1){+.+.}-{4:4}, at: filename_create+0x200/0x370
 #2: ffffffff8e999520 (cgroup_mutex){+.+.}-{4:4}, at: cgroup_kn_lock_live+0x13c/0x230
 #3: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: cgrp_css_online+0x91/0x300
2 locks held by kworker/R-wg-cr/6821:
1 lock held by kworker/R-wg-cr/6822:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390
1 lock held by kworker/R-wg-cr/6823:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xbda/0x10b0
1 lock held by kworker/R-wg-cr/6824:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xbda/0x10b0
2 locks held by kworker/R-wg-cr/6825:
2 locks held by kworker/R-wg-cr/6826:
1 lock held by kworker/R-wg-cr/6827:
 #0: ffffffff8e7f6e60 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xbda/0x10b0
2 locks held by kworker/R-wg-cr/6828:
3 locks held by kworker/R-wg-cr/6829:
3 locks held by kworker/0:5/6831:
1 lock held by syz.5.286/6894:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz-executor/6901:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0
2 locks held by syz.3.284/6907:
 #0: ffffffff8fe5b2e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: nl80211_pre_doit+0x5e/0x890
1 lock held by syz.3.284/6908:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a3/0x1bd0
1 lock held by syz.3.284/6909:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: dev_ioctl+0x7a4/0x1150
1 lock held by syz-executor/6912:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0
1 lock held by syz-executor/6922:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0
1 lock held by syz-executor/6934:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0
1 lock held by syz-executor/6942:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0
1 lock held by syz-executor/6950:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0
3 locks held by kworker/u11:4/6957:
 #0: ffff88819f0f9940 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc9000391fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffff8881b376cea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1cb/0x3f0
1 lock held by syz-executor/6962:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0
1 lock held by syz-executor/6970:
 #0: ffffffff8fdeac00 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x464/0x19e0

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 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/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: 6829 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_tx_worker
RIP: 0010:unwind_next_frame+0x1f6/0x2550
Code: 08 8b 15 dd 29 b3 0c 8d 42 ff 44 39 f8 0f 86 6c 04 00 00 44 89 f8 4c 8d 2c 85 d8 94 74 91 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 <84> c0 4c 89 e3 0f 85 66 1d 00 00 45 8b 6d 00 44 89 f8 ff c0 4c 8d
RSP: 0000:ffffc90000006ee0 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000080000100
RDX: 00000000000ab78d RSI: ffffffff8c2a9f60 RDI: ffffffff8c2a9f20
RBP: ffffffff818f5c15 R08: ffffffff8176f21f R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8e959c20 R12: dffffc0000000000
R13: ffffffff9176d248 R14: ffffc90000006f88 R15: 0000000000008f5c
FS:  0000000000000000(0000) GS:ffff88818dc2c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fee731460f0 CR3: 000000000e746000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_stack+0x3e/0x60
 kasan_record_aux_stack+0xbd/0xd0
 call_rcu+0xee/0x8b0
 skb_release_head_state+0x71/0x360
 __kfree_skb+0x24/0x210
 nft_synproxy_eval_v4+0x36a/0x4e0
 nft_synproxy_do_eval+0x335/0x550
 nft_do_chain+0x48d/0x1b10
 nft_do_chain_inet+0x360/0x4b0
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x21f/0x3c0
 NF_HOOK+0x336/0x3c0
 process_backlog+0xa34/0x1860
 __napi_poll+0xaa/0x330
 net_rx_action+0x61d/0xf50
 handle_softirqs+0x225/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:wg_packet_tx_worker+0x18e/0x7e0
Code: 89 ff e8 45 b8 ff ff 4c 89 ff e8 bd b1 ff ff 45 31 e4 4c 89 f0 48 c1 e8 03 80 3c 28 00 74 08 4c 89 f7 e8 85 de b3 fb 4d 8b 2e <49> 8d 7e 70 48 89 f8 48 c1 e8 03 0f b6 04 28 84 c0 75 73 41 8b 5e
RSP: 0000:ffffc9000405fa68 EFLAGS: 00000246
RAX: 1ffff11034df2fc0 RBX: 0000000000000001 RCX: ffff888117593b80
RDX: 0000000000000000 RSI: ffffffff8dfdfe36 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffffffff9032cdf7 R09: 1ffffffff20659be
R10: dffffc0000000000 R11: fffffbfff20659bf R12: 0000000000000000
R13: 0000000000000000 R14: ffff8881a6f97e00 R15: ffff8881b1608000
 process_scheduled_works+0xa8e/0x14e0
 rescuer_thread+0x7b6/0x10b0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
