rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10500 ticks this GP) idle=6ca/1/0x4000000000000000 softirq=193504/193504 fqs=35 (t=10500 jiffies g=267873 q=412) rcu: rcu_preempt kthread starved for 10416 jiffies! g267873 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:26256 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5940 schedule+0x14b/0x210 kernel/sched/core.c:6019 schedule_timeout+0x1aa/0x2f0 kernel/time/timer.c:1892 rcu_gp_fqs_loop kernel/rcu/tree.c:2004 [inline] rcu_gp_kthread+0x112d/0x2190 kernel/rcu/tree.c:2177 kthread+0x453/0x480 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 31328 Comm: syz-executor.2 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:196 Code: 00 00 00 0f 1f 00 be 0d 00 00 00 48 c7 c7 c0 40 f5 8c e8 ff a4 48 00 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc 48 8b 04 24 <65> 48 8b 0c 25 80 ef 01 00 65 8b 15 84 2c 82 7e f7 c2 00 01 ff 00 RSP: 0018:ffffc900000077c0 EFLAGS: 00000046 RAX: ffffffff816fbfb9 RBX: 0000000000000003 RCX: 0000000000000018 RDX: ffff88814ef93880 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 1ffff11017344c41 R08: ffffffff816fbfaf R09: fffffbfff1c72efe R10: fffffbfff1c72efe R11: 0000000000000000 R12: ffff8880b9a26328 R13: 000003b3a7855dce R14: 0000019b232deb70 R15: 0000000000000003 FS: 00007f60fefd0700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60fefaf718 CR3: 000000016ad09000 CR4: 00000000001506f0 Call Trace: ktime_get_update_offsets_now+0x259/0x460 kernel/time/timekeeping.c:2301 hrtimer_update_base kernel/time/hrtimer.c:631 [inline] hrtimer_interrupt+0x143/0x1040 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline] RIP: 0010:do_raw_spin_lock+0x8c/0x8e0 kernel/locking/spinlock_debug.c:112 Code: f3 f3 48 89 f1 48 89 74 24 38 48 89 04 16 48 8d 5f 04 49 89 df 49 c1 ef 03 41 8a 04 17 84 c0 0f 85 53 04 00 00 49 89 dc 8b 03 <3d> ad 4e ad de 0f 85 5d 01 00 00 49 8d 58 10 48 89 d8 48 c1 e8 03 RSP: 0018:ffffc90000007a60 EFLAGS: 00000246 RAX: 00000000dead4ead RBX: ffff88814e241cb4 RCX: 1ffff92000000f54 RDX: dffffc0000000000 RSI: 1ffff92000000f54 RDI: ffff88814e241cb0 RBP: ffffc90000007b28 R08: ffff88814e241cb0 R09: fffffbfff1c72efe R10: fffffbfff1c72efe R11: 0000000000000000 R12: ffff88814e241cb4 R13: ffffc90000007be0 R14: 0000000000000100 R15: 1ffff11029c48396 spin_lock include/linux/spinlock.h:354 [inline] mrp_join_timer+0x2b/0x7b0 net/802/mrp.c:590 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers+0x6ff/0x910 kernel/time/timer.c:1745 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1758 __do_softirq+0x372/0x783 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x21b/0x260 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:tomoyo_check_acl+0xbd/0x430 security/tomoyo/domain.c:173 Code: 49 39 dc 0f 84 14 02 00 00 0f 1f 40 00 49 8d 6c 24 18 48 89 e8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 1d 01 00 00 0f b6 6d 00 <31> ff 89 ee e8 3a e5 b6 fd 85 ed 74 16 e8 61 e2 b6 fd e9 c6 00 00 RSP: 0018:ffffc900023c7518 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880366c1390 RCX: 0000000000040000 RDX: ffffc9000e731000 RSI: 0000000000003123 RDI: 0000000000003124 RBP: 0000000000000000 R08: ffffffff83c8e0e6 R09: ffffffff83ca7902 R10: 0000000000000002 R11: ffff88814ef93880 R12: ffff88801e8cd580 R13: dffffc0000000000 R14: ffff8880366c1380 R15: 0000000000000000 tomoyo_path_permission+0x1af/0x370 security/tomoyo/file.c:586 tomoyo_check_open_permission+0x323/0x460 security/tomoyo/file.c:780 security_file_open+0x50/0xc0 security/security.c:1633 do_dentry_open+0x36b/0x1010 fs/open.c:813 do_open fs/namei.c:3361 [inline] path_openat+0x28e6/0x39b0 fs/namei.c:3494 do_filp_open+0x221/0x460 fs/namei.c:3521 do_sys_openat2+0x124/0x460 fs/open.c:1195 do_sys_open fs/open.c:1211 [inline] __do_sys_creat fs/open.c:1285 [inline] __se_sys_creat fs/open.c:1279 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1279 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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:00007f60fefd0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffd07dbacbf R14: 00007f60fefd0300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 31288 Comm: syz-executor.2 Tainted: G W 5.13.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:79 [inline] dump_stack_lvl+0x1ae/0x29f lib/dump_stack.c:96 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 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:341 print_cpu_stall kernel/rcu/tree_stall.h:624 [inline] check_cpu_stall kernel/rcu/tree_stall.h:699 [inline] rcu_pending kernel/rcu/tree.c:3911 [inline] rcu_sched_clock_irq+0x1d0d/0x2a30 kernel/rcu/tree.c:2649 update_process_times+0x197/0x200 kernel/time/timer.c:1796 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:166 [inline] RIP: 0010:unwind_next_frame+0x23e/0x1fa0 arch/x86/kernel/unwind_orc.c:443 Code: ff c0 4b 8d 04 7f 48 8d 94 00 a0 4f a9 8e 48 c7 c0 e2 3a 42 8f 48 39 c2 0f 83 c8 16 00 00 4b 8d 0c 40 48 8d 8c 09 a0 4f a9 8e <48> 39 c1 0f 87 b3 16 00 00 45 29 f8 0f 84 96 01 00 00 4e 8d 34 bd RSP: 0018:ffffc90000dc03c0 EFLAGS: 00000287 RAX: ffffffff8f423ae2 RBX: ffffffff8f43f4c8 RCX: ffffffff8eb259e4 RDX: ffffffff8eb259b4 RSI: ffffffff816e78e3 RDI: 0000000000000001 RBP: 0000000000006e78 R08: 00000000000181b6 R09: ffffc90000dc0550 R10: fffff520001b809c R11: 0000000000000000 R12: ffffffff816e78e2 R13: ffffc90000dc0401 R14: dffffc0000000000 R15: 00000000000181ae arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x3d/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0x109/0x150 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:229 [inline] slab_free_hook mm/slub.c:1639 [inline] slab_free_freelist_hook+0x1d8/0x290 mm/slub.c:1664 slab_free mm/slub.c:3224 [inline] kfree+0xcf/0x2d0 mm/slub.c:4268 skb_release_all net/core/skbuff.c:730 [inline] __kfree_skb+0x56/0x1d0 net/core/skbuff.c:744 kfree_skb_list+0x41/0x70 net/core/skbuff.c:771 __dev_xmit_skb net/core/dev.c:3938 [inline] __dev_queue_xmit+0x243b/0x3500 net/core/dev.c:4241 mrp_queue_xmit net/802/mrp.c:351 [inline] mrp_join_timer+0x578/0x7b0 net/802/mrp.c:595 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers+0x6ff/0x910 kernel/time/timer.c:1745 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1758 __do_softirq+0x372/0x783 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x21b/0x260 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:perf_install_in_context+0x7a0/0xaa0 kernel/events/core.c:2918 Code: e7 e8 04 07 27 00 e9 52 ff ff ff 48 8b 4c 24 28 80 e1 07 80 c1 03 38 c1 7c 99 48 8b 7c 24 28 e8 e6 06 27 00 eb 8d 0f 1f 40 00 <31> ff 44 89 fe e8 56 5a de ff 45 85 ff 0f 84 f8 00 00 00 48 8b 7c RSP: 0018:ffffc9000215fba0 EFLAGS: 00000213 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000040000 RDX: ffffc9000e12e000 RSI: 000000000000022a RDI: 000000000000022b RBP: ffffc9000215fcf0 R08: ffffffff81a16bf7 R09: ffffed1017366c8a R10: ffffed1017366c8a R11: 0000000000000000 R12: ffff888156119c88 R13: 1ffff9200042bf87 R14: ffffc9000215fc20 R15: 0000000000000000 __do_sys_perf_event_open kernel/events/core.c:12323 [inline] __se_sys_perf_event_open+0x2d21/0x4020 kernel/events/core.c:11929 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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:00007f60ff033188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 00000000200003c0 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd07dbacbf R14: 00007f60ff033300 R15: 0000000000022000