INFO: task syz.6.11248:16566 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.11248     state:D stack:25600 pid:16566 tgid:16566 ppid:16217  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7fe/0x1300
 nft_rcv_nl_event+0x13d/0xdb0
 notifier_call_chain+0x1be/0x400
 blocking_notifier_call_chain+0x6a/0x90
 netlink_release+0x123b/0x1ad0
 sock_close+0xc3/0x240
 __fput+0x44f/0xa70
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0xed/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1a89f9c799
RSP: 002b:00007fff43ec9188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f1a8a217da0 RCX: 00007f1a89f9c799
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f1a8a217da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007f1a8a217cb0 R11: 0000000000000246 R12: 00000000001f6d2a
R13: 00007f1a8a21609c R14: 00000000001f6b2c R15: 00007f1a8a216090
 </TASK>
INFO: task syz.6.11248:16577 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.11248     state:D stack:26504 pid:16577 tgid:16566 ppid:16217  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7fe/0x1300
 nf_tables_valid_genid+0x3b/0x100
 nfnetlink_rcv+0x8a5/0x27b0
 netlink_unicast+0x80f/0x9b0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0x972/0x9f0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1a89f9c799
RSP: 002b:00007f1a8adbc028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1a8a216180 RCX: 00007f1a89f9c799
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 000000000000000b
RBP: 00007f1a8a032c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1a8a216218 R14: 00007f1a8a216180 R15: 00007fff43ec9028
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/1:2/33:
1 lock held by khungtaskd/35:
 #0: ffffffff8e75e3e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5630:
 #0: ffff888110f4c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0
2 locks held by sshd/5734:
5 locks held by kworker/u11:0/24047:
 #0: ffff8881a5c36948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900071bfc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff888171b34ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff888171b340c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0xa6f/0x1190
 #4: ffffffff8fd59668 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x340
5 locks held by kworker/u11:2/8252:
 #0: ffff88811fd94148 ((wq_completion)hci9){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900081afc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff888030768ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff8880307680c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0xa6f/0x1190
 #4: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
4 locks held by kworker/u8:4/11324:
 #0: ffff8881012ae148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc9000833fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800
 #3: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_unregister_net_hook+0x8a/0x6f0
6 locks held by kworker/u11:1/15990:
 #0: ffff88811fd93148 ((wq_completion)hci8){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90008b97c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff888034dbcec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff888034dbc0c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0xa6f/0x1190
 #4: ffffffff8fd59668 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x340
 #5: ffff888110799af8 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x7b/0x5c0
5 locks held by kworker/u11:4/16208:
 #0: ffff888113955148 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90007c27c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff888189024ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff8881890240c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0xa6f/0x1190
 #4: ffffffff8fd59668 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x340
4 locks held by kworker/u11:5/16209:
 #0: ffff88819ef72948 ((wq_completion)hci10#2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90007c17c40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff88819a6500c0 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x950
 #3: ffffffff8fd59668 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x54c/0x950
3 locks held by syz.6.11248/16566:
 #0: ffff8880480e1408 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: sock_close+0x9b/0x240
 #1: ffffffff8fc38bb0 ((netlink_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x54/0x90
 #2: ffff8881bc7e7cd8 (&nft_net->commit_mutex){+.+.}-{4:4}, at: nft_rcv_nl_event+0x13d/0xdb0
6 locks held by syz.6.11248/16567:
2 locks held by syz.6.11248/16577:
 #0: ffffffff9a7a56d8 (nfnl_subsys_nftables){+.+.}-{4:4}, at: nfnetlink_rcv+0x637/0x27b0
 #1: ffff8881bc7e7cd8 (&nft_net->commit_mutex){+.+.}-{4:4}, at: nf_tables_valid_genid+0x3b/0x100
2 locks held by syz-executor/16591:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930
2 locks held by syz-executor/16596:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930
1 lock held by syz.9.11254/16599:
 #0: ffffffff8e7ce888 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
1 lock held by syz.9.11254/16602:
 #0: ffffffff9a7a56d8 (nfnl_subsys_nftables){+.+.}-{4:4}, at: nfnetlink_rcv+0x637/0x27b0
1 lock held by syz.9.11254/16603:
 #0: ffffffff9a7a56d8 (nfnl_subsys_nftables){+.+.}-{4:4}, at: nfnetlink_rcv+0x637/0x27b0
2 locks held by syz-executor/16605:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930
2 locks held by syz-executor/16612:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930
2 locks held by syz-executor/16617:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930
1 lock held by dhcpcd/16619:
 #0: ffff8881b9538e08 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: sock_close+0x9b/0x240
1 lock held by dhcpcd/16620:
 #0: ffff8881b9538208 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: sock_close+0x9b/0x240
1 lock held by dhcpcd/16621:
 #0: ffff8881b94d0208 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: sock_close+0x9b/0x240
2 locks held by syz-executor/16623:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930
1 lock held by dhcpcd/16627:
 #0: ffff8881b3cca608 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: sock_close+0x9b/0x240
2 locks held by dhcpcd/16628:
 #0: ffff8881b3ccf408 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: sock_close+0x9b/0x240
 #1: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
2 locks held by syz-executor/16630:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930
4 locks held by kworker/u11:6/16634:
 #0: ffff8881a1955948 ((wq_completion)hci11#2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90004fafc40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881a39940c0 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x950
 #3: ffffffff8fd59668 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x54c/0x950
2 locks held by syz-executor/16636:
 #0: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fc44668 (nf_hook_mutex){+.+.}-{4:4}, at: __nf_register_net_hook+0x232/0x930

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

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+0xfd9/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x51e/0xb90
 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: 16567 Comm: syz.6.11248 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
RIP: 0010:unwind_next_frame+0x51a/0x23c0
Code: 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 8d 47 fc 48 0f 47 d8
RSP: 0018:ffffc90000a086b8 EFLAGS: 00000246
RAX: fffffffffa968e91 RBX: ffffffff909456a4 RCX: dffffc0000000000
RDX: ffffffff9094569c RSI: ffffffff9145a894 RDI: ffffffff8c27b3a0
RBP: ffffffff9094569c R08: 0000000000000003 R09: ffffffff8e75e3e0
R10: ffffc90000a087d8 R11: ffffffff81b0bfa0 R12: ffffffff8b2ae5ca
R13: ffffffff9094569c R14: ffffc90000a08788 R15: ffffffff909456a0
FS:  00007f1a8adfe6c0(0000) GS:ffff8882a9463000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a076d0ea30 CR3: 000000019d914000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000006 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5c/0x80
 kmem_cache_free+0x187/0x630
 skb_release_data+0x6c3/0x940
 __kfree_skb+0x5d/0x210
 mac80211_hwsim_beacon_tx+0x3e8/0x870
 __iterate_interfaces+0x2ab/0x590
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180
 mac80211_hwsim_beacon+0xbb/0x180
 __hrtimer_run_queues+0x53a/0xcc0
 hrtimer_run_softirq+0x182/0x5a0
 handle_softirqs+0x22a/0x870
 __irq_exit_rcu+0x5f/0x150
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:finish_task_switch+0x245/0x920
Code: 00 00 48 85 db 0f 85 e8 01 00 00 0f 1f 44 00 00 4c 8b 75 d0 49 83 c4 48 4c 89 e7 e8 85 89 1b 0a e8 b0 8e 38 00 fb 4c 8b 65 c0 <49> 8d bc 24 70 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0
RSP: 0018:ffffc90006306a58 EFLAGS: 00000206
RAX: 000000000064977d RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000007 RSI: ffffffff8def4b84 RDI: ffffffff8c27b400
RBP: ffffc90006306ab0 R08: ffffffff90118bb7 R09: 1ffffffff2023176
R10: dffffc0000000000 R11: fffffbfff2023177 R12: ffff8881acd30000
R13: dffffc0000000000 R14: ffff888102eaba80 R15: ffff88823c63b918
 __schedule+0x15e5/0x52d0
 preempt_schedule_common+0x82/0xd0
 preempt_schedule_thunk+0x16/0x30
 _raw_spin_unlock_irqrestore+0x74/0x80
 __slab_free+0x211/0x2b0
 qlist_free_all+0x97/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_kmalloc+0x22/0xb0
 __kvmalloc_node_noprof+0x528/0x8a0
 nf_hook_entries_grow+0x288/0x720
 __nf_register_net_hook+0x2c9/0x930
 nf_register_net_hook+0xda/0x190
 nf_tables_newchain+0x235b/0x2890
 nfnetlink_rcv+0x1240/0x27b0
 netlink_unicast+0x80f/0x9b0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0x972/0x9f0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1a89f9c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1a8adfe028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1a8a215fa0 RCX: 00007f1a89f9c799
RDX: 00000000000080d0 RSI: 0000200000000000 RDI: 0000000000000007
RBP: 00007f1a8a032c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1a8a216038 R14: 00007f1a8a215fa0 R15: 00007fff43ec9028
 </TASK>
