INFO: task syz.0.51:6103 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.51        state:D stack:24104 pid:6103  tgid:6103  ppid:5843   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 perf_trace_destroy+0x2e/0x150
 __free_event+0x346/0x7e0
 perf_event_release_kernel+0x45b/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:0x7f3b5b18ebe9
RSP: 002b:00007ffe2e3160c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f3b5b3c7da0 RCX: 00007f3b5b18ebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f3b5b3c7da0 R08: 000000000000021c R09: 0000001e2e3163bf
R10: 00007f3b5b3c7cb0 R11: 0000000000000246 R12: 0000000000010824
R13: 00007f3b5b3c6270 R14: ffffffffffffffff R15: 00007ffe2e3161e0
 </TASK>
INFO: task syz.1.53:6115 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.53        state:D stack:27384 pid:6115  tgid:6114  ppid:5844   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 perf_trace_init+0x50/0x2d0
 perf_tp_event_init+0x8d/0x120
 perf_try_init_event+0x17f/0x870
 perf_event_alloc+0x133e/0x2be0
 __se_sys_perf_event_open+0x772/0x1d70
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa3f978ebe9
RSP: 002b:00007fa3fa5ea038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007fa3f99c5fa0 RCX: 00007fa3f978ebe9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007fa3f9811e19 R08: 000000000000000a R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa3f99c6038 R14: 00007fa3f99c5fa0 R15: 00007fff4c49ae28
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/1:0/24:
3 locks held by kworker/u10:0/27:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ea0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
4 locks held by kworker/u11:0/54:
 #0: ffff888122af6148 ((wq_completion)hci5#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900007cfbc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff8881093d40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0
 #3: ffffffff8f69c948 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0
3 locks held by kworker/u10:3/64:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000172fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
4 locks held by kworker/u11:1/5234:
 #0: ffff888032f2e148 ((wq_completion)hci3#4){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9002185fbc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff8880308b40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0
 #3: ffffffff8f69c948 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0
3 locks held by kworker/1:3/5312:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9002163fbc0 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x15/0x50
2 locks held by getty/5672:
 #0: ffff88810d47b0a0 (&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
4 locks held by kworker/u11:2/5842:
 #0: ffff8880329f4148 ((wq_completion)hci8#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000357fbc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803085c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0
 #3: ffffffff8f69c948 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0
5 locks held by kworker/u11:3/5846:
 #0: ffff88803195d148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000359fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88801bf2cdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88801bf2c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f69c948 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
6 locks held by kworker/u11:4/5848:
 #0: ffff88810c818948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900035bfbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888108be4dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff888108be40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f69c948 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
 #5: ffff888028e5ab38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
5 locks held by kworker/u11:5/5849:
 #0: ffff88802231e948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900035cfbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff8881067d8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff8881067d80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8e13f938 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
4 locks held by kworker/u8:3/5874:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003edfbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52ae30 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: cangw_pernet_exit_batch+0x20/0x90
3 locks held by kworker/u8:4/5876:
 #0: ffff88810763e948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000366fbc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0
2 locks held by syz.2.42/6074:
 #0: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffffff8e13f938 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by syz.0.51/6103:
 #0: ffffffff8e19d448 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
8 locks held by syz.0.51/6107:
3 locks held by syz.1.53/6115:
 #0: ffffffff99b0b6d0 (&pmus_srcu){.+.+}-{0:0}, at: class_srcu_constructor+0x2c/0x60
 #1: ffffffff99b0b6d0 (&pmus_srcu){.+.+}-{0:0}, at: perf_event_alloc+0xf61/0x2be0
 #2: ffffffff8e19d448 (event_mutex){+.+.}-{4:4}, at: perf_trace_init+0x50/0x2d0
1 lock held by syz-executor/6118:
 #0: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
2 locks held by syz-executor/6127:
 #0: ffffffff8f52ae30 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210
2 locks held by syz-executor/6143:
 #0: ffffffff8fa3bd48 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
2 locks held by syz-executor/6148:
 #0: ffffffff8f52ae30 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210
1 lock held by syz-executor/6151:
 #0: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6163:
 #0: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6168:
 #0: ffffffff8f537c88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6171:
 #0: ffffffff8f537c88 (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+0x3fc/0x770
 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: 6107 Comm: syz.0.51 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:asm_sysvec_apic_timer_interrupt+0x0/0x20
Code: 56 1c 79 0a e9 61 06 00 00 90 f3 0f 1e fa 0f 1f 00 fc 6a ff e8 11 05 00 00 48 89 c4 48 89 e7 e8 66 1b 79 0a e9 41 06 00 00 90 <f3> 0f 1e fa 0f 1f 00 fc 6a ff e8 f1 04 00 00 48 89 c4 48 89 e7 e8
RSP: 0018:ffffc900001e04d8 EFLAGS: 00000046
RAX: 1ffff1100640f830 RBX: 000000000030000b RCX: ffffffff8af3cb1c
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88803207c180
RBP: ffffc900001e07b0 R08: ffff88803207c187 R09: 1ffff1100640f830
R10: dffffc0000000000 R11: ffffed100640f831 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88803207ca40 R15: ffffc900001e0ac8
FS:  00007f3b5bfe66c0(0000) GS:ffff8881a3c1c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0ed011c866 CR3: 000000010dee0000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
RIP: 0010:ieee80211_rx_handlers+0xb4f/0xb760
Code: 00 00 e8 e4 4b 2f f7 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 80 3c 28 00 74 08 48 89 df e8 54 49 2f f7 48 8b 1b <48> 89 de 48 83 e6 08 31 ff e8 e3 e5 cb f6 48 83 e3 08 4c 8b 64 24
RSP: 0018:ffffc900001e0500 EFLAGS: 00000246
 ieee80211_prepare_and_rx_handle+0x266f/0x63f0
 ieee80211_rx_list+0x21b8/0x2a90
 ieee80211_rx_napi+0x1a8/0x3d0
 ieee80211_handle_queued_frames+0xe8/0x1f0
 tasklet_action_common+0x36c/0x580
 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+0x1b3/0x4cc0
Code: f6 48 8b 1b 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 d4 04 a9 f6 48 81 3b 9d 6e ac 57 <0f> 85 b7 18 00 00 45 85 ed 7f 54 49 8d 5e 18 48 89 d8 48 c1 e8 03
RSP: 0018:ffffc9000460f500 EFLAGS: 00000246
RAX: 1ffff920008c1000 RBX: ffffc90004608000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8be33260 RDI: ffffffff8be33220
RBP: ffffc9000460f710 R08: ffffffff8fa37e37 R09: 1ffffffff1f46fc6
R10: dffffc0000000000 R11: fffffbfff1f46fc7 R12: ffff8881a3c1c000
R13: 0000000000000001 R14: ffff88801ed01cc0 R15: 1ffff11026cc7551
 preempt_schedule_common+0x83/0xd0
 preempt_schedule+0xae/0xc0
 preempt_schedule_thunk+0x16/0x30
 __mutex_unlock_slowpath+0x708/0x760
 static_key_enable+0x1a/0x20
 tracepoint_add_func+0x994/0xa10
 tracepoint_probe_register+0x5d/0x90
 perf_trace_event_init+0x4e1/0x9d0
 perf_trace_init+0x23d/0x2d0
 perf_tp_event_init+0x8d/0x120
 perf_try_init_event+0x17f/0x870
 perf_event_alloc+0x133e/0x2be0
 __se_sys_perf_event_open+0x772/0x1d70
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3b5b18ebe9
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:00007f3b5bfe6038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f3b5b3c6090 RCX: 00007f3b5b18ebe9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007f3b5b211e19 R08: 000000000000000a R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3b5b3c6128 R14: 00007f3b5b3c6090 R15: 00007ffe2e315f68
 </TASK>
