INFO: task kworker/u10:4:3216 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:4   state:D stack:25928 pid:3216  tgid:3216  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.112:6524 blocked for more than 143 seconds.
      Not tainted syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.112       state:D stack:20160 pid:6524  tgid:6524  ppid:5978   task_flags:0x40064c flags:0x00004002
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 tracepoint_probe_unregister+0x30/0x9b0
 bpf_raw_tp_link_release+0x43/0x70
 bpf_link_free+0xed/0x330
 bpf_link_release+0x6b/0x80
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 do_exit+0x6b5/0x2300
 do_group_exit+0x21c/0x2d0
 get_signal+0x1286/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 irqentry_exit_to_user_mode+0x81/0x120
 exc_general_protection+0x171/0x200
 asm_exc_general_protection+0x26/0x30
RIP: 0033:0x7f428ab8ec31
RSP: 002b:0000200000000010 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f428add5fa0 RCX: 00007f428ab8ec29
RDX: 0000200000000140 RSI: 0000200000000010 RDI: 0000000041001000
RBP: 00007f428ac11e41 R08: 00002000000001c0 R09: 00002000000001c0
R10: 0000200000000180 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f428add6038 R14: 00007f428add5fa0 R15: 00007ffd8f1534b8
 </TASK>
INFO: task syz.4.114:6533 blocked for more than 143 seconds.
      Not tainted syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.114       state:D stack:24608 pid:6533  tgid:6525  ppid:5984   task_flags:0x40054c flags:0x00004006
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
 do_exit+0x6b5/0x2300
 do_group_exit+0x21c/0x2d0
 get_signal+0x1286/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 exit_to_user_mode_loop+0x75/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f790b18ec29
RSP: 002b:00007f79093d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f790b3d6180 RCX: 00007f790b18ec29
RDX: 00002000000004c0 RSI: 0000000000008914 RDI: 000000000000000b
RBP: 00007f790b211e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f790b3d6218 R14: 00007f790b3d6180 R15: 00007fff80e0d558
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/u10:0/27:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000060fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a160 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
7 locks held by kworker/u11:0/55:
 #0: ffff888118282148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900007dfbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811f7bcdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88811f7bc0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f69fd48 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
 #5: ffff888117e92338 (&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
3 locks held by kworker/0:2/792:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000489fbc0 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x15/0x50
4 locks held by kworker/u10:4/3216:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002bcfbc0 ((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: ffffffff8e1f3f08 (jump_label_mutex){+.+.}-{4:4}, at: static_key_enable_cpuslocked+0xcb/0x250
2 locks held by getty/5677:
 #0: ffff88810613d0a0 (&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/5851:
 #0: ffff888068e9d148 ((wq_completion)hci9#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900032efbc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888109bf40b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0
 #3: ffffffff8f69fd48 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0
5 locks held by kworker/u11:3/5855:
 #0: ffff88803572e148 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000331fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811a668dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88811a6680b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f69fd48 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
5 locks held by kworker/u11:5/5859:
 #0: ffff888106a67148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000334fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811d7d8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88811d7d80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8f69fd48 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x310
3 locks held by kworker/u8:2/5866:
 #0: ffff88810d677148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900033cfbc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
4 locks held by kworker/u8:3/5882:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000348fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52df10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: mpls_net_exit+0x79/0x270
3 locks held by kworker/0:7/5920:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000367fbc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf30
1 lock held by syz-executor/5984:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz.3.112/6524:
 #0: ffffffff8e18e708 (tracepoints_mutex){+.+.}-{4:4}, at: tracepoint_probe_unregister+0x30/0x9b0
4 locks held by syz.4.114/6533:
 #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: ffffffff8e1f3f08 (jump_label_mutex){+.+.}-{4:4}, at: static_key_disable_cpuslocked+0x8d/0x1b0
7 locks held by syz.3.115/6528:
2 locks held by syz.5.117/6539:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffffff8e13fbf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
2 locks held by syz-executor/6544:
 #0: ffffffff8f52df10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1c/0x1d0
1 lock held by syz-executor/6547:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
2 locks held by syz-executor/6555:
 #0: ffffffff8f52df10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2ab/0x800
1 lock held by syz-executor/6567:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6569:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6572:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6585:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6589:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6593:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0

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

NMI backtrace for cpu 1
CPU: 1 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6528 Comm: syz.3.115 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:__sanitizer_cov_trace_cmp8+0x11/0x90
Code: cc cc 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 48 8b 04 24 65 48 8b 0c 25 08 10 a1 92 <65> 8b 15 18 48 e1 10 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75
RSP: 0018:ffffc900000070a0 EFLAGS: 00000046
RAX: ffffffff81effd63 RBX: ffff888033e91900 RCX: ffff88810ad19cc0
RDX: ffff88810ad19cc0 RSI: 00000000000003e8 RDI: 00000000000000b2
RBP: 0000000000000000 R08: ffff888033e91daf R09: 1ffff110067d23b5
R10: dffffc0000000000 R11: ffffed10067d23b6 R12: ffff888033e91b18
R13: dffffc0000000000 R14: 00000000000000b2 R15: 00000000000003e8
FS:  00007f428ba8a6c0(0000) GS:ffff8880b860f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557a23e5a680 CR3: 000000011c176000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000082 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __perf_event_account_interrupt+0x123/0x250
 __perf_event_overflow+0x105/0xe40
 perf_swevent_hrtimer+0x3c5/0x550
 __hrtimer_run_queues+0x4e0/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:__sanitizer_cov_trace_const_cmp2+0x11/0x90
Code: cc cc 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 48 8b 04 24 65 48 8b 14 25 08 10 a1 92 <65> 8b 0d d8 46 e1 10 81 e1 00 01 ff 00 74 11 81 f9 00 01 00 00 75
RSP: 0018:ffffc900000077b8 EFLAGS: 00000202
RAX: ffffffff8af7b569 RBX: 0000000000000080 RCX: 0000000000000100
RDX: ffff88810ad19cc0 RSI: 0000000000000080 RDI: 00000000000000a4
RBP: ffffc900000079f0 R08: ffffc90000007947 R09: 0000000000000000
R10: ffffc90000007900 R11: fffff52000000f29 R12: 0000000000000000
R13: 1ffff1100447107a R14: ffff888022388300 R15: 0000000000000001
 ieee80211_prepare_and_rx_handle+0x2329/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:_raw_spin_unlock_irqrestore+0xd7/0x110
Code: 65 8b 05 6c 51 23 07 85 c0 74 40 48 c7 04 24 0e 36 e0 45 4b c7 04 27 00 00 00 00 65 48 8b 05 40 51 23 07 48 3b 44 24 48 75 28 <48> 8d 65 e0 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc e8 22 69 fd
RSP: 0018:ffffc9000385f400 EFLAGS: 00000246
RAX: a064d7cd8c874800 RBX: 0000000000000a06 RCX: 0000000000000000
RDX: 0000000000000006 RSI: ffffffff8d9bb5e6 RDI: 00000000ffffffff
RBP: ffffc9000385f490 R08: ffffffff8fa3c237 R09: 1ffffffff1f47846
R10: dffffc0000000000 R11: fffffbfff1f47847 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff8e21f040 R15: 1ffff9200070be80
 __mmdrop+0x2f4/0x570
 finish_task_switch+0x3ee/0x950
 __schedule+0x17a0/0x4cc0
 preempt_schedule_irq+0xb5/0x150
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:lock_acquire+0x175/0x360
Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 3b 9b 03 11 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc9000385f8c8 EFLAGS: 00000206
RAX: a064d7cd8c874800 RBX: 0000000000000000 RCX: a064d7cd8c874800
RDX: 0000000000000000 RSI: ffffffff8dbaacc4 RDI: ffffffff8be34480
RBP: ffffffff8210bc99 R08: 0000000000000000 R09: ffffffff8210bc99
R10: dffffc0000000000 R11: fffff9400004bed9 R12: 0000000000000002
R13: ffffffff8e13a160 R14: 0000000000000000 R15: 0000000000000246
 ___pte_offset_map+0x45/0x250
 __pte_offset_map_lock+0x46/0x210
 __text_poke+0x2e6/0xa10
 smp_text_poke_batch_finish+0x90a/0x1130
 arch_jump_label_transform_apply+0x1c/0x30
 static_key_slow_inc_cpuslocked+0x86/0x120
 static_key_slow_inc+0x1a/0x30
 bpf_enable_stats+0x101/0x140
 __sys_bpf+0x314/0x860
 __x64_sys_bpf+0x7c/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f428ab8ec29
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:00007f428ba8a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f428add5fa0 RCX: 00007f428ab8ec29
RDX: 0000000000000004 RSI: 0000200000000000 RDI: 0000000000000020
RBP: 00007f428ac11e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f428add6038 R14: 00007f428add5fa0 R15: 00007ffd8f1534b8
 </TASK>
