rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10500 ticks this GP) idle=ccf/1/0x4000000000000000 softirq=96487/96487 fqs=4 (t=10502 jiffies g=169197 q=869) rcu: rcu_preempt kthread starved for 10491 jiffies! g169197 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:28000 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4984 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6265 schedule+0xd2/0x260 kernel/sched/core.c:6338 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 15015 Comm: syz-executor.0 Not tainted 5.15.0-next-20211102-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_is_watching+0x75/0xb0 kernel/rcu/tree.c:1122 Code: ff df 48 89 da 48 c1 ea 03 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 19 8b 03 83 e0 01 65 ff 0d 4b 41 9f 7e <74> 03 5b 5d c3 0f 1f 44 00 00 5b 5d c3 48 89 df e8 16 60 5b 00 eb RSP: 0018:ffffc90000dc09c8 EFLAGS: 00000006 RAX: 0000000000000001 RBX: ffff8880b9d3aa50 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000010001 RDI: ffffffff8b5448a8 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff819a4d97 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88801193b4e0 R14: ffffc90004a2f638 R15: 0000000000000008 FS: 00007f03ced18700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31323000 CR3: 00000000a853f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:717 [inline] __perf_output_begin kernel/events/ring_buffer.c:259 [inline] perf_output_begin_forward+0x4a9/0xae0 kernel/events/ring_buffer.c:268 __perf_event_output kernel/events/core.c:7489 [inline] perf_event_output_forward+0xf2/0x280 kernel/events/core.c:7507 __perf_event_overflow+0x13c/0x3d0 kernel/events/core.c:9207 perf_swevent_hrtimer+0x37c/0x3f0 kernel/events/core.c:10597 __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:638 RIP: 0010:_compound_head include/linux/page-flags.h:201 [inline] RIP: 0010:virt_to_head_page include/linux/mm.h:863 [inline] RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:120 [inline] RIP: 0010:qlist_free_all+0x89/0xc0 mm/kasan/quarantine.c:162 Code: 4c 89 fe 48 85 ed 48 89 ef 75 cb 48 89 f7 48 89 34 24 e8 ea 74 76 ff 48 8b 34 24 48 c1 e8 0c 48 c1 e0 06 4c 01 f0 48 8b 50 08 <48> 8d 4a ff 83 e2 01 48 0f 45 c1 48 8b 78 18 eb 9b 49 c7 45 08 00 RSP: 0018:ffffc90004a2f6e0 EFLAGS: 00000282 RAX: ffffea00028cad80 RBX: ffff8880aeb67400 RCX: ffffc90002c31000 RDX: ffffea00028cac01 RSI: ffff8880a32b6000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000002e R10: ffffffff81350e0a R11: 000000000000003f R12: dffffc0000000000 R13: ffffc90004a2f718 R14: ffffea0000000000 R15: ffff8880a32b6000 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3234 [inline] slab_alloc mm/slub.c:3242 [inline] __kmalloc+0x1e7/0x340 mm/slub.c:4419 kmalloc include/linux/slab.h:595 [inline] io_alloc_async_data fs/io_uring.c:3334 [inline] io_setup_async_rw+0x1f3/0x670 fs/io_uring.c:3350 io_read+0x6e8/0xff0 fs/io_uring.c:3545 io_issue_sqe+0x800/0x7010 fs/io_uring.c:6628 __io_queue_sqe fs/io_uring.c:6978 [inline] io_queue_sqe fs/io_uring.c:7020 [inline] io_submit_sqe fs/io_uring.c:7223 [inline] io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7329 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10043 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:0x7f03d17a2ae9 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:00007f03ced18188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f03d18b5f60 RCX: 00007f03d17a2ae9 RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000003 RBP: 00007f03d17fcf25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb2cd42ff R14: 00007f03ced18300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 15013 Comm: syz-executor.4 Not tainted 5.15.0-next-20211102-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:check_kcov_mode+0x1c/0x40 kernel/kcov.c:166 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc 65 8b 05 e9 a9 8a 7e 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 <8b> 96 ac 15 00 00 85 d2 74 0b 8b 86 88 15 00 00 39 f8 0f 94 c0 c3 RSP: 0018:ffffc90000007cd8 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88803d229d40 RDX: 0000000000000100 RSI: ffff88803d229d40 RDI: 0000000000000003 RBP: ffff8880b9c36780 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff83ce6877 R11: 0000000000000000 R12: 000000006228c9b4 R13: 1ffff92000000fa8 R14: ffffffff874b7030 R15: 0000000000000000 write_comp_data kernel/kcov.c:221 [inline] __sanitizer_cov_trace_const_cmp1+0x22/0x80 kernel/kcov.c:273 rcu_read_unlock_sched_notrace include/linux/rcupdate.h:810 [inline] trace_prandom_u32 include/trace/events/random.h:227 [inline] prandom_u32+0x357/0x470 lib/random32.c:390 garp_join_timer_arm+0x21/0x80 net/802/garp.c:410 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 9e 9e 10 f8 48 89 ef e8 e6 14 11 f8 e8 81 d3 31 f8 fb bf 01 00 00 00 f6 dd 03 f8 65 8b 05 ef 32 b6 76 85 c0 74 02 5d c3 0f 1f 44 00 RSP: 0018:ffffc9001ea179d8 EFLAGS: 00000206 RAX: 0000000000000559 RBX: ffff8880a829d000 RCX: 1ffffffff1ff514e RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff8880a27ef240 R08: 0000000000000001 R09: ffffffff8ff44b0f R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880adf10000 R13: 0000000000000000 R14: ffff8880a7c0b320 R15: ffff8880adf10000 spin_unlock_irq include/linux/spinlock.h:404 [inline] __io_arm_poll_handler+0x6a5/0xcf0 fs/io_uring.c:5598 io_arm_poll_handler+0x322/0x800 fs/io_uring.c:5643 io_queue_sqe_arm_apoll+0x61/0x1a0 fs/io_uring.c:6951 __io_queue_sqe fs/io_uring.c:6993 [inline] io_queue_sqe fs/io_uring.c:7020 [inline] io_submit_sqe fs/io_uring.c:7223 [inline] io_submit_sqes+0x796a/0x8a20 fs/io_uring.c:7329 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10043 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:0x7f7d29513ae9 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:00007f7d26a89188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f7d29626f60 RCX: 00007f7d29513ae9 RDX: 0000000000000000 RSI: 0000000000000030 RDI: 0000000000000003 RBP: 00007f7d2956df25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd01c53e3f R14: 00007f7d26a89300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 48 89 da mov %rbx,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx b: 48 89 d8 mov %rbx,%rax e: 83 e0 07 and $0x7,%eax 11: 83 c0 03 add $0x3,%eax 14: 38 d0 cmp %dl,%al 16: 7c 04 jl 0x1c 18: 84 d2 test %dl,%dl 1a: 75 19 jne 0x35 1c: 8b 03 mov (%rbx),%eax 1e: 83 e0 01 and $0x1,%eax 21: 65 ff 0d 4b 41 9f 7e decl %gs:0x7e9f414b(%rip) # 0x7e9f4173 * 28: 74 03 je 0x2d <-- trapping instruction 2a: 5b pop %rbx 2b: 5d pop %rbp 2c: c3 retq 2d: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 32: 5b pop %rbx 33: 5d pop %rbp 34: c3 retq 35: 48 89 df mov %rbx,%rdi 38: e8 16 60 5b 00 callq 0x5b6053 3d: eb .byte 0xeb