INFO: task syz.4.2440:14587 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.2440      state:D stack:26408 pid:14587 tgid:14586 ppid:12487  task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 nfnetlink_rcv_msg+0x9dc/0x1130
 netlink_rcv_skb+0x208/0x470
 nfnetlink_rcv+0x26a/0x2520
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f16b8f8eba9
RSP: 002b:00007f16b71f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f16b91d5fa0 RCX: 00007f16b8f8eba9
RDX: 0000000000004040 RSI: 0000200000000540 RDI: 0000000000000004
RBP: 00007f16b9011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f16b91d6038 R14: 00007f16b91d5fa0 R15: 00007ffef29a0f18
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u10:1/36:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900006afbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
3 locks held by kworker/u9:3/71:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000175fbc0 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88802b7b0768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xc4/0x470
2 locks held by getty/5672:
 #0: ffff888026f2a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/u8:3/5868:
 #0: ffff8880228ae148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003bffbc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0
4 locks held by kworker/u8:4/5898:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003dcfbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52d310 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: cfg80211_pernet_exit+0x19/0x140
5 locks held by syz.5.2439/14581:
1 lock held by syz.4.2440/14587:
 #0: ffffffff99fd1e38 (nfnl_subsys_ipset){+.+.}-{4:4}, at: nfnetlink_rcv_msg+0x9dc/0x1130
1 lock held by syz.7.2463/14673:
 #0: ffffffff99fd1e38 (nfnl_subsys_ipset){+.+.}-{4:4}, at: nfnetlink_rcv_msg+0x9dc/0x1130
1 lock held by syz.6.2469/14741:
 #0: ffffffff99fd1e38 (nfnl_subsys_ipset){+.+.}-{4:4}, at: nfnetlink_rcv_msg+0x9dc/0x1130
1 lock held by syz.6.2469/14742:
 #0: ffffffff99fd1e38 (nfnl_subsys_ipset){+.+.}-{4:4}, at: nfnetlink_rcv_msg+0x9dc/0x1130
7 locks held by syz-executor/14759:
 #0: ffff8880293fa428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xb30
 #1: ffff888049184888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff888108ed44b8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edb04c8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x12c/0x6f0
 #4: ffff888030f620e8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400
 #5: ffff888030f65250 (&devlink->lock_key#23){+.+.}-{4:4}, at: nsim_drv_probe+0xc2/0xba0
 #6: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0
3 locks held by syz-executor/14799:
 #0: ffffffff8eca97e0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
 #2: ffffffff8e13fb78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by syz.8.2481/14815:
 #0: ffffffff99fd1e38 (nfnl_subsys_ipset){+.+.}-{4:4}, at: nfnetlink_rcv_msg+0x9dc/0x1130
5 locks held by syz-executor/14825:
 #0: ffffffff8f52d310 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f28c970 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270
 #2: ffffffff8f28cb30 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270
 #3: ffff8881208dcf98 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xee/0x5c0
 #4: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: ib_get_eth_speed+0x151/0x7b0
2 locks held by syz-executor/14831:
 #0: ffffffff8fa3e1b8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f53a1c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70

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

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+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 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: 14581 Comm: syz.5.2439 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: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 c3 cc cc cc cc cc f3 0f 1e fa 89 f6 31 d2 e9 92 5c 8f 03 66
RSP: 0018:ffffc90000007648 EFLAGS: 00000046
RAX: 00000000000000ba RBX: ffff88804b023900 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000000ba RDI: 0000000000000838
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81ae165e
R10: 0000000000000003 R11: ffffffff81704490 R12: 0000000010004d2c
R13: dffffc0000000000 R14: 00000000000000ba R15: 0000000000000020
FS:  00007fe29413d6c0(0000) GS:ffff8880b8612000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc46d79fa8 CR3: 000000011ca06000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000082
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x1cf/0x360
 hrtimer_interrupt+0x620/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:kmalloc_reserve+0xc0/0x290
Code: 74 0c 48 c7 c7 e0 6d e6 8d e8 9c 23 c8 f8 48 8b 3d 45 f4 8a 04 44 89 f6 81 ce 00 20 08 00 8b 54 24 04 e8 a3 32 bd f8 49 89 c4 <43> 0f b6 04 2f 84 c0 48 8b 5c 24 08 0f 85 79 01 00 00 c7 45 00 c0
RSP: 0018:ffffc900000078b0 EFLAGS: 00000286
RAX: ffff888029882300 RBX: dffffc0000000000 RCX: a3c327389fe41100
RDX: ffff8881012f5b40 RSI: ffffffff8be33de0 RDI: ffffffff8be33da0
RBP: ffffc900000078fc R08: 00000000ffffffff R09: 0000000000000000
R10: ffff888029882300 R11: ffffffff81ac4c50 R12: ffff888029882300
R13: dffffc0000000000 R14: 0000000000020820 R15: 1ffff92000000f1f
 __alloc_skb+0x142/0x2d0
 __netdev_alloc_skb+0x108/0x970
 __ieee80211_beacon_get+0xc06/0x1880
 ieee80211_beacon_get_tim+0xb4/0x2b0
 mac80211_hwsim_beacon_tx+0x3ce/0x860
 __iterate_interfaces+0x2ab/0x590
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180
 mac80211_hwsim_beacon+0xbb/0x1c0
 __hrtimer_run_queues+0x52c/0xc60
 hrtimer_run_softirq+0x187/0x2b0
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 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+0x26b/0x950
Code: 0f 84 3c 01 00 00 48 85 db 0f 85 63 01 00 00 0f 1f 44 00 00 4c 8b 75 d0 4c 89 e7 e8 8f 65 ec 09 e8 0a 52 36 00 fb 4c 8b 65 c0 <49> 8d bc 24 18 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0
RSP: 0018:ffffc90007f06218 EFLAGS: 00000286
RAX: a3c327389fe41100 RBX: 0000000000000000 RCX: a3c327389fe41100
RDX: 0000000000000006 RSI: ffffffff8d9ba3cb RDI: ffffffff8be33e00
RBP: ffffc90007f06270 R08: ffffffff8fa3a837 R09: 1ffffffff1f47506
R10: dffffc0000000000 R11: fffffbfff1f47507 R12: ffff888024a1d640
R13: dffffc0000000000 R14: ffff88801c2f1cc0 R15: ffff88804b03ab58
 __schedule+0x17a0/0x4cc0
 preempt_schedule_common+0x83/0xd0
 preempt_schedule+0xae/0xc0
 preempt_schedule_thunk+0x16/0x30
 _raw_spin_unlock_irqrestore+0xfd/0x110
 rcu_preempt_deferred_qs_irqrestore+0x8bd/0xce0
 rcu_read_unlock_special+0x3a2/0x4b0
 __rcu_read_unlock+0x84/0xe0
 cond_resched_rcu+0x9b/0x170
 hash_netportnet6_list+0x37a/0x1350
 ip_set_dump_do+0xf45/0x1620
 netlink_dump+0x6e4/0xe90
 __netlink_dump_start+0x5cb/0x7e0
 ip_set_dump+0x13e/0x1c0
 nfnetlink_rcv_msg+0xb4d/0x1130
 netlink_rcv_skb+0x208/0x470
 nfnetlink_rcv+0x26a/0x2520
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe29338eba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe29413d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe2935d5fa0 RCX: 00007fe29338eba9
RDX: 0000000020044000 RSI: 00002000000000c0 RDI: 0000000000000006
RBP: 00007fe293411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe2935d6038 R14: 00007fe2935d5fa0 R15: 00007ffcd0c1d1c8
 </TASK>
