rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6120/1:b..l (detected by 0, t=10502 jiffies, g=19341, q=1703) task:syz-executor.3 state:R running task stack:27216 pid: 6120 ppid: 3608 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6553 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 __local_bh_enable_ip+0x109/0x120 kernel/softirq.c:390 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:764 [inline] __dev_queue_xmit+0x19c4/0x3a60 net/core/dev.c:4235 dev_queue_xmit include/linux/netdevice.h:2948 [inline] __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_no_mac net/core/filter.c:2138 [inline] __bpf_redirect+0x838/0xe50 net/core/filter.c:2161 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x2ae/0x420 net/core/filter.c:2400 bpf_prog_a125b4b2adfd2a01+0x59/0x5e bpf_dispatcher_nop_func include/linux/bpf.h:853 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x386/0x9d0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xb5e/0x1e10 net/bpf/test_run.c:1144 bpf_prog_test_run kernel/bpf/syscall.c:3596 [inline] __sys_bpf+0x185f/0x56b0 kernel/bpf/syscall.c:4907 __do_sys_bpf kernel/bpf/syscall.c:4993 [inline] __se_sys_bpf kernel/bpf/syscall.c:4991 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4991 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:0x7f6cbd0890e9 RSP: 002b:00007f6cbe286168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f6cbd19c030 RCX: 00007f6cbd0890e9 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00007f6cbd0e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9800c6bf R14: 00007f6cbe286300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10486 jiffies! g19341 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=10623 rcu: rcu_preempt kthread starved for 10487 jiffies! g19341 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28728 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1971 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2144 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 6137 Comm: syz-executor.4 Not tainted 5.18.0-rc4-syzkaller-00971-g829b7bdd7044 #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:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 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:490 print_other_cpu_stall kernel/rcu/tree_stall.h:595 [inline] check_cpu_stall kernel/rcu/tree_stall.h:741 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq+0x1f7c/0x2150 kernel/rcu/tree.c:2625 update_process_times+0x16d/0x200 kernel/time/timer.c:1788 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1473 __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+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:check_kcov_mode+0x7/0x40 kernel/kcov.c:166 Code: 00 e9 59 fe ff ff 48 8b 7c 24 08 e8 93 19 4c 00 e9 61 fd ff ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc 65 8b 05 c9 4a 89 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:ffffc90012a973a8 EFLAGS: 00000246 RAX: 0000000000000201 RBX: 0000000000000a30 RCX: 0000000000000517 RDX: 0000000000040000 RSI: ffff88802173bb00 RDI: 0000000000000003 RBP: 0000000000000517 R08: 0000000000000517 R09: 0000000000000000 R10: ffffffff877ae2f8 R11: 0000000000000000 R12: ffff888056e582c0 R13: 0000000000000517 R14: 0000000000000000 R15: dffffc0000000000 write_comp_data kernel/kcov.c:221 [inline] __sanitizer_cov_trace_cmp4+0x1c/0x70 kernel/kcov.c:261 cake_heapify+0x2e8/0x3d0 net/sched/sch_cake.c:1443 cake_drop net/sched/sch_cake.c:1515 [inline] cake_enqueue+0x13a7/0x39f0 net/sched/sch_cake.c:1903 dev_qdisc_enqueue+0x40/0x300 net/core/dev.c:3732 __dev_xmit_skb net/core/dev.c:3821 [inline] __dev_queue_xmit+0x2110/0x3a60 net/core/dev.c:4173 dev_queue_xmit include/linux/netdevice.h:2948 [inline] __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_no_mac net/core/filter.c:2138 [inline] __bpf_redirect+0x838/0xe50 net/core/filter.c:2161 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x2ae/0x420 net/core/filter.c:2400 bpf_prog_a125b4b2adfd2a01+0x59/0x5e bpf_dispatcher_nop_func include/linux/bpf.h:853 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x386/0x9d0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xb5e/0x1e10 net/bpf/test_run.c:1144 bpf_prog_test_run kernel/bpf/syscall.c:3596 [inline] __sys_bpf+0x185f/0x56b0 kernel/bpf/syscall.c:4907 __do_sys_bpf kernel/bpf/syscall.c:4993 [inline] __se_sys_bpf kernel/bpf/syscall.c:4991 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4991 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:0x7f496c6890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f496b5dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f496c79c030 RCX: 00007f496c6890e9 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 000000000000000a RBP: 00007f496c6e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0a26263f R14: 00007f496b5dd300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e9 59 fe ff ff jmpq 0xfffffe5e 5: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi a: e8 93 19 4c 00 callq 0x4c19a2 f: e9 61 fd ff ff jmpq 0xfffffd75 14: cc int3 15: cc int3 16: cc int3 17: cc int3 18: cc int3 19: cc int3 1a: cc int3 1b: cc int3 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: 65 8b 05 c9 4a 89 7e mov %gs:0x7e894ac9(%rip),%eax # 0x7e894af2 * 29: 89 c2 mov %eax,%edx <-- trapping instruction 2b: 81 e2 00 01 00 00 and $0x100,%edx 31: a9 00 01 ff 00 test $0xff0100,%eax 36: 74 10 je 0x48 38: 31 c0 xor %eax,%eax 3a: 85 d2 test %edx,%edx 3c: 74 15 je 0x53 3e: 8b .byte 0x8b