rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=226917, q=166 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4295254321-4295243818), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10504 jiffies! g226917 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:24464 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x30a/0x1500 kernel/rcu/tree.c:1631 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1830 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 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: 26468 Comm: syz-executor.0 Not tainted 6.7.0-rc4-syzkaller-00424-gc527f5606aa5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:kasan_check_range+0x1b8/0x290 mm/kasan/generic.c:187 Code: 4d 01 fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a2 00 00 00 49 ff c3 48 ff cd 75 ee 5b <41> 5c 41 5e 41 5f 5d c3 40 84 ed 75 5f f7 c5 00 ff 00 00 75 5c f7 RSP: 0018:ffffc900001f08c8 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000020 RCX: ffffffff816d364d RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90dd8360 RBP: 0000000000000000 R08: ffffffff90dd8367 R09: 1ffffffff21bb06c R10: dffffc0000000000 R11: fffffbfff21bb06d R12: 0000000000000002 R13: ffff888052b546b0 R14: dffffc0000000001 R15: fffffbfff21bb06d FS: 00007ffaf2d8a6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffaf2d89f00 CR3: 000000004af9d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] check_wait_context kernel/locking/lockdep.c:4798 [inline] __lock_acquire+0x86d/0x1fd0 kernel/locking/lockdep.c:5087 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 __lock_task_sighand+0x149/0x2d0 kernel/signal.c:1422 lock_task_sighand include/linux/sched/signal.h:745 [inline] send_sigqueue+0x25c/0x760 kernel/signal.c:1996 posix_timer_event kernel/time/posix-timers.c:298 [inline] posix_timer_fn+0x18a/0x390 kernel/time/posix-timers.c:324 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x59f/0xd20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x104/0x3a0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x92/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 00 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 3a 40 4b f6 48 89 df e8 32 7b 4c f6 e8 1d 4b 73 f6 fb bf 01 00 00 00 52 a0 3e f6 65 8b 05 73 ab e1 74 85 c0 74 02 5b c3 e8 40 79 de RSP: 0018:ffffc90004f5fc50 EFLAGS: 00000282 RAX: 6983fe1314f42b00 RBX: ffff88802523ae40 RCX: ffffffff925d0303 RDX: dffffc0000000000 RSI: ffffffff8b6aaee0 RDI: 0000000000000001 RBP: ffffc90004f5fd90 R08: ffffffff8f00c22f R09: 1ffffffff1e01845 R10: dffffc0000000000 R11: fffffbfff1e01846 R12: 1ffff11004a4765b R13: 000000001c000004 R14: 0000000000000021 R15: ffff88802523b2d8 spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1569/0x1840 kernel/signal.c:2907 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x150 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x69/0x2a0 kernel/entry/common.c:296 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7ffaf207cba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffaf2d8a0c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007ffaf219bf80 RCX: 00007ffaf207cba9 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffaf20c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ffaf219bf80 R15: 00007fff05cb8348