rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-....: (1 GPs behind) idle=4e3/1/0x4000000000000000 softirq=148703/148709 fqs=5240
(t=10502 jiffies g=237621 q=1345)
NMI backtrace for cpu 1
CPU: 1 PID: 32304 Comm: syz-executor.4 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
rcu_dump_cpu_stacks+0x22d/0x390 kernel/rcu/tree_stall.h:343
print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
rcu_pending kernel/rcu/tree.c:3878 [inline]
rcu_sched_clock_irq+0x1e33/0x2bc0 kernel/rcu/tree.c:2597
update_process_times+0x197/0x200 kernel/time/timer.c:1785
tick_sched_handle kernel/time/tick-sched.c:226 [inline]
tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1428
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
__sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 71 44 fd ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 3e d8 58 f7 48 89 df e8 46 89 5a f7 e8 b1 da 7d f7 fb bf 01 00 00 00 06 e2 4c f7 65 8b 05 57 2b f5 75 85 c0 74 02 5b c3 e8 ac 14 f3
RSP: 0018:ffffc90004716e90 EFLAGS: 00000286
RAX: 8d62054449cddc00 RBX: ffffffff8cc5c518 RCX: ffffffff81667291
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc900047170d0 R08: dffffc0000000000 R09: fffffbfff1ff3dde
R10: fffffbfff1ff3dde R11: 0000000000000000 R12: ffffc90004716fa0
R13: dffffc0000000000 R14: ffffffff8cc5c500 R15: 0000000000000006
rwsem_down_write_slowpath+0xcbd/0x1480 kernel/locking/rwsem.c:1127
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
down_write+0x163/0x170 kernel/locking/rwsem.c:1524
kernfs_activate+0x2c/0x490 fs/kernfs/dir.c:1293
kernfs_add_one+0x4b7/0x600 fs/kernfs/dir.c:766
__kernfs_create_file+0x235/0x2e0 fs/kernfs/file.c:1014
sysfs_add_file_mode_ns+0x21d/0x330 fs/sysfs/file.c:294
create_files fs/sysfs/group.c:64 [inline]
internal_create_group+0x54c/0xed0 fs/sysfs/group.c:148
internal_create_groups fs/sysfs/group.c:188 [inline]
sysfs_create_groups+0x5d/0x130 fs/sysfs/group.c:214
setup_gid_attrs drivers/infiniband/core/sysfs.c:1168 [inline]
ib_setup_port_attrs+0x15cb/0x23b0 drivers/infiniband/core/sysfs.c:1440
add_one_compat_dev+0x4e0/0x6d0 drivers/infiniband/core/device.c:968
rdma_dev_init_net+0x207/0x290 drivers/infiniband/core/device.c:1184
ops_init+0x313/0x430 net/core/net_namespace.c:140
setup_net+0x35b/0x9d0 net/core/net_namespace.c:326
copy_net_ns+0x359/0x5c0 net/core/net_namespace.c:470
create_new_namespaces+0x4ce/0xa00 kernel/nsproxy.c:110
copy_namespaces+0x333/0x390 kernel/nsproxy.c:178
copy_process+0x2968/0x5ca0 kernel/fork.c:2194
kernel_clone+0x22a/0x7e0 kernel/fork.c:2582
__do_sys_clone kernel/fork.c:2699 [inline]
__se_sys_clone kernel/fork.c:2683 [inline]
__x64_sys_clone+0x245/0x2b0 kernel/fork.c:2683
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0be6347e99
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0be4cbd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f0be645af60 RCX: 00007f0be6347e99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: f70a86956630e51d
RBP: 00007f0be63a1ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcfa439b4f R14: 00007f0be4cbd300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 71 44 jno 0x46
2: fd std
3: ff 90 53 48 89 fb callq *-0x476b7ad(%rax)
9: 48 83 c7 18 add $0x18,%rdi
d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
12: e8 3e d8 58 f7 callq 0xf758d855
17: 48 89 df mov %rbx,%rdi
1a: e8 46 89 5a f7 callq 0xf75a8965
1f: e8 b1 da 7d f7 callq 0xf77ddad5
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 06 e2 4c f7 callq 0xf74ce235 <-- trapping instruction
2f: 65 8b 05 57 2b f5 75 mov %gs:0x75f52b57(%rip),%eax # 0x75f52b8d
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5b pop %rbx
3b: c3 retq
3c: e8 .byte 0xe8
3d: ac lods %ds:(%rsi),%al
3e: 14 f3 adc $0xf3,%al