INFO: task kworker/u10:1:34 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:1   state:D stack:24184 pid:34    tgid:34    ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events_unbound toggle_allocation_gate
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 static_key_enable_cpuslocked+0xcb/0x250
 static_key_enable+0x1a/0x20
 toggle_allocation_gate+0xad/0x240
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.3.819:7831 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.819       state:D stack:25096 pid:7831  tgid:7831  ppid:7314   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 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:0x7f71cf78eba9
RSP: 002b:00007ffee2e37c78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f71cf9d7da0 RCX: 00007f71cf78eba9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f71cf9d7da0 R08: 00000000000001e0 R09: 0000001ae2e37f6f
R10: 00007f71cf9d7cb0 R11: 0000000000000246 R12: 00000000000226c6
R13: 00007ffee2e37d70 R14: ffffffffffffffff R15: 00007ffee2e37d90
 </TASK>
INFO: task syz.2.823:7843 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.823       state:D stack:24976 pid:7843  tgid:7843  ppid:5855   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 static_key_disable_cpuslocked+0x8d/0x1b0
 static_key_disable+0x1a/0x20
 tracepoint_probe_unregister+0x80e/0x9b0
 trace_event_reg+0x153/0x270
 perf_trace_event_unreg+0xb9/0x1b0
 perf_trace_destroy+0xa4/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:0x7fedd3d8eba9
RSP: 002b:00007ffeabc90f48 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00000000000224e6 RCX: 00007fedd3d8eba9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fedd3fd7da0 R08: 0000000000000001 R09: 0000000aabc9123f
R10: 0000001b31920000 R11: 0000000000000246 R12: 00007fedd3fd609c
R13: 00007fedd3fd6090 R14: ffffffffffffffff R15: 00007ffeabc91060
 </TASK>
INFO: task syz.0.824:7845 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.824       state:D stack:24976 pid:7845  tgid:7845  ppid:5859   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 bpf_stats_release+0x17/0x40
 __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:0x7f1f7ff8eba9
RSP: 002b:00007ffd4c1714e8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f1f801d7da0 RCX: 00007f1f7ff8eba9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f1f801d7da0 R08: 0000000000000030 R09: 000000034c1717df
R10: 00007f1f801d7cb0 R11: 0000000000000246 R12: 000000000002286a
R13: 00007ffd4c1715e0 R14: ffffffffffffffff R15: 00007ffd4c171600
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/1:0/24:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900001c7bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf30
3 locks held by kworker/u9:0/26:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900001efbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
4 locks held by kworker/u10:1/34:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000068fbc0 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8dfd3290 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_enable+0x12/0x20
 #3: ffffffff8e1f3388 (jump_label_mutex){+.+.}-{4:4}, at: static_key_enable_cpuslocked+0xcb/0x250
1 lock held by khungtaskd/35:
 #0: ffffffff8e13a160 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5678:
 #0: ffff888021c2f0a0 (&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
7 locks held by kworker/u8:2/5719:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000295fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52d390 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffff88803003e0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x10a/0x3d0
 #4: ffff88803003f250 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x11c/0x3d0
 #5: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xe5/0x670
 #6: ffff888030208d30 (&dev_instance_lock_key#20){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x52f/0x1ff0
7 locks held by kworker/u11:3/5856:
 #0: ffff8880375b1948 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003dbfbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811e6bcdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88811e6bc0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f69f048 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
 #5: ffff888124583338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
 #6: ffffffff8e13fbf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
5 locks held by kworker/u11:4/5857:
 #0: ffff88803082f948 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003dcfbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803078cdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88803078c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8e13fbf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
3 locks held by kworker/u8:4/5890:
 #0: ffff8881078b3148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000439fbc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
1 lock held by syz.3.819/7831:
 #0: ffffffff8e19d708 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
4 locks held by syz.2.823/7843:
 #0: ffffffff8e19d708 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
 #1: ffffffff8e18e708 (tracepoints_mutex){+.+.}-{4:4}, at: tracepoint_probe_unregister+0x30/0x9b0
 #2: ffffffff8dfd3290 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_disable+0x12/0x20
 #3: ffffffff8e1f3388 (jump_label_mutex){+.+.}-{4:4}, at: static_key_disable_cpuslocked+0x8d/0x1b0
1 lock held by syz.0.824/7845:
 #0: ffffffff8e1b8808 (bpf_stats_enabled_mutex){+.+.}-{4:4}, at: bpf_stats_release+0x17/0x40
4 locks held by syz.0.824/7846:
2 locks held by syz-executor/7850:
 #0: ffffffff8fa5ab90 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
2 locks held by syz-executor/7852:
 #0: ffffffff8eca9860 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
2 locks held by syz-executor/7862:
 #0: ffffffff8f52d390 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2ab/0x800
1 lock held by syz-executor/7873:
 #0: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/7875:
 #0: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/7881:
 #0: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/7891:
 #0: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/7893:
 #0: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/7898:
 #0: ffffffff8f53a248 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
5 locks held by kworker/u11:6/7900:
 #0: ffff8880375b6148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000292fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811e6b8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88811e6b80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f69f048 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310

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

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+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: 7846 Comm: syz.0.824 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 12 fd 8e 03 66
RSP: 0018:ffffc900001e0288 EFLAGS: 00000046
RAX: 000000000000006c RBX: ffff888136623900 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000006c RDI: 0000000000000838
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81ae1b4e
R10: 0000000000000003 R11: ffffffff81704490 R12: 0000000010008ced
R13: dffffc0000000000 R14: 000000000000006c R15: 0000000000000020
FS:  00007f1f7e1ee6c0(0000) GS:ffff8881a3c13000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d2fcfff680 CR3: 000000010f0fa000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
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:__sanitizer_cov_trace_pc+0x0/0x70
Code: 89 fb e8 23 00 00 00 48 8b 3d b4 6f fe 0b 48 89 de 5b e9 a3 ac 58 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 08 d0 a0 92 65 8b 15 d8 0a
RSP: 0018:ffffc900001e04f8 EFLAGS: 00000202
RAX: ffffffff8af4f78c RBX: 0000000000000080 RCX: 0000000000000100
RDX: ffff88801ef0b980 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900001e07b0 R08: ffff888125600e9f R09: 1ffff11024ac01d3
R10: dffffc0000000000 R11: ffffed1024ac01d4 R12: ffff88812bbb4900
R13: 1ffff11021f9215a R14: 0000000000000001 R15: ffff88810fc90ad4
 ieee80211_rx_handlers+0x1427/0xb760
 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:preempt_schedule_irq+0xb0/0x150
Code: 24 20 f6 44 24 21 02 74 0c 90 0f 0b 48 f7 03 08 00 00 00 74 64 bf 01 00 00 00 e8 eb 8e 14 f6 e8 56 eb 4b f6 fb bf 01 00 00 00 <e8> 5b ab ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc90006b379a0 EFLAGS: 00000286
RAX: 5aafedbc0872bb00 RBX: 0000000000000000 RCX: 5aafedbc0872bb00
RDX: 0000000000000006 RSI: ffffffff8d9ba163 RDI: 0000000000000001
RBP: ffffc90006b37a50 R08: ffffffff8fa3a837 R09: 1ffffffff1f47506
R10: dffffc0000000000 R11: fffffbfff1f47507 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000d66f34
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__sanitizer_cov_trace_switch+0x5a/0x130
Code: 75 36 e9 e5 00 00 00 48 83 f9 03 0f 84 cd 00 00 00 48 83 f9 07 0f 85 d1 00 00 00 b9 07 00 00 00 48 85 c0 75 13 e9 c2 00 00 00 <b9> 01 00 00 00 48 85 c0 0f 84 b4 00 00 00 41 57 41 56 41 54 53 48
RSP: 0018:ffffc90006b37b18 EFLAGS: 00000246
RAX: 0000000000000002 RBX: 0000000000000005 RCX: 0000000000000000
RDX: ffffc90003551000 RSI: ffffffff8df6b320 RDI: 0000000000000005
RBP: ffffc90006b37c60 R08: ffff88801ef0b980 R09: 0000000000000002
R10: 0000000000000005 R11: 0000000000000002 R12: ffffffff8a4dba13
R13: ffffffff8dc76fc4 R14: ffffffff8a4db988 R15: dffffc0000000000
 __jump_label_patch+0x127/0x450
 arch_jump_label_transform_queue+0x69/0x110
 __jump_label_update+0x185/0x3a0
 static_key_slow_inc_cpuslocked+0x86/0x120
 static_key_slow_inc+0x1a/0x30
 bpf_enable_stats+0x101/0x140
 __sys_bpf+0x325/0x870
 __x64_sys_bpf+0x7c/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1f7ff8eba9
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:00007f1f7e1ee038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f1f801d5fa0 RCX: 00007f1f7ff8eba9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00007f1f80011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1f801d6038 R14: 00007f1f801d5fa0 R15: 00007ffd4c171388
 </TASK>
