rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (10500 ticks this GP) idle=08d/1/0x4000000000000000 softirq=118406/118406 fqs=64
(t=10500 jiffies g=226901 q=512)
rcu: rcu_preempt kthread starved for 10313 jiffies! g226901 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:4955 [inline]
__schedule+0x940/0x26f0 kernel/sched/core.c:6302
schedule+0xd3/0x270 kernel/sched/core.c:6381
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128
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: 23303 Comm: syz-executor.4 Not tainted 5.14.0-next-20210910-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:45 [inline]
RIP: 0010:stack_access_ok+0x51/0x120 arch/x86/kernel/unwind_orc.c:342
Code: 3c 03 0f 8e aa 00 00 00 41 8b 04 24 85 c0 74 63 49 8d 7c 24 08 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 <0f> 85 a6 00 00 00 49 8d 7c 24 10 49 8b 5c 24 08 48 b8 00 00 00 00
RSP: 0018:ffffc90000dbfc78 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 1ffff920001b7f9c RCX: 1ffff920001b7fb0
RDX: 00000000000000a8 RSI: ffffc90016a7fb18 RDI: ffffc90000dbfd80
RBP: ffffc90016a7fb18 R08: ffffffff8e7fde98 R09: 0000000000000001
R10: fffff520001b7fba R11: 0000000000086089 R12: ffffc90000dbfd78
R13: ffffc90000dbfdad R14: ffffc90000dbfd78 R15: ffffc90016a7fb18
FS: 00007f66453a2700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000568000 CR3: 00000000285c8000 CR4: 00000000001506e0
Call Trace:
deref_stack_regs arch/x86/kernel/unwind_orc.c:367 [inline]
unwind_next_frame+0xf9c/0x1ce0 arch/x86/kernel/unwind_orc.c:547
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121
kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38
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
kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:699
tcp_drop net/ipv4/tcp_input.c:4681 [inline]
tcp_data_queue_ofo net/ipv4/tcp_input.c:4767 [inline]
tcp_data_queue+0x18a8/0x4b90 net/ipv4/tcp_input.c:5076
tcp_rcv_established+0x8ad/0x2130 net/ipv4/tcp_input.c:5928
tcp_v4_do_rcv+0x5d4/0x880 net/ipv4/tcp_ipv4.c:1694
tcp_v4_rcv+0x2815/0x30e0 net/ipv4/tcp_ipv4.c:2087
ip_protocol_deliver_rcu+0xa7/0xee0 net/ipv4/ip_input.c:204
ip_local_deliver_finish+0x20a/0x370 net/ipv4/ip_input.c:231
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ip_local_deliver+0x1b3/0x200 net/ipv4/ip_input.c:252
dst_input include/net/dst.h:460 [inline]
ip_sublist_rcv_finish+0x9a/0x2c0 net/ipv4/ip_input.c:551
ip_list_rcv_finish.constprop.0+0x51e/0x6e0 net/ipv4/ip_input.c:601
ip_sublist_rcv net/ipv4/ip_input.c:609 [inline]
ip_list_rcv+0x34e/0x490 net/ipv4/ip_input.c:644
__netif_receive_skb_list_ptype net/core/dev.c:5479 [inline]
__netif_receive_skb_list_core+0x549/0x8e0 net/core/dev.c:5527
__netif_receive_skb_list net/core/dev.c:5579 [inline]
netif_receive_skb_list_internal+0x75e/0xd80 net/core/dev.c:5670
gro_normal_list net/core/dev.c:5824 [inline]
gro_normal_list net/core/dev.c:5820 [inline]
gro_normal_one+0x17f/0x260 net/core/dev.c:5837
napi_skb_finish net/core/dev.c:6174 [inline]
napi_gro_receive+0x2aa/0x9e0 net/core/dev.c:6204
receive_buf+0xc5b/0x65c0 drivers/net/virtio_net.c:1159
virtnet_receive drivers/net/virtio_net.c:1423 [inline]
virtnet_poll+0x5bf/0x1190 drivers/net/virtio_net.c:1532
__napi_poll+0xaf/0x440 net/core/dev.c:6982
napi_poll net/core/dev.c:7049 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:7136
__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:6702
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 22 ad 1b f8 e8 ad 3e 48 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 20 9c 1b
RSP: 0018:ffffc90016a7fbc8 EFLAGS: 00000206
RAX: 000000000083e439 RBX: ffff888094661c80 RCX: 1ffffffff1adc189
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffed10128cc390 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817c3998 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:aa_cred_raw_label security/apparmor/include/cred.h:51 [inline]
RIP: 0010:aa_current_raw_label security/apparmor/include/cred.h:89 [inline]
RIP: 0010:begin_current_label_crit_section security/apparmor/include/cred.h:162 [inline]
RIP: 0010:apparmor_file_alloc_security+0xcb/0x6e0 security/apparmor/lsm.c:448
Code: 00 0f 84 4d 04 00 00 e8 a3 9a d1 fd 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 9c 05 00 00 48 8b 2b <48> 85 ed 0f 84 96 03 00 00 e8 77 9a d1 fd 31 d2 be a4 00 00 00 48
RSP: 0018:ffffc90016a7fc90 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff88802506dea8 RCX: ffffc90011f40000
RDX: 1ffff11004a0dbd5 RSI: ffffffff83a4737d RDI: ffff88801d445a88
RBP: ffff888010db4ab0 R08: 0000000000000000 R09: ffff8880b9d32a0b
R10: ffffed10173a6541 R11: 0000000000000000 R12: ffff88801b89a070
R13: ffff888025d5d900 R14: 0000000000000000 R15: ffffffff8a8ae240
security_file_alloc+0xa6/0x170 security/security.c:1519
__alloc_file+0xd8/0x280 fs/file_table.c:106
alloc_empty_file+0x6d/0x170 fs/file_table.c:150
alloc_file+0x59/0x590 fs/file_table.c:192
alloc_file_pseudo+0x165/0x250 fs/file_table.c:232
sock_alloc_file+0x4f/0x190 net/socket.c:462
sock_map_fd net/socket.c:486 [inline]
__sys_socket+0x13d/0x200 net/socket.c:1561
__do_sys_socket net/socket.c:1566 [inline]
__se_sys_socket net/socket.c:1564 [inline]
__x64_sys_socket+0x6f/0xb0 net/socket.c:1564
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:0x4665f9
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:00007f66453a2188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000018
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffd3e8f20df R14: 00007f66453a2300 R15: 0000000000022000
NMI backtrace for cpu 0
CPU: 0 PID: 23272 Comm: syz-executor.3 Not tainted 5.14.0-next-20210910-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:3878 [inline]
rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2597
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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 1a 3a 26 f8 48 89 ef e8 62 b0 26 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 43 70 1a f8 65 8b 05 4c c9 cc 76 85 c0 74 0a 5b 5d c3 e8 a0 12
RSP: 0018:ffffc90000007cc0 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1fa9c02
RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000000000001
RBP: ffff888073aed108 R08: 0000000000000001 R09: ffffffff8fcfa9ff
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888073aed108 R14: ffffffff8738dfe0 R15: 0000000000000000
spin_unlock_irqrestore include/linux/spinlock.h:423 [inline]
skb_dequeue+0x125/0x180 net/core/skbuff.c:3206
mrp_queue_xmit net/802/mrp.c:363 [inline]
mrp_join_timer+0x97/0xc0 net/802/mrp.c:608
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__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:check_kcov_mode+0x7/0x40 kernel/kcov.c:163
Code: 00 e9 59 fe ff ff 48 8b 7c 24 08 e8 43 2c 46 00 e9 61 fd ff ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc 65 8b 05 29 ea 8b 7e <89> c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b
RSP: 0018:ffffc90016c8fd68 EFLAGS: 00000246
RAX: 0000000080000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffff888025f6d580 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffc90016c8fcdf
R10: ffffffff81934763 R11: 0000000000000000 R12: ffff88801af9e930
R13: 0000000000000000 R14: ffff888099faec48 R15: ffff88801af9e930
write_comp_data kernel/kcov.c:218 [inline]
__sanitizer_cov_trace_const_cmp8+0x1d/0x70 kernel/kcov.c:291
__perf_event_header_size+0x153/0x220 kernel/events/core.c:1879
perf_event_validate_size kernel/events/core.c:1939 [inline]
__do_sys_perf_event_open+0x1a83/0x3130 kernel/events/core.c:12255
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:0x4665f9
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:00007f02dc80f188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000002001d000
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000056bf80
R13: 00007fff190251bf R14: 00007f02dc80f300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 3c 03 cmp $0x3,%al
2: 0f 8e aa 00 00 00 jle 0xb2
8: 41 8b 04 24 mov (%r12),%eax
c: 85 c0 test %eax,%eax
e: 74 63 je 0x73
10: 49 8d 7c 24 08 lea 0x8(%r12),%rdi
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 48 89 f9 mov %rdi,%rcx
22: 48 c1 e9 03 shr $0x3,%rcx
26: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1)
* 2a: 0f 85 a6 00 00 00 jne 0xd6 <-- trapping instruction
30: 49 8d 7c 24 10 lea 0x10(%r12),%rdi
35: 49 8b 5c 24 08 mov 0x8(%r12),%rbx
3a: 48 rex.W
3b: b8 00 00 00 00 mov $0x0,%eax