INFO: task syz.5.1674:12352 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.5.1674      state:D stack:24168 pid:12352 tgid:12350 ppid:10784  task_flags:0x40054c flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x153e/0x5070
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x61e/0x920
 down_read+0x99/0x2e0
 exit_mm+0x73/0x220
 do_exit+0x62e/0x2310
 do_group_exit+0x21b/0x2d0
 get_signal+0x1284/0x1330
 arch_do_signal_or_restart+0xbc/0x830
 exit_to_user_mode_loop+0x86/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1fc179acb9
RSP: 002b:00007f1fc26dd028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: fffffffffffffe00 RBX: 00007f1fc1a16090 RCX: 00007f1fc179acb9
RDX: 000000003000c085 RSI: 0000200000000080 RDI: 0000000000000009
RBP: 00007f1fc1808bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1fc1a16128 R14: 00007f1fc1a16090 R15: 00007ffee837a568
 </TASK>
INFO: task syz.5.1674:12358 blocked  for more than 144 seconds.
      Not tainted syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.1674      state:D stack:25096 pid:12358 tgid:12350 ppid:10784  task_flags:0x40044c flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x153e/0x5070
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x61e/0x920
 down_read+0x99/0x2e0
 exit_mm+0x73/0x220
 do_exit+0x62e/0x2310
 do_group_exit+0x21b/0x2d0
 get_signal+0x1284/0x1330
 arch_do_signal_or_restart+0xbc/0x830
 exit_to_user_mode_loop+0x86/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1fc179acb9
RSP: 002b:00007f1fc26bc0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f1fc1a16188 RCX: 00007f1fc179acb9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f1fc1a16188
RBP: 00007f1fc1a16180 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1fc1a16218 R14: 00007ffee837a480 R15: 00007ffee837a568
 </TASK>

Showing all locks held in the system:
7 locks held by kworker/u8:0/12:
 #0: ffff8881012ae148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x855/0x1650
 #1: ffffc90000117c40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x87c/0x1650
 #2: ffffffff8f9b4df0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xfe/0x7b0
 #3: ffff888112e160e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x117/0x3f0
 #4: ffff888112e15250 (&devlink->lock_key#3){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x129/0x3f0
 #5: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xed/0x680
 #6: ffffffff8e5663b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by khungtaskd/34:
 #0: ffffffff8e560120 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:8/1188:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x855/0x1650
 #1: ffffc9000898fc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x87c/0x1650
 #2: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
2 locks held by getty/5632:
 #0: ffff888111b4c0a0 (&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:4/5836:
 #0: ffff88811047e948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x855/0x1650
 #1: ffffc90005187c40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x87c/0x1650
 #2: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/1:4/5837:
 #0: ffff88816885ed48 ((wq_completion)infiniband){+.+.}-{0:0}, at: process_one_work+0x855/0x1650
 #1: ffffc90005197c40 ((work_completion)(&work->work)#2){+.+.}-{0:0}, at: process_one_work+0x87c/0x1650
 #2: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: ib_get_eth_speed+0x173/0x800
3 locks held by kworker/u9:22/8732:
1 lock held by syz.5.1674/12350:
 #0: ffff888115594cc0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock_killable+0x1d/0x70
6 locks held by syz.5.1674/12351:
1 lock held by syz.5.1674/12352:
 #0: ffff888115594cc0 (&mm->mmap_lock){++++}-{4:4}, at: exit_mm+0x73/0x220
1 lock held by syz.5.1674/12358:
 #0: ffff888115594cc0 (&mm->mmap_lock){++++}-{4:4}, at: exit_mm+0x73/0x220
3 locks held by syz.4.1675/12356:
 #0: ffff8881b888cec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x5a0
 #1: ffff8881b888c0c0 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x640/0x10e0
 #2: ffffffff8fb505c8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x260
3 locks held by syz.6.1676/12362:
 #0: ffff8881b7630ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x5a0
 #1: ffff8881b76300c0 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x640/0x10e0
 #2: ffffffff8e5663b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by syz-executor/12369:
 #0: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz-executor/12370:
 #0: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz-executor/12372:
 #0: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
4 locks held by syz-executor/12410:
 #0: ffff88816fee0ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x5a0
 #1: ffff88816fee00c0 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x640/0x10e0
 #2: ffffffff8fb505c8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x260
 #3: ffff88819a5c22f8 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x7b/0x5c0
3 locks held by syz-executor/12411:
 #0: ffff8881b8424ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x5a0
 #1: ffff8881b84240c0 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x640/0x10e0
 #2: ffffffff8fb505c8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x260
3 locks held by syz-executor/12418:
 #0: ffff88816b5d4ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x5a0
 #1: ffff88816b5d40c0 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x640/0x10e0
 #2: ffffffff8fb505c8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x260
1 lock held by syz-executor/12429:
 #0: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
2 locks held by syz-executor/12431:
 #0: ffffffff8f9b4df0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x3cb/0x570
 #1: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x88/0x290
2 locks held by syz-executor/12433:
 #0: ffffffff8f9b4df0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x3cb/0x570
 #1: ffffffff8f9c3d08 (rtnl_mutex){+.+.}-{4:4}, at: register_netdevice_notifier_net+0x1a/0xa0

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

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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 sys_info+0x135/0x170
 watchdog+0x103d/0x1090
 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: 12351 Comm: syz.5.1674 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 89 f6 31 d2 e9 36 3e 6a 03 66 0f 1f 44 00
RSP: 0018:ffffc90000a082c8 EFLAGS: 00000046
RAX: 00000000000000ae RBX: ffff88823c623e40 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000000ae RDI: 0000000000000838
RBP: 0000000000000000 R08: ffffffff81b13c55 R09: ffffffff9a075508
R10: 0000000000000003 R11: ffffffff81730750 R12: 0000000010003e13
R13: dffffc0000000000 R14: 00000000000000ae R15: 0000000000000020
FS:  00007f1fc26fe6c0(0000) GS:ffff8882a96a4000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd2aee90a8 CR3: 0000000113edc000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x1c9/0x350
 hrtimer_interrupt+0x620/0xaa0
 __sysvec_apic_timer_interrupt+0x102/0x460
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:lock_acquire+0x20b/0x2e0
Code: e9 30 ff ff ff e8 d5 d2 ed 09 f7 c3 00 02 00 00 0f 84 38 ff ff ff 65 48 8b 05 51 50 57 11 48 3b 44 24 30 75 33 fb 48 83 c4 38 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8d 3d 2e c0 53
RSP: 0018:ffffc90000a08538 EFLAGS: 00000282
RAX: 1142e593a7f27000 RBX: 0000000000000246 RCX: 0000000000000101
RDX: 00000000a42637f2 RSI: ffffffff8df5fbe0 RDI: ffffffff8c076d00
RBP: 0000000000000000 R08: ffffffff8175b995 R09: ffffffff8e560120
R10: ffffc90000a08698 R11: ffffffff81af6830 R12: 0000000000000002
R13: ffffffff8e560120 R14: 0000000000000000 R15: 0000000000000000
 unwind_next_frame+0xc2/0x23c0
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_node_noprof+0x384/0x690
 __alloc_skb+0x1d0/0x7d0
 __netdev_alloc_skb+0xc1/0x810
 __ieee80211_beacon_get+0xc06/0x1880
 ieee80211_beacon_get_tim+0xbd/0x2c0
 mac80211_hwsim_beacon_tx+0x3c5/0x870
 __iterate_interfaces+0x2ab/0x590
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180
 mac80211_hwsim_beacon+0xbb/0x180
 __hrtimer_run_queues+0x53a/0xcc0
 hrtimer_run_softirq+0x187/0x2b0
 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:preempt_schedule_irq+0x48/0xa0
Code: 49 be 00 00 00 00 00 fc ff df eb 09 48 f7 03 10 00 00 00 74 53 bf 01 00 00 00 e8 93 90 03 f6 e8 ae 23 3c f6 fb bf 01 00 00 00 <e8> 23 a9 ff ff 9c 58 fa a9 00 02 00 00 74 05 e8 84 25 3c f6 bf 01
RSP: 0018:ffffc90007e87300 EFLAGS: 00000206
RAX: 0000000000785595 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000007 RSI: ffffffff8dcf1f4e RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff8ff0e0b7 R09: 1ffffffff1fe1c16
R10: dffffc0000000000 R11: fffffbfff1fe1c17 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
 irqentry_exit+0x599/0x620
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:preempt_schedule+0x0/0x30
Code: 00 00 e8 b3 92 03 f6 e9 8e b4 01 00 cc 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 65 8b 05 f5 4f 68 07 a9 ff ff ff 7f 75 09 9c 58 a9 00
RSP: 0018:ffffc90007e87420 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000296 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff8dcf1f4e RDI: 00000000ffffffff
RBP: ffffc90007e87470 R08: ffffffff8ff0e0b7 R09: 1ffffffff1fe1c16
R10: dffffc0000000000 R11: fffffbfff1fe1c17 R12: ffff8881b58d8000
R13: ffff8881b58d6000 R14: ffffffff9a2ad200 R15: 0000000000000002
 preempt_schedule_thunk+0x16/0x30
 _raw_spin_unlock_irqrestore+0x74/0x80
 debug_check_no_obj_freed+0x52e/0x550
 __free_frozen_pages+0x4d9/0xd10
 __slab_free+0x263/0x2b0
 qlist_free_all+0x97/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_noprof+0x2bc/0x650
 vm_area_dup+0x2b/0x680
 dup_mmap+0x8b1/0x1d90
 copy_mm+0x13b/0x4b0
 copy_process+0x18b5/0x3cf0
 kernel_clone+0x248/0x8e0
 __x64_sys_clone+0x1b6/0x230
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1fc179acb9
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:00007f1fc26fdfd8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f1fc1a15fa0 RCX: 00007f1fc179acb9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000a49a4080
RBP: 00007f1fc1808bf7 R08: ffffffffff600000 R09: ffffffffff600000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 00007f1fc1a16038 R14: 00007f1fc1a15fa0 R15: 00007ffee837a568
 </TASK>
