INFO: task syz.8.21365:20643 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.8.21365     state:D stack:24800 pid:20643 tgid:20643 ppid:19681  task_flags:0x40044c flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x61e/0x920
 down_read+0x99/0x2e0
 exit_mm+0x73/0x220
 do_exit+0x6a2/0x23c0
 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:0x7fe8a5f9c582
RSP: 002b:00007ffca6fdce78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 00007fe8a5f9c582
RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000
RBP: 0000000000020022 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffca6fdcfe0
R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000
 </TASK>
INFO: task syz.8.21365:20649 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.8.21365     state:D stack:24792 pid:20649 tgid:20643 ppid:19681  task_flags:0x40054c flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x61e/0x920
 down_read+0x99/0x2e0
 exit_mm+0x73/0x220
 do_exit+0x6a2/0x23c0
 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:0x7fe8a5f9c819
RSP: 002b:00007fe8a6e91028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: fffffffffffffff2 RBX: 00007fe8a6216090 RCX: 00007fe8a5f9c819
RDX: 0000000000000094 RSI: 00002000000018c0 RDI: 0000000000000005
RBP: 00007fe8a6032c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe8a6216128 R14: 00007fe8a6216090 R15: 00007ffca6fdcee8
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u8:1/13:
 #0: ffff8881012ae148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc90000127c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffffffff8fbc03d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800
 #3: ffffffff8f926e50 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_exit_net+0x92/0x350
1 lock held by khungtaskd/34:
 #0: ffffffff8e75e5e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
1 lock held by dhcpcd/5553:
 #0: ffffffff8fbceb48 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x32b/0x1b30
2 locks held by getty/5633:
 #0: ffff8881167db0a0 (&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/1:13/29550:
 #0: ffff88810006b148 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc900048a7c40 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffffffff8fbceb48 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
3 locks held by kworker/1:8/1569:
 #0: ffff88810006b148 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc9000933fc40 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffffffff8e764878 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
3 locks held by kworker/u8:3/1881:
 #0: ffff888112d72148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc9000be77c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffffffff8fbceb48 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x11e/0x14c0
6 locks held by kworker/u11:2/4314:
 #0: ffff88802f348948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc90020317c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff888115810ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff8881158100c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0xa6f/0x1190
 #4: ffffffff8fd5bc28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x340
 #5: ffff888116d4aaf8 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x7b/0x5c0
3 locks held by syz-executor/20555:
 #0: ffff88810d2a4ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x5a0
 #1: ffff88810d2a40c0 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x640/0x10e0
 #2: ffffffff8fd5bc28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x260
1 lock held by syz.8.21365/20643:
 #0: ffff888119694cc0 (&mm->mmap_lock){++++}-{4:4}, at: exit_mm+0x73/0x220
5 locks held by syz.8.21365/20644:
1 lock held by syz.8.21365/20649:
 #0: ffff888119694cc0 (&mm->mmap_lock){++++}-{4:4}, at: exit_mm+0x73/0x220
2 locks held by syz-executor/20698:
 #0: ffffffff8fbc03d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fbceb48 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x2a4/0x940
2 locks held by syz-executor/20702:
 #0: ffffffff8fbc03d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8fbceb48 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2d7/0x840
6 locks held by syz-executor/20705:
 #0: ffffffff8fbc03d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8f926c90 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8f926e50 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff88818d338ff8 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
 #4: ffff88818d3392f0 (&rxe->usdev_lock){+.+.}-{4:4}, at: rxe_query_port+0x7e/0x3d0
 #5: ffffffff8fbceb48 (rtnl_mutex){+.+.}-{4:4}, at: ib_get_eth_speed+0x173/0x7f0
4 locks held by syz-executor/20720:
 #0: ffffffff8fbc03d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8f926c90 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8f926e50 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff88818d338ff8 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
4 locks held by kworker/u11:4/20724:
 #0: ffff88801bd76148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc9000a06fc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff888113008ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff8881130080c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0xa6f/0x1190
4 locks held by kworker/u11:6/20726:
 #0: ffff888021867948 ((wq_completion)hci10#2){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc90009acfc40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff88810ba180c0 (&hdev->lock){+.+.}-{4:4}, at: le_conn_complete_evt+0xa0/0x1430
 #3: ffffffff8fd5bc28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm+0x2c/0x140
4 locks held by syz-executor/20729:
 #0: ffffffff8fbc03d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8f926c90 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8f926e50 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff88818d338ff8 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
4 locks held by syz-executor/20730:
 #0: ffffffff8fbc03d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x4f7/0x730
 #1: ffffffff8f926c90 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8f926e50 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff88818d338ff8 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
4 locks held by kworker/u11:8/20735:
 #0: ffff888021862948 ((wq_completion)hci9#2){+.+.}-{0:0}, at: process_scheduled_works+0xa52/0x18c0
 #1: ffffc90008f7fc40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa8d/0x18c0
 #2: ffff8881095540c0 (&hdev->lock){+.+.}-{4:4}, at: le_conn_complete_evt+0xa0/0x1430
 #3: ffffffff8fd5bc28 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm+0x2c/0x140

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

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+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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 20644 Comm: syz.8.21365 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:__reset_page_owner+0x0/0x1f0
Code: 8b ff 48 89 df 48 c7 c6 00 13 dd 8b e8 29 c6 ed fe 90 0f 0b cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <0f> 1f 40 d6 55 41 57 41 56 41 55 41 54 53 89 f5 49 89 fe e8 f8 4d
RSP: 0018:ffffc90000007d60 EFLAGS: 00000246
RAX: 1ffffd40008f9d95 RBX: ffffea00047ceca8 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffea00047cec80
RBP: ffffea00047cecb8 R08: ffffea00047cecb7 R09: 1ffffd40008f9d96
R10: dffffc0000000000 R11: fffff940008f9d97 R12: ffffea00047cec80
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fe8a6eb26c0(0000) GS:ffff88818de5a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc7d0457c06 CR3: 0000000116288000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000200000000300
DR3: 0000200000000300 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __free_frozen_pages+0xc2b/0xdb0
 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:__schedule+0x15e5/0x52d0
Code: d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 71 43 80 f6 4c 89 2b 4c 89 e7 4c 89 ee e8 f3 91 83 f5 48 89 c7 e8 2b 46 e5 f5 <31> ff 4d 39 ec 40 0f 95 c7 e8 4d 4f e5 f5 48 8b 84 24 d8 00 00 00
RSP: 0018:ffffc9000be36c40 EFLAGS: 00000206
RAX: 00000000006ff521 RBX: ffff88812103ae48 RCX: 0000000080000001
RDX: 0000000000000006 RSI: ffffffff8def9047 RDI: ffffffff8c27ca00
RBP: ffffc9000be36e40 R08: ffffffff9011b4b7 R09: 1ffffffff2023696
R10: dffffc0000000000 R11: fffffbfff2023697 R12: ffff8881062e57c0
R13: ffff8881062e57c0 R14: dffffc0000000000 R15: 1ffff110242075c3
 preempt_schedule_irq+0x4d/0xa0
 irqentry_exit+0x599/0x620
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0x74/0x80
Code: e2 f5 65 8b 05 0d f0 6a 07 85 c0 74 18 5b 41 5e c3 cc cc cc cc cc e8 5b 62 fd ff f7 c3 00 02 00 00 75 d4 eb d3 e8 ac 3d 82 f5 <eb> e1 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000be36f70 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000286 RCX: 0000000000000000
RDX: 0000000000000006 RSI: ffffffff8def9047 RDI: 00000000ffffffff
RBP: dffffc0000000000 R08: ffffffff9011b4b7 R09: 1ffffffff2023696
R10: dffffc0000000000 R11: fffffbfff2023697 R12: 1ffff11020c5cb90
R13: ffffc9000be30000 R14: ffffffff8e764940 R15: dffffc0000000000
 __rcu_read_unlock+0x83/0xe0
 unwind_next_frame+0x1aaf/0x23c0
 __unwind_start+0x5b8/0x760
 arch_stack_walk+0xe3/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_noprof+0x2bc/0x650
 mas_dup_build+0x141/0x1250
 __mt_dup+0x197/0x2c0
 dup_mmap+0x418/0x1d90
 copy_mm+0x13b/0x4a0
 copy_process+0x18b6/0x3cd0
 kernel_clone+0x248/0x8e0
 __x64_sys_clone+0x1b6/0x230
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe8a5f9c819
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:00007fe8a6eb1fd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fe8a6215fa0 RCX: 00007fe8a5f9c819
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020800000
RBP: 00007fe8a6032c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fe8a6216038 R14: 00007fe8a6215fa0 R15: 00007ffca6fdcee8
 </TASK>
