INFO: task syz.8.899:9990 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.899       state:D stack:23984 pid:9990  tgid:9990  ppid:9530   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 perf_event_ctx_lock_nested+0x38f/0x460
 perf_event_release_kernel+0xda/0x510
 perf_release+0x38/0x50
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9e8838eba9
RSP: 002b:00007fffd9d33008 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f9e885d7da0 RCX: 00007f9e8838eba9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f9e885d7da0 R08: 000000000001c24c R09: 0000001ed9d332ff
R10: 00007f9e885d7cb0 R11: 0000000000000246 R12: 000000000004b1bc
R13: 00007f9e885d6360 R14: ffffffffffffffff R15: 00007fffd9d33120
 </TASK>

Showing all locks held in the system:
6 locks held by kworker/u8:1/13:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90000107bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52d350 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffff88803953a0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x10a/0x3d0
 #4: ffff88803953b250 (&devlink->lock_key#9){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x11c/0x3d0
 #5: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a120 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:6/3617:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9002337fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
2 locks held by getty/5674:
 #0: ffff88802994f0a0 (&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/5876:
 #0: ffff888022493948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000327fbc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/0:4/5914:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900039dfbc0 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
1 lock held by syz.8.899/9990:
 #0: ffff8881148528a8 (&ctx->mutex){+.+.}-{4:4}, at: perf_event_ctx_lock_nested+0x38f/0x460
5 locks held by syz.8.899/9993:
2 locks held by syz.7.903/10012:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffffff8e13fbb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by syz-executor/10018:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
5 locks held by syz-executor/10027:
 #0: ffff8880224b0dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff8880224b00b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f69f008 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
 #3: ffff888129f92338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
 #4: ffffffff8e13fbb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
2 locks held by syz-executor/10030:
 #0: ffff88802aa00dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff88802aa000b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
2 locks held by syz-executor/10045:
 #0: ffffffff8f52d350 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210
5 locks held by syz-executor/10054:
 #0: ffffffff8f52d350 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f28c9b0 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x19a/0x270
 #2: ffffffff8f28cb70 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1d2/0x270
 #3: ffff888023460f98 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xee/0x5c0
 #4: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: ib_get_eth_speed+0x151/0x7b0
2 locks held by syz-executor/10057:
 #0: ffffffff8f52d350 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: register_netdevice_notifier_net+0x1a/0xa0
1 lock held by syz-executor/10066:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/10072:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/10075:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0

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

NMI backtrace for cpu 0
CPU: 0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 9993 Comm: syz.8.899 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:rcu_is_watching+0x70/0xb0
Code: c3 98 ff a1 92 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 34 8b 03 65 ff 0d d9 5d fa 10 74 11 83 e0 04 c1 e8 02 5b <41> 5e 41 5f c3 cc cc cc cc cc e8 e1 54 8d ff eb e8 48 c7 c7 00 fe
RSP: 0018:ffffc900001dfea0 EFLAGS: 00000002
RAX: 0000000000000001 RBX: 0000000000000802 RCX: 426c083dcc203f00
RDX: 0000000000010100 RSI: ffffffff8be33de0 RDI: ffffffff8be33da0
RBP: ffffc900001dffb0 R08: ffffffff8fa3a837 R09: 1ffffffff1f47506
R10: dffffc0000000000 R11: fffffbfff1f47507 R12: dffffc0000000000
R13: ffffffff81adc628 R14: ffffffff8dbe2d18 R15: dffffc0000000000
FS:  00007f9e891716c0(0000) GS:ffff8881a3c13000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555a5f249018 CR3: 000000010e6f2000 CR4: 00000000000006f0
DR0: 00002000000003c0 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lock_release+0x4b/0x3e0
 _raw_spin_unlock_irqrestore+0x70/0x110
 __hrtimer_run_queues+0x408/0xc60
 hrtimer_interrupt+0x45b/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__rcu_read_unlock+0x20/0xe0
Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b 3c 25 08 d0 a0 92 <48> 8d 9f 44 04 00 00 49 89 dc 49 c1 ec 03 43 0f b6 04 3c 84 c0 75
RSP: 0018:ffffc900001e0348 EFLAGS: 00000282
RAX: 426c083dcc203f00 RBX: ffffffff9040b701 RCX: 426c083dcc203f00
RDX: 0000000000000006 RSI: ffffffff8dba9832 RDI: ffff888022920000
RBP: dffffc0000000000 R08: ffffc900001e07e8 R09: 0000000000000000
R10: ffffc900001e0498 R11: fffff5200003c095 R12: ffffc900001e07f8
R13: ffffc900001d9000 R14: ffffc900001e0448 R15: dffffc0000000000
 unwind_next_frame+0x19ae/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_node_noprof+0x1bb/0x3c0
 kmalloc_reserve+0xbd/0x290
 __alloc_skb+0x142/0x2d0
 skb_copy+0x188/0x800
 mac80211_hwsim_tx_frame_no_nl+0xcd3/0x11c0
 mac80211_hwsim_tx_frame+0x1b5/0x200
 mac80211_hwsim_beacon_tx+0x3f0/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:__schedule+0x276/0x4cc0
Code: 74 28 80 3d 44 3a 12 04 00 75 1f c6 05 3b 3a 12 04 01 48 c7 c7 40 3b 8a 8b be 31 17 00 00 48 c7 c2 40 44 8a 8b e8 4a 69 22 f6 <e8> b5 2d ff ff 85 c0 74 46 48 c7 c7 e0 a1 13 8e be ff ff ff ff e8
RSP: 0018:ffffc90002dff640 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90002df8000 RCX: 426c083dcc203f00
RDX: 0000000000000000 RSI: ffffffff8dba9832 RDI: ffffffff8be33e00
RBP: ffffc90002dff850 R08: ffffffff8fa3a837 R09: 1ffffffff1f47506
R10: dffffc0000000000 R11: fffffbfff1f47507 R12: ffff8881a3c13000
R13: 0000000000000001 R14: ffff888022920000 R15: 1ffff11026cc7551
 preempt_schedule_irq+0xb5/0x150
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__rcu_read_unlock+0x33/0xe0
Code: 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b 3c 25 08 d0 a0 92 48 8d 9f 44 04 00 00 49 89 dc 49 c1 ec 03 43 0f b6 04 3c <84> c0 75 4f ff 0b 75 1d 4c 8d b7 48 04 00 00 4c 89 f0 48 c1 e8 03
RSP: 0018:ffffc90002dff9c0 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: ffff888022920444 RCX: 426c083dcc203f00
RDX: 0000000000000004 RSI: ffffffff8dba9832 RDI: ffff888022920000
RBP: 0000000000000003 R08: ffff88801bd1d4ff R09: 1ffff110037a3a9f
R10: dffffc0000000000 R11: ffffed10037a3aa0 R12: 1ffff11004524088
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
 __free_frozen_pages+0xbd7/0xd30
 __put_partials+0x156/0x1a0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2d5/0x3c0
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_kmalloc+0x22/0xb0
 __kmalloc_cache_noprof+0x230/0x3d0
 find_get_pmu_context+0x8b/0x890
 __se_sys_perf_event_open+0xbfd/0x1d70
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9e8838eba9
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:00007f9e89171038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f9e885d6180 RCX: 00007f9e8838eba9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007f9e88411e19 R08: 000000000000000a R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9e885d6218 R14: 00007f9e885d6180 R15: 00007fffd9d32ea8
 </TASK>
