INFO: task syz-executor:30615 blocked for more than 148 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:26616 pid:30615 tgid:30615 ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 add_one_compat_dev+0xf0/0x650
 rdma_dev_init_net+0x243/0x2f0
 ops_init+0x35d/0x5d0
 setup_net+0x118/0x350
 copy_net_ns+0x53b/0x780
 create_new_namespaces+0x3f0/0x6b0
 unshare_nsproxy_namespaces+0x149/0x190
 ksys_unshare+0x5a7/0x950
 __x64_sys_unshare+0x38/0x50
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f53a079f427
RSP: 002b:00007fff79fa12e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f53a0a25f40 RCX: 00007f53a079f427
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007f53a0a267b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000008
R13: 0000000000000003 R14: 00007fff79fa1528 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/35: 1, last CPU#0:
 #0: ffffffff8ed5c7e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5419: 2, on CPU#0:
 #0: ffff8881768ab0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034832e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by syz-executor/5580: 2, last CPU#0:
 #0: ffff8881117f03b8 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x1a4/0x9f0
 #1: ffffffff8ed5c7e0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x29/0x240
locks held by kworker/u8:2/5620: 3, on CPU#1:
 #0: ffff8881001fc140 ((wq_completion)gid-cache-wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000484fc40 ((work_completion)(&work->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: ib_enum_all_roce_netdevs+0x98/0x170
locks held by kworker/u10:29/6815: 4, on CPU#1:
 #0: ffff888106683140 ((wq_completion)ib-unreg-wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000349fc40 ((work_completion)(&device->unregistration_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff8881bb864730 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x279/0x400
 #3: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: disable_device+0xb7/0x330
locks held by syz-executor/18439: 1, on CPU#1:
 #0: ffffffff8ed62a78 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530
locks held by kworker/u9:90/21166: 3, last CPU#0:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900038dfc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff88810b71e258 (&devlink->lock_key#22){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xb40
locks held by syz-executor/27370: 1, on CPU#1:
 #0: ffffffff8ed62a78 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530
locks held by syz.9.14415/30588: 10, last CPU#1:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8ff9ef28 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff888197d51020 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
 #4: ffffc90000a18cc0 ((&hsr->announce_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x5f0
 #5: ffffffff8ed5c7e0 (rcu_read_lock){....}-{1:3}, at: hsr_announce+0x89/0x370
 #6: ffff888120991070 (&hsr->seqnr_lock){+.-.}-{3:3}, at: send_hsr_supervision_frame+0x3cd/0xcf0
 #7: ffffffff8ed5c7e0 (rcu_read_lock){....}-{1:3}, at: hsr_forward_skb+0xb9/0x2b70
 #8: ffffffff8ed5c7e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550
 #9: ffffffff8ed5c7e0 (rcu_read_lock){....}-{1:3}, at: perf_event_output_forward+0xb9/0x480
locks held by syz-executor/30615: 4, on CPU#1:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8ff9ef28 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff888197d51020 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
locks held by syz-executor/30677: 4, on CPU#1:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8ff9ef28 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff888197d51020 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
locks held by syz-executor/30689: 4, on CPU#1:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
 #2: ffffffff8ff9ef28 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x238/0x2f0
 #3: ffff888197d51020 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x650
locks held by syz-executor/30711: 2, on CPU#1:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
locks held by syz-executor/30726: 2, on CPU#1:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
locks held by syz-executor/30729: 2, on CPU#1:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0
locks held by syz-executor/30751: 2, on CPU#0:
 #0: ffffffff90243428 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x524/0x780
 #1: ffffffff8ff9ed68 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x200/0x2f0

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

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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 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: 30588 Comm: syz.9.14415 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 26 6d a6 03 66 0f 1f 44 00
RSP: 0018:ffffc90000a17cc8 EFLAGS: 00000046
RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f
RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
RBP: ffffc90000a17da0 R08: 0000000001000101 R09: 1ffff92000142fa4
R10: dffffc0000000000 R11: fffff52000142fa5 R12: ffff888112bdc201
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88823c631f30
FS:  00007f37dfa8c6c0(0000) GS:ffff8882a8cd5000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fe99b1aa58 CR3: 000000011f774000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 arch_irq_work_raise+0x6d/0x80
 __irq_work_queue_local+0x1f9/0x4f0
 irq_work_queue+0x99/0x150
 __perf_event_overflow+0x8e4/0xea0
 perf_swevent_hrtimer+0x484/0x650
 __hrtimer_run_queues+0x371/0xa10
 hrtimer_interrupt+0x4cd/0xaa0
 __sysvec_apic_timer_interrupt+0x102/0x430
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:get_stack_info_noinstr+0x0/0x130
Code: c7 80 15 06 8c e8 30 55 00 00 65 c6 05 36 f2 af 07 00 eb 9a 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 41 57 41 56 41 54 53 48 89 d3 49 89 f7 49 89 fe e8 27
RSP: 0018:ffffc90000a18448 EFLAGS: 00000286
RAX: 1ffff920001430aa RBX: ffffc90000a18548 RCX: ffffc90000a18548
RDX: ffffc90000a18528 RSI: ffff888171918000 RDI: ffffc90007b5ebc0
RBP: 1ffffffff237af27 R08: ffffc90007b5ebc8 R09: 0000000000000000
R10: ffffc90000a18578 R11: ffffffff81b29190 R12: 1ffff920001430a7
R13: ffffc90007b5ebc0 R14: ffffc90000a18528 R15: ffff888171918000
 get_stack_info+0x3a/0xf0
 unwind_next_frame+0xc01/0x2550
 arch_stack_walk+0x11b/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_noprof+0x2b9/0x600
 skb_clone+0x212/0x3a0
 hsr_forward_skb+0x1195/0x2b70
 send_hsr_supervision_frame+0x733/0xcf0
 hsr_announce+0x1db/0x370
 call_timer_fn+0x18d/0x5f0
 __run_timer_base+0x652/0x8b0
 run_timer_softirq+0xb7/0x170
 handle_softirqs+0x226/0x860
 __irq_exit_rcu+0xcb/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:arch_stack_walk+0x0/0x150
Code: d9 8e 48 89 de 5b 41 5e 41 5f 5d e9 4a 3d 79 0a cc cc cc cc 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 48 89 e5 41 57 41 56 41 54 53 48 83 ec 68 49 89 cf
RSP: 0018:ffffc90007b5ec78 EFLAGS: 00000246
RAX: ffffc90007b5eca0 RBX: 1ffff92000f6bd90 RCX: 0000000000000000
RDX: ffff888171918000 RSI: ffffc90007b5eca0 RDI: ffffffff81b29190
RBP: ffffc90007b5ed10 R08: dffffc0000000000 R09: 0000000000000000
R10: ffffc90007b5ed20 R11: ffffed102025a824 R12: ffff888100041500
R13: 00000000ffffffff R14: dffffc0000000000 R15: ffffc90007b5ed20
 stack_trace_save+0xa9/0x100
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_node_track_caller_noprof+0x4b4/0x720
 kstrdup+0x42/0x100
 __kernfs_new_node+0xa9/0x980
 kernfs_new_node+0xea/0x140
 __kernfs_create_file+0x4b/0x2e0
 sysfs_add_file_mode_ns+0x237/0x300
 internal_create_group+0x679/0x1180
 sysfs_create_groups+0x59/0x120
 ib_setup_port_attrs+0x1774/0x2420
 add_one_compat_dev+0x446/0x650
 rdma_dev_init_net+0x243/0x2f0
 ops_init+0x35d/0x5d0
 setup_net+0x118/0x350
 copy_net_ns+0x53b/0x780
 create_new_namespaces+0x3f0/0x6b0
 copy_namespaces+0x432/0x4b0
 copy_process+0x1ec0/0x43e0
 kernel_clone+0x2d7/0x940
 __x64_sys_clone+0x1b6/0x230
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f37deb9e159
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:00007f37dfa8bfd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f37dee25fa0 RCX: 00007f37deb9e159
RDX: 0000000000000000 RSI: fffffffffffffd50 RDI: 00000000410a4400
RBP: 00007f37dec35024 R08: ffffffffffffffff R09: ffffffffffffffff
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f37dee26038 R14: 00007f37dee25fa0 R15: 00007ffd3d2aaec8
 </TASK>
