rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=469353, q=121) rcu: All QSes seen, last rcu_preempt kthread activity 10478 (4295221551-4295211073), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10478 jiffies! g469353 f0x2 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:28688 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 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+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 1 CPU: 1 PID: 8607 Comm: syz-executor.3 Not tainted 5.16.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_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:481 print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline] check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x2125/0x2200 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:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode+0x0/0x40 kernel/kcov.c:166 Code: 48 89 df e8 02 bd 46 00 e9 59 fe ff ff 48 8b 7c 24 08 e8 f3 bc 46 00 e9 61 fd ff ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc <65> 8b 05 c9 8c 8a 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 RSP: 0018:ffffc90000dc0c40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 000000000abcc771 RCX: 0000000000002710 RDX: ffff88801c359d00 RSI: ffff88801c359d00 RDI: 0000000000000003 RBP: 000000000112e0be R08: 00000000000f4240 R09: 0000000000000000 R10: ffffffff876af5b6 R11: 0000000000000000 R12: 0000000000002710 R13: 0000068db8bac710 R14: 0000000000000004 R15: 0000000000000000 write_comp_data kernel/kcov.c:221 [inline] __sanitizer_cov_trace_const_cmp4+0x1c/0x70 kernel/kcov.c:287 pie_calculate_probability+0x2a6/0x7c0 net/sched/sch_pie.c:348 fq_pie_timer+0x170/0x2a0 net/sched/sch_fq_pie.c:383 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:__prepend_path fs/d_path.c:116 [inline] RIP: 0010:prepend_path+0x81e/0xea0 fs/d_path.c:171 Code: 4d 39 ec 0f 84 7b 01 00 00 e8 1e a9 9f ff 49 8d 7c 24 18 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 81 05 00 00 49 8b 5c 24 18 <4d> 8d 75 20 4d 89 ec e9 b0 fc ff ff 41 bc 03 00 00 00 e9 23 fe ff RSP: 0018:ffffc900034c75b8 EFLAGS: 00000246 RAX: 1ffff11005552cf3 RBX: ffff8880706a9a70 RCX: ffffc900100c5000 RDX: 0000000000040000 RSI: ffffffff81d83ec2 RDI: ffff88802aa96798 RBP: ffffc900034c76c0 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81d83c72 R11: 0000000000000000 R12: ffff88802aa96780 R13: ffff88802aa96600 R14: ffff88802aa967a0 R15: dffffc0000000000 d_absolute_path+0xef/0x1a0 fs/d_path.c:233 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x288/0x620 security/tomoyo/realpath.c:276 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:311 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:306 security_file_open+0x45/0xb0 security/security.c:1635 do_dentry_open+0x353/0x1250 fs/open.c:809 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_compat_sys_openat fs/open.c:1288 [inline] __se_compat_sys_openat fs/open.c:1286 [inline] __ia32_compat_sys_openat+0x13f/0x1f0 fs/open.c:1286 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6e7f549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f44791a0 EFLAGS: 00000282 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f44791f0 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 00000000f6fb5000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 48 89 df mov %rbx,%rdi 3: e8 02 bd 46 00 callq 0x46bd0a 8: e9 59 fe ff ff jmpq 0xfffffe66 d: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 12: e8 f3 bc 46 00 callq 0x46bd0a 17: e9 61 fd ff ff jmpq 0xfffffd7d 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: cc int3 26: cc int3 27: cc int3 28: cc int3 29: cc int3 * 2a: 65 8b 05 c9 8c 8a 7e mov %gs:0x7e8a8cc9(%rip),%eax # 0x7e8a8cfa <-- trapping instruction 31: 89 c2 mov %eax,%edx 33: 81 e2 00 01 00 00 and $0x100,%edx 39: a9 00 01 ff 00 test $0xff0100,%eax 3e: 74 10 je 0x50