rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=e87/1/0x4000000000000000 softirq=242357/242358 fqs=27 (t=10500 jiffies g=432109 q=348) rcu: rcu_preempt kthread starved for 10382 jiffies! g432109 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:28696 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 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: 12737 Comm: syz-executor.1 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_read_lock_held_common kernel/rcu/update.c:104 [inline] RIP: 0010:rcu_read_lock_sched_held+0xf/0x70 kernel/rcu/update.c:123 Code: 89 e0 41 5c c3 45 31 e4 44 89 e0 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 54 41 bc 01 00 00 00 e8 93 e6 d6 07 85 c0 <75> 06 44 89 e0 41 5c c3 e8 44 7c 00 00 84 c0 74 41 e8 1b 9d 00 00 RSP: 0018:ffffc90009f678b8 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff815cd871 RDX: fffffbfff1adf95b RSI: 0000000000000008 RDI: ffffffff8d6fcad0 RBP: 1ffff920013ecf1b R08: 0000000000000000 R09: ffffffff8d6fcad7 R10: fffffbfff1adf95a R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000400cc0 R14: 0000000000000020 R15: ffffffff81e33657 FS: 00007f54f4542700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f54f4542718 CR3: 0000000087d28000 CR4: 0000000000350ee0 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x522/0x720 kernel/locking/lockdep.c:5648 might_alloc include/linux/sched/mm.h:228 [inline] slab_pre_alloc_hook mm/slab.h:492 [inline] slab_alloc_node mm/slub.c:3148 [inline] slab_alloc mm/slub.c:3242 [inline] kmem_cache_alloc_trace+0x42/0x2c0 mm/slub.c:3259 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4405 [inline] io_provide_buffers fs/io_uring.c:4439 [inline] io_issue_sqe+0x2887/0x7010 fs/io_uring.c:6705 __io_queue_sqe fs/io_uring.c:6974 [inline] io_queue_sqe fs/io_uring.c:7016 [inline] io_submit_sqe fs/io_uring.c:7219 [inline] io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7325 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10039 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:0x7f54f7050ae9 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:00007f54f4542188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f54f7164260 RCX: 00007f54f7050ae9 RDX: 0000000000000000 RSI: 0000000000002905 RDI: 0000000000000004 RBP: 00007f54f70aaf6d R08: 0000000000000000 R09: 0001000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd051d258f R14: 00007f54f4542300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 12716 Comm: syz-executor.1 Not tainted 5.15.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: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+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:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:380 [inline] RIP: 0010:__rcu_read_unlock+0x2d/0x570 kernel/rcu/tree_plugin.h:419 Code: 55 41 54 55 65 48 8b 2c 25 40 70 02 00 53 48 8d bd 3c 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 24 02 00 00 65 RSP: 0018:ffffc90005aff5e0 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90013964000 RDX: 0000000000000000 RSI: ffffffff8184a60c RDI: ffff88803af3043c RBP: ffff88803af30000 R08: 0000000000000094 R09: 0000000000000001 R10: ffffffff8184a5ff R11: 0000000000000000 R12: ffffc90005aff700 R13: 0000000000000000 R14: ffff88803af30000 R15: ffff8881b44be400 rcu_read_unlock include/linux/rcupdate.h:720 [inline] is_bpf_text_address+0x81/0x170 kernel/bpf/core.c:710 kernel_text_address kernel/extable.c:124 [inline] kernel_text_address+0x39/0x80 kernel/extable.c:93 __kernel_text_address+0x9/0x30 kernel/extable.c:78 unwind_get_return_address arch/x86/kernel/unwind_orc.c:318 [inline] unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:313 arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] ____kasan_kmalloc mm/kasan/common.c:472 [inline] __kasan_kmalloc+0xa9/0xd0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4405 [inline] io_provide_buffers fs/io_uring.c:4439 [inline] io_issue_sqe+0x2887/0x7010 fs/io_uring.c:6705 __io_queue_sqe fs/io_uring.c:6974 [inline] io_queue_sqe fs/io_uring.c:7016 [inline] io_submit_sqe fs/io_uring.c:7219 [inline] io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7325 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10039 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:0x7f54f7050ae9 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:00007f54f45c6188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f54f7163f60 RCX: 00007f54f7050ae9 RDX: 0000000000000000 RSI: 0000000000002905 RDI: 0000000000000004 RBP: 00007f54f70aaf6d R08: 0000000000000000 R09: 0001000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd051d258f R14: 00007f54f45c6300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 89 e0 mov %esp,%eax 2: 41 5c pop %r12 4: c3 retq 5: 45 31 e4 xor %r12d,%r12d 8: 44 89 e0 mov %r12d,%eax b: 41 5c pop %r12 d: c3 retq e: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 15: 00 00 00 00 19: 66 90 xchg %ax,%ax 1b: 41 54 push %r12 1d: 41 bc 01 00 00 00 mov $0x1,%r12d 23: e8 93 e6 d6 07 callq 0x7d6e6bb 28: 85 c0 test %eax,%eax * 2a: 75 06 jne 0x32 <-- trapping instruction 2c: 44 89 e0 mov %r12d,%eax 2f: 41 5c pop %r12 31: c3 retq 32: e8 44 7c 00 00 callq 0x7c7b 37: 84 c0 test %al,%al 39: 74 41 je 0x7c 3b: e8 1b 9d 00 00 callq 0x9d5b