INFO: task syz.2.601:8178 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.601       state:D stack:24800 pid:8178  tgid:8178  ppid:5810   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7fe/0x1300
 perf_event_ctx_lock_nested+0x3b8/0x490
 perf_event_release_kernel+0xda/0x510
 perf_release+0x38/0x50
 __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:0x7f4e7c59c799
RSP: 002b:00007fffd37edc68 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f4e7c817da0 RCX: 00007f4e7c59c799
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f4e7c817da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007f4e7c817cb0 R11: 0000000000000246 R12: 0000000000025a09
R13: 00007f4e7c81609c R14: 000000000002579d R15: 00007f4e7c816090
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/1:0/24:
 #0: ffff888100069d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900001e7c40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0xa5/0xfe0
1 lock held by khungtaskd/35:
 #0: ffffffff8e75e3e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
5 locks held by kworker/u11:0/56:
 #0: ffff8881bafdc148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc9000100fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881731e8ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff8881731e80c0 (&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
3 locks held by kworker/u10:2/69:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900017bfc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
5 locks held by kworker/u11:1/5196:
 #0: ffff8881150cf148 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90024e1fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881b486cec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff8881b486c0c0 (&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
2 locks held by getty/5632:
 #0: ffff88810df5b0a0 (&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
3 locks held by kworker/u8:2/5635:
 #0: ffff888169b60948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90003ec7c40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
5 locks held by kworker/u11:2/5807:
 #0: ffff888174ee5148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90004617c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881720b4ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff8881720b40c0 (&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
6 locks held by kworker/u11:3/5812:
 #0: ffff8881b3135948 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90004607c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff88816cfb0ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff88816cfb00c0 (&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: ffff8881b31352f8 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x7b/0x5c0
4 locks held by kworker/u8:4/5839:
 #0: ffff8881012ae148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90004867c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbbe630 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800
 #3: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1c/0x200
3 locks held by kworker/1:5/6016:
1 lock held by syz.4.600/8169:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz.2.601/8178:
 #0: ffff888020765ca8 (&ctx->mutex){+.+.}-{4:4}, at: perf_event_ctx_lock_nested+0x3b8/0x490
5 locks held by syz.2.601/8179:
1 lock held by syz.5.603/8180:
 #0: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by syz-executor/8219:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a1/0x1be0
4 locks held by syz-executor/8223:
 #0: ffff8881114a2420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88810dca8488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810baaa3c8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f4416a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
7 locks held by syz-executor/8226:
 #0: ffff8881114a2420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff888102b4ac88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff88810baaa4b8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f4416a8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x13c/0x710
 #4: ffff8881a1a670e8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x450
 #5: ffff8881a1a66250 (&devlink->lock_key#9){+.+.}-{4:4}, at: nsim_drv_probe+0xc9/0xc20
 #6: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: register_netdevice_notifier_net+0x1a/0xa0
2 locks held by dhcpcd/8250:
 #0: ffff888105b7e260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
 #1: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by dhcpcd/8251:
 #0: ffff88810d780260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
1 lock held by dhcpcd/8252:
 #0: ffff888176936260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
1 lock held by dhcpcd/8253:
 #0: ffff8881056e8260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
1 lock held by syz-executor/8257:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/8261:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/8263:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/8268:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/8269:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
4 locks held by kworker/u11:4/8274:
 #0: ffff88810bf85148 ((wq_completion)hci11#2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900040c7c40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881139840c0 (&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
1 lock held by syz-executor/8275:
 #0: ffffffff8fbccdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
4 locks held by kworker/u11:5/8276:
 #0: ffff88810dfd1948 ((wq_completion)hci10#2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90003cb7c40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff88810d6100c0 (&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
4 locks held by kworker/u11:6/8277:
 #0: ffff88810dfd0148 ((wq_completion)hci9#2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90003ca7c40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff888112fbc0c0 (&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
5 locks held by kworker/u11:7/8280:
 #0: ffff88816ca5e148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90004147c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff888175f9cec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff888175f9c0c0 (&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

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

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: 8179 Comm: syz.2.601 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: 26 c7 ad 0a e9 81 06 00 00 90 f3 0f 1e fa 0f 1f 00 fc 6a ff e8 31 05 00 00 48 89 c4 48 89 e7 e8 36 c6 ad 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
RSP: 0018:ffffc90000a08858 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff88823c633958 RCX: 0000000000000102
RDX: 0000000000000000 RSI: ffffffff8c27b3e0 RDI: ffffffff8c27b3a0
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffffff81b0bfa0 R12: 0000000000000002
R13: ffffffff8e75e3e0 R14: ffffffff8e1ad798 R15: dffffc0000000000
FS:  00007f4e7d36f6c0(0000) GS:ffff8882a9463000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005654b6505ca3 CR3: 0000000114ec4000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
RIP: 0010:rcu_is_watching+0x5e/0xb0
Code: 03 42 80 3c 38 00 74 08 4c 89 f7 e8 2c 37 85 00 48 c7 c3 58 09 1d 93 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 34 <8b> 03 65 ff 0d 29 1e 71 11 74 11 83 e0 04 c1 e8 02 5b 41 5e 41 5f
RSP: 0018:ffffc90000a08880 EFLAGS: 00000246
 lock_acquire+0x57/0x2e0
 unwind_next_frame+0xc2/0x23c0
 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
 slab_free_after_rcu_debug+0x126/0x220
 rcu_core+0x7cd/0x1070
 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:ffffc900042d77d8 EFLAGS: 00000202
RAX: 000000000033e149 RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000006 RSI: ffffffff8def4b84 RDI: ffffffff8c27b400
RBP: ffffc900042d7830 R08: ffffffff90118bb7 R09: 1ffffffff2023176
R10: dffffc0000000000 R11: fffffbfff2023177 R12: ffff8881127d9d40
R13: dffffc0000000000 R14: ffff88816df557c0 R15: ffff88823c63b918
 __schedule+0x15e5/0x52d0
 preempt_schedule_common+0x82/0xd0
 preempt_schedule_thunk+0x16/0x30
 smp_call_function_single+0x469/0x580
 perf_install_in_context+0x5c0/0x930
 __se_sys_perf_event_open+0x192f/0x1d60
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4e7c59c799
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:00007f4e7d36f028 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f4e7c815fa0 RCX: 00007f4e7c59c799
RDX: affffff7ffffffff RSI: 0000000000000000 RDI: 0000200000000180
RBP: 00007f4e7c632c99 R08: 0000000000000003 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4e7c816038 R14: 00007f4e7c815fa0 R15: 00007fffd37edb08
 </TASK>
