rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
(detected by 1, t=10506 jiffies, g=62433, q=137 ncpus=2)
rcu: All QSes seen, last rcu_preempt kthread activity 10506 (4295013589-4295003083), jiffies_till_next_fqs=1, root ->qsmask 0x0
rcu: rcu_preempt kthread starved for 10506 jiffies! g62433 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt state:R running task stack:28680 pid:16 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5191 [inline]
__schedule+0xae9/0x53f0 kernel/sched/core.c:6503
schedule+0xda/0x1b0 kernel/sched/core.c:6579
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935
rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1660
rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1859
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 14895 Comm: syz-executor.2 Not tainted 6.1.0-rc2-syzkaller-00062-ga970174d7a10 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:__kasan_check_write+0x0/0x10 mm/kasan/shadow.c:37
Code: 05 00 80 00 00 48 89 fb 48 39 c7 0f 82 52 2d 83 07 eb e1 cc cc cc cc cc cc cc 48 8b 0c 24 89 f6 31 d2 e9 83 f8 ff ff 0f 1f 00 <48> 8b 0c 24 89 f6 ba 01 00 00 00 e9 70 f8 ff ff 55 53 48 8b 07 48
RSP: 0018:ffffc90000007c80 EFLAGS: 00000086
RAX: 0000000000000000 RBX: 1ffff92000000f92 RCX: 0000000000000000
RDX: 00000000ffffffff RSI: 0000000000000004 RDI: ffffffff914215d8
RBP: ffffffff914215d8 R08: 0000000000000000 R09: ffffffff8de219d7
R10: fffffbfff1bc433a R11: 0000000000000001 R12: ffffffff914215e0
R13: ffffffff914215e8 R14: 1ffff92000000faa R15: ffff88801c32e340
FS: 00007fb175180700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e122000 CR3: 0000000021224000 CR4: 0000000000350ef0
Call Trace:
instrument_atomic_read_write include/linux/instrumented.h:102 [inline]
atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:541 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:111 [inline]
do_raw_spin_lock+0x111/0x2a0 kernel/locking/spinlock_debug.c:115
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0x41/0x50 kernel/locking/spinlock.c:162
debug_object_deactivate lib/debugobjects.c:732 [inline]
debug_object_deactivate+0x101/0x300 lib/debugobjects.c:720
debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline]
debug_deactivate kernel/time/hrtimer.c:481 [inline]
__run_hrtimer kernel/time/hrtimer.c:1653 [inline]
__hrtimer_run_queues+0x422/0xfb0 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
__sysvec_apic_timer_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:bpf_ksym_find+0x2/0x1c0 kernel/bpf/core.c:677
Code: e8 03 80 3c 10 00 75 0d 48 8b 3d 39 7b 58 0c f3 48 0f b8 c7 c3 48 c7 c7 40 23 e2 8d e8 c7 44 3f 00 eb e5 0f 1f 44 00 00 41 57 <41> 56 41 55 49 bd 00 00 00 00 00 fc ff df 41 54 55 48 89 fd 53 48
RSP: 0018:ffffc900051df290 EFLAGS: 00000246
RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000c4ce000
RDX: 0000000000040000 RSI: ffffffff8189e600 RDI: 00007fb17408b5f9
RBP: 00007fb17408b5f9 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000008c07e R12: ffffc900051df3b8
R13: 0000000000000000 R14: ffff88802429d7c0 R15: 0000000000000002
is_bpf_text_address+0x58/0x170 kernel/bpf/core.c:714
kernel_text_address kernel/extable.c:125 [inline]
kernel_text_address+0x39/0x80 kernel/extable.c:94
__kernel_text_address+0x9/0x30 kernel/extable.c:79
unwind_get_return_address arch/x86/kernel/unwind_orc.c:323 [inline]
unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:318
arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:45
kasan_set_track+0x21/0x30 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:371 [inline]
____kasan_kmalloc mm/kasan/common.c:330 [inline]
__kasan_kmalloc+0xa1/0xb0 mm/kasan/common.c:380
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slab_common.c:955 [inline]
__kmalloc_node_track_caller+0x55/0xc0 mm/slab_common.c:975
kstrdup+0x3b/0x70 mm/util.c:61
kstrdup_const+0x53/0x80 mm/util.c:84
__kernfs_new_node+0x9d/0x8b0 fs/kernfs/dir.c:599
kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:665
__kernfs_create_file+0x51/0x350 fs/kernfs/file.c:1043
sysfs_add_file_mode_ns+0x20f/0x3f0 fs/sysfs/file.c:294
create_files fs/sysfs/group.c:64 [inline]
internal_create_group+0x322/0xb10 fs/sysfs/group.c:148
internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:188
internal_create_groups fs/sysfs/group.c:184 [inline]
sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:214
setup_gid_attrs drivers/infiniband/core/sysfs.c:1169 [inline]
ib_setup_port_attrs+0x3e7/0x5b0 drivers/infiniband/core/sysfs.c:1441
add_one_compat_dev drivers/infiniband/core/device.c:969 [inline]
add_one_compat_dev+0x54f/0x830 drivers/infiniband/core/device.c:920
rdma_dev_init_net+0x2b5/0x4b0 drivers/infiniband/core/device.c:1185
ops_init+0xb9/0x680 net/core/net_namespace.c:135
setup_net+0x5d1/0xc50 net/core/net_namespace.c:332
copy_net_ns+0x318/0x760 net/core/net_namespace.c:478
create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:226
ksys_unshare+0x445/0x920 kernel/fork.c:3188
__do_sys_unshare kernel/fork.c:3259 [inline]
__se_sys_unshare kernel/fork.c:3257 [inline]
__x64_sys_unshare+0x2d/0x40 kernel/fork.c:3257
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb17408b5f9
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb175180168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fb1741abf80 RCX: 00007fb17408b5f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007fb1740e67b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd0967bd0f R14: 00007fb175180300 R15: 0000000000022000