rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (7461 ticks this GP) idle=4a7/1/0x4000000000000000 softirq=82211/82212 fqs=79
(t=10500 jiffies g=151409 q=2196)
rcu: rcu_preempt kthread starved for 9264 jiffies! g151409 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
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:28696 pid: 14 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4940 [inline]
__schedule+0x940/0x26f0 kernel/sched/core.c:6287
schedule+0xd3/0x270 kernel/sched/core.c:6366
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
rcu_gp_fqs_loop+0x186/0x800 kernel/rcu/tree.c:1957
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2130
kthread+0x3e5/0x4d0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 32485 Comm: syz-executor.2 Not tainted 5.15.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:strlen+0x54/0x90 lib/string.c:566
Code: 75 48 80 7d 00 00 74 39 48 bb 00 00 00 00 00 fc ff df 48 89 e8 48 83 c0 01 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a <38> ca 7f 04 84 d2 75 1f 80 38 00 75 de 48 83 c4 08 48 29 e8 5b 5d
RSP: 0018:ffffc90000dc0978 EFLAGS: 00000202
RAX: ffffffff898d52ca RBX: dffffc0000000000 RCX: 0000000000000002
RDX: 0000000000000006 RSI: ffffffff8b97fe20 RDI: ffffffff898d52c0
RBP: ffffffff898d52c0 R08: 0000000000000000 R09: ffffffff8d6e48d7
R10: fffffbfff1adc91a R11: 0000000000000000 R12: ffffffff8b97fe20
R13: ffffffff8b87d160 R14: ffffffff8b97fe20 R15: ffffc90000dc0a48
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005566f83c6000 CR3: 000000002e169000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
strlen include/linux/fortify-string.h:60 [inline]
trace_event_get_offsets_lock include/trace/events/lock.h:39 [inline]
perf_trace_lock+0xb1/0x4d0 include/trace/events/lock.h:39
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x4a8/0x720 kernel/locking/lockdep.c:5636
rcu_lock_release include/linux/rcupdate.h:272 [inline]
rcu_read_unlock include/linux/rcupdate.h:720 [inline]
net_generic include/net/netns/generic.h:47 [inline]
hwsim_net_get_netgroup drivers/net/wireless/mac80211_hwsim.c:270 [inline]
hwsim_unicast_netgroup+0x16a/0x580 drivers/net/wireless/mac80211_hwsim.c:1174
mac80211_hwsim_tx_frame_nl+0xbb2/0xd70 drivers/net/wireless/mac80211_hwsim.c:1354
mac80211_hwsim_tx_frame+0x123/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1780
mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838
__iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829
mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:6687
Code: 55 53 65 48 8b 1c 25 40 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 92 60 19 f8 e8 1d f1 45 f8 fb bf 01 00 00 00 d2 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 90 4f 19
RSP: 0018:ffffc90003a77548 EFLAGS: 00000202
RAX: 0000000000242061 RBX: ffff88807b7c9c80 RCX: 1ffffffff1fa26d2
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffed100f6f9390 R08: 0000000000000001 R09: ffffffff8fcfa967
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
irqentry_exit+0x31/0x80 kernel/entry/common.c:427
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:stackdepot_memcmp lib/stackdepot.c:195 [inline]
RIP: 0010:find_stack lib/stackdepot.c:211 [inline]
RIP: 0010:stack_depot_save+0x13e/0x4e0 lib/stackdepot.c:281
Code: 37 4d 85 f6 75 11 e9 94 00 00 00 4d 8b 36 4d 85 f6 0f 84 88 00 00 00 41 39 5e 08 75 ee 45 3b 66 0c 75 e8 31 c0 49 8b 4c c6 18 <48> 39 4c c5 00 75 da 48 83 c0 01 49 39 c5 75 eb 48 8b 7c 24 28 48
RSP: 0018:ffffc90003a77618 EFLAGS: 00000216
RAX: 000000000000000d RBX: 000000004e439160 RCX: ffffffff8149181f
RDX: 0000000000039160 RSI: 0000000000000800 RDI: 0000000043a1ad01
RBP: ffffc90003a77688 R08: 00000000fd314377 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000013
R13: 0000000000000013 R14: ffff8880793613c0 R15: ffff88823b1c8b00
kasan_save_stack+0x32/0x40 mm/kasan/common.c:40
kasan_set_track+0x1c/0x30 mm/kasan/common.c:46
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:360
____kasan_slab_free mm/kasan/common.c:366 [inline]
____kasan_slab_free mm/kasan/common.c:328 [inline]
__kasan_slab_free+0xff/0x130 mm/kasan/common.c:374
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:1700 [inline]
slab_free_freelist_hook+0x81/0x190 mm/slub.c:1725
slab_free mm/slub.c:3483 [inline]
kmem_cache_free+0x8a/0x5b0 mm/slub.c:3499
anon_vma_chain_free mm/rmap.c:142 [inline]
unlink_anon_vmas+0x16e/0x860 mm/rmap.c:415
free_pgtables+0x1ab/0x2f0 mm/memory.c:426
exit_mmap+0x1df/0x630 mm/mmap.c:3172
__mmput+0x122/0x4b0 kernel/fork.c:1115
mmput+0x58/0x60 kernel/fork.c:1136
exit_mm kernel/exit.c:501 [inline]
do_exit+0xabc/0x2a30 kernel/exit.c:812
do_group_exit+0x125/0x310 kernel/exit.c:922
get_signal+0x47f/0x2160 kernel/signal.c:2868
arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f4829dab739
Code: Unable to access opcode bytes at RIP 0x7f4829dab70f.
RSP: 002b:00007f4827322188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000006 RBX: 00007f4829eaff80 RCX: 00007f4829dab739
RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000004
RBP: 00007f4829e05cc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4829eaff80
R13: 00007f482a3e3b1f R14: 00007f4827322300 R15: 0000000000022000
NMI backtrace for cpu 0
CPU: 0 PID: 32484 Comm: syz-executor.0 Not tainted 5.15.0-rc1-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+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
rcu_dump_cpu_stacks+0x25e/0x3f0 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:3880 [inline]
rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2599
update_process_times+0x16d/0x200 kernel/time/timer.c:1785
tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
__sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197
Code: 01 f0 4d 89 03 e9 63 fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 <65> 8b 05 19 e2 8b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc90000007b98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000070000 RCX: ffff888033550000
RDX: 0000000000000000 RSI: ffff888033550000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff85369773 R11: 0000000000000000 R12: ffff888097f85640
R13: ffff888036c0b4d0 R14: 00000000000c1a5c R15: ffff888036c0b2a0
mac80211_hwsim_tx_frame_no_nl.isra.0+0x299/0x1330 drivers/net/wireless/mac80211_hwsim.c:1475
mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784
mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838
__iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829
mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:6687
Code: 55 53 65 48 8b 1c 25 40 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 92 60 19 f8 e8 1d f1 45 f8 fb bf 01 00 00 00 d2 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 90 4f 19
RSP: 0018:ffffc90003a66f48 EFLAGS: 00000206
RAX: 000000000000b781 RBX: ffff888033550000 RCX: 1ffffffff1adc3a9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffed10066aa000 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817c37a8 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
irqentry_exit+0x31/0x80 kernel/entry/common.c:427
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5593
Code: 92 a6 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90003a67018 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff9200074ce05 RCX: 255701fbb9802d42
RDX: 1ffff110066aa13e RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8fcfa927
R10: fffffbfff1f9f524 R11: 0000000000086089 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8b97fe20 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:267 [inline]
rcu_read_lock include/linux/rcupdate.h:687 [inline]
is_bpf_text_address+0x36/0x170 kernel/bpf/core.c:706
kernel_text_address kernel/extable.c:151 [inline]
kernel_text_address+0xbd/0xf0 kernel/extable.c:120
__kernel_text_address+0x9/0x30 kernel/extable.c:105
unwind_get_return_address arch/x86/kernel/unwind_orc.c:318 [inline]
unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:313
arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121
kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0x83/0xb0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:254 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slub.c:3206 [inline]
slab_alloc mm/slub.c:3214 [inline]
kmem_cache_alloc+0x209/0x390 mm/slub.c:3219
dst_alloc+0x146/0x1f0 net/core/dst.c:92
rt_dst_alloc+0x73/0x430 net/ipv4/route.c:1621
__mkroute_output net/ipv4/route.c:2572 [inline]
ip_route_output_key_hash_rcu+0x921/0x2d00 net/ipv4/route.c:2799
ip_route_output_key_hash+0x18b/0x300 net/ipv4/route.c:2627
__ip_route_output_key include/net/route.h:126 [inline]
ip_route_output_flow+0x23/0x150 net/ipv4/route.c:2858
udp_sendmsg+0x1958/0x2740 net/ipv4/udp.c:1219
inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:821
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:724
____sys_sendmsg+0x331/0x810 net/socket.c:2409
___sys_sendmsg+0xf3/0x170 net/socket.c:2463
__sys_sendmmsg+0x18b/0x460 net/socket.c:2549
__do_sys_sendmmsg net/socket.c:2578 [inline]
__se_sys_sendmmsg net/socket.c:2575 [inline]
__x64_sys_sendmmsg+0x99/0x100 net/socket.c:2575
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+0x44/0xae
RIP: 0033:0x7f14189bb739
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:00007f1415f32188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f1418abff80 RCX: 00007f14189bb739
RDX: 0400000000000070 RSI: 0000000020007fc0 RDI: 0000000000000005
RBP: 00007f1418a15cc4 R08: 0000000000000000 R09: 0000000000000000
R10: 6000000000000000 R11: 0000000000000246 R12: 00007f1418abff80
R13: 00007f1418ff3b1f R14: 00007f1415f32300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 75 48 jne 0x4a
2: 80 7d 00 00 cmpb $0x0,0x0(%rbp)
6: 74 39 je 0x41
8: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx
f: fc ff df
12: 48 89 e8 mov %rbp,%rax
15: 48 83 c0 01 add $0x1,%rax
19: 48 89 c2 mov %rax,%rdx
1c: 48 89 c1 mov %rax,%rcx
1f: 48 c1 ea 03 shr $0x3,%rdx
23: 83 e1 07 and $0x7,%ecx
26: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx
* 2a: 38 ca cmp %cl,%dl <-- trapping instruction
2c: 7f 04 jg 0x32
2e: 84 d2 test %dl,%dl
30: 75 1f jne 0x51
32: 80 38 00 cmpb $0x0,(%rax)
35: 75 de jne 0x15
37: 48 83 c4 08 add $0x8,%rsp
3b: 48 29 e8 sub %rbp,%rax
3e: 5b pop %rbx
3f: 5d pop %rbp