rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=137521, q=149 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295087959-4295077457), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g137521 f0x2 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:28248 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1999 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2187 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 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: 25907 Comm: syz-executor.2 Not tainted 5.19.0-rc5-syzkaller-00187-ge8a4e1c1bb69 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31 Code: 39 c7 73 0b 0f 0b 48 83 c4 60 5b 5d 41 5c c3 48 05 00 80 00 00 48 89 fb 48 39 c7 0f 82 65 7f 6d 07 eb e1 cc cc cc cc cc cc cc <48> 8b 0c 24 89 f6 31 d2 e9 b3 fa ff ff 0f 1f 00 48 8b 0c 24 89 f6 RSP: 0018:ffffc90000007948 EFLAGS: 00000056 RAX: 0000000000000000 RBX: 1ffff92000000f31 RCX: 0000000000000008 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90680900 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffffff90680907 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880252a4588 R13: 0000000000000008 R14: 0000000000000000 R15: ffff8880252a45a8 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000180 CR3: 0000000035389000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:227 [inline] mark_lock.part.0+0xee/0x1910 kernel/locking/lockdep.c:4610 mark_lock kernel/locking/lockdep.c:4596 [inline] mark_usage kernel/locking/lockdep.c:4553 [inline] __lock_acquire+0x8ab/0x5660 kernel/locking/lockdep.c:5007 lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:658 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xb02/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:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:stack_not_used include/linux/sched/task_stack.h:107 [inline] RIP: 0010:check_stack_usage kernel/exit.c:719 [inline] RIP: 0010:do_exit+0x184b/0x2a00 kernel/exit.c:839 Code: c1 ea 03 80 3c 02 00 0f 85 7b 0e 00 00 49 bd 00 00 00 00 00 fc ff df 4c 8b 63 20 4c 89 e3 e8 4c 67 32 00 48 83 c3 08 48 89 d8 <48> c1 e8 03 42 80 3c 28 00 0f 85 3a 0c 00 00 48 8b 2b 31 ff 48 89 RSP: 0018:ffffc9000370fe10 EFLAGS: 00000292 RAX: ffffc9000370b0b0 RBX: ffffc9000370b0b0 RCX: 0000000000000000 RDX: ffff8880252a3b00 RSI: ffffffff8147ff44 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffc90003708000 R13: dffffc0000000000 R14: ffff8880252a3b00 R15: ffffc9000370fe80 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 __do_sys_exit_group kernel/exit.c:936 [inline] __se_sys_exit_group kernel/exit.c:934 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:934 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+0x46/0xb0 RIP: 0033:0x7f119d489109 Code: Unable to access opcode bytes at RIP 0x7f119d4890df. RSP: 002b:00007ffc78470058 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f119d489109 RDX: 00007f119d43bd4b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00007f119d5a0160 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc78470140 ---------------- Code disassembly (best guess): 0: 39 c7 cmp %eax,%edi 2: 73 0b jae 0xf 4: 0f 0b ud2 6: 48 83 c4 60 add $0x60,%rsp a: 5b pop %rbx b: 5d pop %rbp c: 41 5c pop %r12 e: c3 retq f: 48 05 00 80 00 00 add $0x8000,%rax 15: 48 89 fb mov %rdi,%rbx 18: 48 39 c7 cmp %rax,%rdi 1b: 0f 82 65 7f 6d 07 jb 0x76d7f86 21: eb e1 jmp 0x4 23: cc int3 24: cc int3 25: cc int3 26: cc int3 27: cc int3 28: cc int3 29: cc int3 * 2a: 48 8b 0c 24 mov (%rsp),%rcx <-- trapping instruction 2e: 89 f6 mov %esi,%esi 30: 31 d2 xor %edx,%edx 32: e9 b3 fa ff ff jmpq 0xfffffaea 37: 0f 1f 00 nopl (%rax) 3a: 48 8b 0c 24 mov (%rsp),%rcx 3e: 89 f6 mov %esi,%esi