INFO: task kworker/u9:6:1090 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u9:6    state:D stack:20424 pid:1090  tgid:1090  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events_unbound linkwatch_event
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 linkwatch_event+0xe/0x60
 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.1.161:6455 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.161       state:D stack:25040 pid:6455  tgid:6455  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
 tun_chr_close+0x3e/0x1c0
 __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:0x7fd40dd8eba9
RSP: 002b:00007ffd5bd43828 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fd40dfd7da0 RCX: 00007fd40dd8eba9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fd40dfd7da0 R08: 0000000000000224 R09: 0000001e5bd43b1f
R10: 00007fd40dfd7cb0 R11: 0000000000000246 R12: 00000000000161c0
R13: 00007ffd5bd43920 R14: ffffffffffffffff R15: 00007ffd5bd43940
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/u8:1/13:
 #0: ffff888107c2e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90000107bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a120 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/1:1/47:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000075fbc0 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x15/0x50
3 locks held by kworker/u9:6/1090:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90006ea7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
2 locks held by getty/5674:
 #0: ffff88802179f0a0 (&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
1 lock held by sshd/5828:
5 locks held by kworker/u11:3/5851:
 #0: ffff8880310ba148 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000374fbc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803485cdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d4/0x3a0
 #3: ffff88803485c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x242/0xe30
 #4: ffffffff8e13fbb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
3 locks held by kworker/1:4/5877:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900038bfbc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf30
2 locks held by syz.2.157/6440:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffffff8e13fbb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
2 locks held by syz.0.159/6450:
1 lock held by syz.1.161/6455:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz-executor/6467:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6471:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6472:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6478:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6482:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6483:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6491:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6492:
 #0: ffffffff8f53a208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6495:
 #0: ffffffff8f53a208 (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+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: 6450 Comm: syz.0.159 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 fa 8e 03 66
RSP: 0018:ffffc900001df6c8 EFLAGS: 00000046
RAX: 0000000000000061 RBX: ffff888136623900 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000061 RDI: 0000000000000838
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81ae170e
R10: 0000000000000003 R11: ffffffff81704490 R12: 0000000010003c65
R13: dffffc0000000000 R14: 0000000000000061 R15: 0000000000000020
FS:  00007f9bf1df36c0(0000) GS:ffff8881a3c13000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a8150d2680 CR3: 0000000025a78000 CR4: 00000000000006f0
DR0: 0000000000000000 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:unwind_next_frame+0x130e/0x2390
Code: c1 e8 3f 48 01 c8 48 83 e0 fe 4c 8d 3c 45 00 00 00 00 49 01 ef 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 27 49 63 07 4c 01 f8 49 8d 4f 04 4c 39 e0 48 0f 46 e9 49
RSP: 0018:ffffc900001df938 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffffff8fc05400 RCX: dffffc0000000000
RDX: ffffffff8fc053f4 RSI: ffffffff9040bf8a RDI: ffffffff8be33da0
RBP: ffffffff8fc053f4 R08: 0000000000000004 R09: ffffffff8172d195
R10: ffffc900001dfa58 R11: ffffffff81ac4d00 R12: ffffffff82233925
R13: ffffffff8fc053f4 R14: ffffc900001dfa08 R15: ffffffff8fc053f8
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5b/0x80
 kmem_cache_free+0x18f/0x400
 tcp_rcv_established+0xe9e/0x1eb0
 tcp_v4_do_rcv+0xa23/0xce0
 tcp_v4_rcv+0x26a6/0x2f40
 ip_protocol_deliver_rcu+0x221/0x440
 ip_local_deliver_finish+0x3bb/0x6f0
 NF_HOOK+0x30c/0x3a0
 ip_sublist_rcv_finish+0x221/0x2a0
 ip_sublist_rcv+0x6e7/0x9b0
 ip_list_rcv+0x3e2/0x430
 __netif_receive_skb_list_core+0x7d2/0x800
 netif_receive_skb_list_internal+0x975/0xcc0
 napi_complete_done+0x2f2/0x7c0
 e1000_clean+0xd0b/0x2b00
 __napi_poll+0xc7/0x360
 net_rx_action+0x707/0xe30
 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+0xa8/0x110
Code: 74 05 e8 cb 6b 4a f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> e3 10 13 f6 65 8b 05 6c d1 23 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc900061aece0 EFLAGS: 00000206
RAX: d65992550edc0b00 RBX: 0000000000000a06 RCX: d65992550edc0b00
RDX: 0000000000000007 RSI: ffffffff8d9ba2bf RDI: 0000000000000001
RBP: ffffc900061aed60 R08: ffffffff8fa3a937 R09: 1ffffffff1f47526
R10: dffffc0000000000 R11: fffffbfff1f47527 R12: dffffc0000000000
R13: 0000000000000002 R14: ffff88802a92bbe8 R15: 1ffff92000c35d9c
 __percpu_counter_sum+0x1c2/0x1e0
 __mmdrop+0x18f/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 7b 5f 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:ffffc900061af1f8 EFLAGS: 00000206
RAX: d65992550edc0b00 RBX: 0000000000000000 RCX: d65992550edc0b00
RDX: 0000000000000000 RSI: ffffffff8dba9991 RDI: ffffffff8be33e00
RBP: ffffffff8172d195 R08: 0000000000000000 R09: ffffffff8172d195
R10: ffffc900061af3b8 R11: ffffffff81ac4d00 R12: 0000000000000002
R13: ffffffff8e13a120 R14: 0000000000000000 R15: 0000000000000246
 unwind_next_frame+0xc2/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 save_stack+0xf5/0x1f0
 __reset_page_owner+0x71/0x1f0
 __free_frozen_pages+0xbc4/0xd30
 __put_partials+0x156/0x1a0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2d5/0x3c0
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_kmalloc+0x22/0xb0
 __kmalloc_node_noprof+0x276/0x4e0
 __vmalloc_node_range_noprof+0x5a9/0x12f0
 __vmalloc_noprof+0xb1/0xf0
 bpf_prog_alloc_no_stats+0x4a/0x4d0
 bpf_prog_alloc+0x3c/0x1a0
 bpf_prog_load+0x735/0x1930
 __sys_bpf+0x528/0x870
 __x64_sys_bpf+0x7c/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9bf0f8eba9
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:00007f9bf1df3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f9bf11d5fa0 RCX: 00007f9bf0f8eba9
RDX: 0000000000000090 RSI: 00002000000000c0 RDI: 0000000000000005
RBP: 00007f9bf1011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9bf11d6038 R14: 00007f9bf11d5fa0 R15: 00007ffffb4e92c8
 </TASK>
