rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-....: (10499 ticks this GP) idle=e62/1/0x4000000000000000 softirq=245278/245278 fqs=18
(t=10502 jiffies g=408929 q=198)
rcu: rcu_preempt kthread starved for 920 jiffies! g408929 f0x0 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:29112 pid: 11 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:3774 [inline]
__schedule+0x893/0x2130 kernel/sched/core.c:4523
schedule+0xcf/0x270 kernel/sched/core.c:4601
schedule_timeout+0x148/0x250 kernel/time/timer.c:1871
rcu_gp_fqs_loop kernel/rcu/tree.c:1925 [inline]
rcu_gp_kthread+0xb4c/0x1c90 kernel/rcu/tree.c:2099
kthread+0x3af/0x4a0 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
NMI backtrace for cpu 1
CPU: 1 PID: 8881 Comm: syz-executor.5 Not tainted 5.10.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x107/0x163 lib/dump_stack.c:118
nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
rcu_dump_cpu_stacks+0x1e3/0x21e kernel/rcu/tree_stall.h:318
print_cpu_stall kernel/rcu/tree_stall.h:551 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:625 [inline]
rcu_pending kernel/rcu/tree.c:3694 [inline]
rcu_sched_clock_irq.cold+0x4db/0xded kernel/rcu/tree.c:2567
update_process_times+0x77/0xd0 kernel/time/timer.c:1709
tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:176
tick_sched_timer+0x1d1/0x2a0 kernel/time/tick-sched.c:1328
__run_hrtimer kernel/time/hrtimer.c:1519 [inline]
__hrtimer_run_queues+0x1ce/0xea0 kernel/time/hrtimer.c:1583
hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1645
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
__sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1097
run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline]
sysvec_apic_timer_interrupt+0x48/0x100 arch/x86/kernel/apic/apic.c:1091
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:unwind_next_frame+0x1b4/0x1f90 arch/x86/kernel/unwind_orc.c:443
Code: ea 03 0f b6 04 02 4c 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 39 0a 00 00 4c 89 e1 41 0f b6 47 35 48 ba 00 00 00 00 00 fc ff df <48> c1 e9 03 80 3c 11 00 0f 85 6e 15 00 00 49 8b 4f 48 3c 01 49 c7
RSP: 0018:ffffc90000d90760 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff920001b20f4 RCX: ffffc90000d90880
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff8d8dfd0c R09: 0000000000000001
R10: 0000000000082081 R11: 0000000000000001 R12: ffffc90000d90880
R13: ffffc90000d9086d R14: ffffc90000d90888 R15: ffffc90000d90838
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:48
kasan_set_track mm/kasan/common.c:56 [inline]
__kasan_kmalloc.constprop.0+0xc2/0xd0 mm/kasan/common.c:461
slab_post_alloc_hook mm/slab.h:526 [inline]
slab_alloc_node mm/slub.c:2891 [inline]
__kmalloc_node_track_caller+0x1eb/0x410 mm/slub.c:4495
__kmalloc_reserve net/core/skbuff.c:142 [inline]
__alloc_skb+0xae/0x550 net/core/skbuff.c:210
alloc_skb include/linux/skbuff.h:1094 [inline]
mrp_pdu_init net/802/mrp.c:300 [inline]
mrp_pdu_append_vecattr_event+0x7b4/0x1020 net/802/mrp.c:399
mrp_attr_event+0x191/0x280 net/802/mrp.c:494
mrp_mad_event net/802/mrp.c:574 [inline]
mrp_join_timer+0x5a/0xc0 net/802/mrp.c:591
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1410
expire_timers kernel/time/timer.c:1455 [inline]
__run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1747
__run_timers kernel/time/timer.c:1728 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1760
__do_softirq+0x2a0/0x9f6 kernel/softirq.c:298
asm_call_irq_on_stack+0xf/0x20
__run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:393 [inline]
__irq_exit_rcu kernel/softirq.c:423 [inline]
irq_exit_rcu+0x132/0x200 kernel/softirq.c:435
sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1091
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 6e 48 6f f8 48 89 ef e8 d6 08 70 f8 e8 31 ef 8e f8 fb bf 01 00 00 00 16 5c 64 f8 65 8b 05 ff 16 1b 77 85 c0 74 02 5d c3 e8 9b 6c 19
RSP: 0018:ffffc90007ee74c8 EFLAGS: 00000206
RAX: 000000000000026f RBX: ffff88806b210000 RCX: 1ffffffff19d89f9
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffff8880b9f34d00 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b9f34d00
R13: ffff88802065cec0 R14: 0000000000000000 R15: 0000000000000001
finish_lock_switch kernel/sched/core.c:3513 [inline]
finish_task_switch+0x150/0x7a0 kernel/sched/core.c:3613
context_switch kernel/sched/core.c:3777 [inline]
__schedule+0x89b/0x2130 kernel/sched/core.c:4523
preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:4784
irqentry_exit_cond_resched kernel/entry/common.c:357 [inline]
irqentry_exit_cond_resched kernel/entry/common.c:349 [inline]
irqentry_exit+0x7a/0xa0 kernel/entry/common.c:387
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:kmalloc_slab+0x74/0xc0 mm/slab_common.c:649
Code: e0 01 83 c0 01 83 e3 11 0f 45 d8 89 db 48 83 fb 02 77 33 83 fd 0d 41 89 ec 77 1a 48 6b db 0e 4c 01 e3 48 8b 04 dd 20 9e e3 8a <5b> 5d 41 5c c3 0f 0b 31 c0 eb f5 4c 89 e6 48 c7 c7 20 6a 42 8b e8
RSP: 0018:ffffc90007ee76d0 EFLAGS: 00000206
RAX: ffff888010041a00 RBX: 0000000000000005 RCX: ffffc90013cb4000
RDX: 0000000000040000 RSI: 0000000000000d40 RDI: 0000000000000002
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000000c R11: 0000000000000000 R12: 0000000000000005
R13: 0000000000000017 R14: 000000000000000c R15: 0000000000000050
__kmalloc+0x36/0x3f0 mm/slub.c:3961
kmalloc include/linux/slab.h:557 [inline]
kzalloc include/linux/slab.h:664 [inline]
tomoyo_encode2.part.0+0xe9/0x3a0 security/tomoyo/realpath.c:45
tomoyo_encode2 security/tomoyo/realpath.c:31 [inline]
tomoyo_encode+0x28/0x50 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x186/0x620 security/tomoyo/realpath.c:288
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_check_open_permission+0x272/0x380 security/tomoyo/file.c:771
tomoyo_file_open security/tomoyo/tomoyo.c:313 [inline]
tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:308
security_file_open+0x52/0x4f0 security/security.c:1575
do_dentry_open+0x358/0x11b0 fs/open.c:804
do_open fs/namei.c:3252 [inline]
path_openat+0x1b9a/0x2730 fs/namei.c:3369
do_filp_open+0x17e/0x3c0 fs/namei.c:3396
do_sys_openat2+0x16d/0x420 fs/open.c:1168
do_sys_open fs/open.c:1184 [inline]
__do_sys_openat fs/open.c:1200 [inline]
__se_sys_openat fs/open.c:1195 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1195
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fea13272c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000024100 RCX: 000000000045deb9
RDX: 0000000000044400 RSI: 00000000200000c0 RDI: ffffffffffffff9c
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007fff50594eaf R14: 00007fea132739c0 R15: 000000000118bf2c