INFO: task syz.8.4496:22015 blocked for more than 147 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.4496      state:D stack:25128 pid:22015 tgid:22015 ppid:18479  task_flags:0x400040 flags:0x00080002
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+0xe9/0x130
 do_syscall_64+0x2bd/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f71ee98f7c9
RSP: 002b:00007ffdfe3a9448 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f71eebe7da0 RCX: 00007f71ee98f7c9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f71eebe7da0 R08: 0000000000000000 R09: 00000009fe3a973f
R10: 00007f71eebe7cb0 R11: 0000000000000246 R12: 00000000000a185b
R13: 00007ffdfe3a9540 R14: ffffffffffffffff R15: 00007ffdfe3a9560
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8df3d6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
5 locks held by kworker/u11:0/56:
 #0: ffff8881b8fcc948 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000142fba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88816e2a0dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88816e2a00b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f436368 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
3 locks held by kworker/1:2/795:
 #0: ffff888100075948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90005d6fba0 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
2 locks held by getty/5642:
 #0: ffff888112b9e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by syz-executor/5783:
4 locks held by kworker/u10:22/13762:
 #0: ffff888100089948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900040cfba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
 #3: ffffffff8df43178 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
5 locks held by kworker/u11:4/14748:
 #0: ffff88810d4b0148 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900038e7ba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88816e0c0dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88816e0c00b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f436368 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
3 locks held by kworker/u8:5/14833:
 #0: ffff8881116f5948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900034e7ba0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/0:8/14935:
 #0: ffff888100076948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003b37ba0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0xa1/0xf40
6 locks held by kworker/u11:6/18320:
 #0: ffff8881b94a7948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000a7b7ba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88816b148dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88816b1480b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f436368 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
 #5: ffff88817367b338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
1 lock held by syz.8.4496/22015:
 #0: ffff888175033ca8 (&ctx->mutex){+.+.}-{4:4}, at: perf_event_ctx_lock_nested+0x38f/0x460
4 locks held by syz.8.4496/22016:
3 locks held by syz.7.4497/22017:
 #0: ffff888114f94dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff888114f940b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8df43178 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
2 locks held by syz.6.4498/22020:
 #0: ffff8881756f0dc8 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff8881756f00b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
2 locks held by syz-executor/22026:
 #0: ffffffff8ea30420 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80
2 locks held by syz-executor/22031:
 #0: ffffffff8ea373c0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80
1 lock held by syz-executor/22034:
 #0: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80
1 lock held by syz-executor/22061:
 #0: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/22063:
 #0: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/22067:
 #0: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/22076:
 #0: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/22079:
 #0: ffffffff8f2cbf48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/22080:
 #0: ffffffff8f2cbf48 (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+0xf60/0xfa0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 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: 22016 Comm: syz.8.4496 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:__lock_acquire+0x332/0xd20
Code: e5 15 09 d5 09 cd 44 09 f5 41 89 6c c7 20 45 89 44 c7 24 4c 89 7c 24 10 4d 8d 34 c7 81 e5 ff 1f 00 00 48 0f a3 2d 3e cb d8 11 <73> 10 48 69 c5 c8 00 00 00 48 8d 80 30 23 17 93 eb 40 83 3d c5 5a
RSP: 0018:ffffc90000a086b0 EFLAGS: 00000047
RAX: 0000000000000014 RBX: ffffffff99a04318 RCX: 0000000000000000
RDX: 0000000000080000 RSI: 0000000000006000 RDI: ffff8881bb38d700
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8492f83a
R10: ffffc90000a08890 R11: fffff52000141114 R12: 0000000000006000
R13: 0000000000000000 R14: ffff8881bb38e2d0 R15: ffff8881bb38e230
FS:  00007f71ef90b6c0(0000) GS:ffff8882a9f39000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f66dc42bc2b CR3: 000000010cf1a000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lock_acquire+0x120/0x360
 _raw_spin_lock_irqsave+0xa7/0xf0
 debug_object_deactivate+0x9a/0x250
 debug_deactivate+0x1d/0x200
 __hrtimer_run_queues+0x2b0/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:call_timer_fn+0x5/0x5f0
Code: 38 c1 7c bf 4c 89 f7 e8 39 6c 78 00 eb b5 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec c0 00 00
RSP: 0018:ffffc90000a08c90 EFLAGS: 00000202
RAX: 0000000000000101 RBX: ffffffff894858e0 RCX: 0000000000000100
RDX: 000000010000c7ca RSI: ffffffff894858e0 RDI: ffff888174398c10
RBP: ffffc90000a08e10 R08: ffffffff8f7cf077 R09: 1ffffffff1ef9e0e
R10: dffffc0000000000 R11: fffffbfff1ef9e0f R12: ffff88823c625940
R13: 1ffff920001411ac R14: ffff888174398c10 R15: ffffc90000a08d60
 __run_timer_base+0x61a/0x860
 run_timer_softirq+0xb7/0x180
 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+0x1a2/0x4cc0
Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 56 4b de 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 34 4b de f6 48 81 3b 9d 6e ac 57 0f 85 b7 18 00
RSP: 0018:ffffc900054b7960 EFLAGS: 00000246
RAX: 1ffff92000a96000 RBX: ffffc900054b0000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8bbf09c0 RDI: ffffffff8bbf0980
RBP: ffffc900054b7b70 R08: ffffffff8f7cf077 R09: 1ffffffff1ef9e0e
R10: dffffc0000000000 R11: fffffbfff1ef9e0f R12: ffff8882a9f39000
R13: 0000000000000001 R14: ffff8881bb38d700 R15: 1ffff110478c7568
 preempt_schedule_irq+0xb5/0x150
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__sanitizer_cov_trace_pc+0x31/0x70
Code: 24 65 48 8b 0c 25 08 70 6e 92 65 8b 15 c8 6d ae 10 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 7c 16 00 00 00 74 2c <8b> 91 58 16 00 00 83 fa 02 75 21 48 8b 91 60 16 00 00 48 8b 32 48
RSP: 0018:ffffc900054b7ce0 EFLAGS: 00000246
RAX: ffffffff81f04e6b RBX: ffff888175033c00 RCX: ffff8881bb38d700
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888175033c00
RBP: ffffc900054b7ed0 R08: ffffffff8f7cf077 R09: 1ffffffff1ef9e0e
R10: dffffc0000000000 R11: fffffbfff1ef9e0f R12: ffff888175033d50
R13: ffff888116786400 R14: ffff8881bb38d700 R15: 1ffff92000a96fb0
 perf_unpin_context+0xb/0x70
 __se_sys_perf_event_open+0x1942/0x1d70
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f71ee98f7c9
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:00007f71ef90b038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f71eebe5fa0 RCX: 00007f71ee98f7c9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 00002000000000c0
RBP: 00007f71ee9f297f R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f71eebe6038 R14: 00007f71eebe5fa0 R15: 00007ffdfe3a92e8
 </TASK>
