rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=6457, q=6 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294967134-4294956632), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g6457 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:26144 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2183 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 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: 5126 Comm: syz-executor204 Not tainted 6.8.0-rc6-syzkaller-00250-g04b8076df253 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:mark_lock+0xa2/0x350 kernel/locking/lockdep.c:4656 Code: 00 8b 1b 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 20 d4 c8 92 be 08 00 00 00 e8 36 04 84 00 48 0f a3 1d de 4a 57 11 <73> 10 48 69 c3 c8 00 00 00 48 8d 98 20 33 97 92 eb 68 48 c7 c0 c0 RSP: 0018:ffffc900001f0ae8 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000050 RCX: ffffffff8171893a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92c8d428 RBP: 0000000000000001 R08: ffffffff92c8d42f R09: 1ffffffff2591a85 R10: dffffc0000000000 R11: fffffbfff2591a86 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000002 R15: ffff888029432880 FS: 000055555672d3c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 0000000077568000 CR4: 0000000000350ef0 Call Trace: mark_usage kernel/locking/lockdep.c:4555 [inline] __lock_acquire+0xb42/0x1fd0 kernel/locking/lockdep.c:5091 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 seqcount_lockdep_reader_access+0xfc/0x220 include/linux/seqlock.h:72 ktime_get+0x35/0x280 kernel/time/timekeeping.c:846 clockevents_program_event+0xe6/0x350 kernel/time/clockevents.c:326 hrtimer_interrupt+0x54a/0x990 kernel/time/hrtimer.c:1828 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x109/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: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 da 5b ff f5 48 89 df e8 92 9b 00 f6 e8 ad ba 28 f6 fb bf 01 00 00 00 62 6c f2 f5 65 8b 05 e3 dd 91 74 85 c0 74 06 5b e9 71 40 00 00 RSP: 0018:ffffc900044dfc70 EFLAGS: 00000282 RAX: 089ae0e8c19ad500 RBX: ffff888028091bc0 RCX: ffffffff94485303 RDX: dffffc0000000000 RSI: ffffffff8baab660 RDI: 0000000000000001 RBP: ffffc900044dfdb0 R08: ffffffff8f856c6f R09: 1ffffffff1f0ad8d R10: dffffc0000000000 R11: fffffbfff1f0ad8e R12: 1ffff1100501240b R13: 000000001c000004 R14: 0000000000000021 R15: ffff888028092058 spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x156d/0x1850 kernel/signal.c:2896 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xc8/0x360 kernel/entry/common.c:212 do_syscall_64+0x108/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f86c40744a9 Code: 16 40 50 0f 11 00 48 89 50 50 48 8b 50 10 48 89 78 10 48 89 50 40 48 89 d7 eb b2 66 0f 1f 44 00 00 64 48 8b 0c 25 10 00 00 00 <8b> 91 08 03 00 00 48 8d b9 08 03 00 00 89 d6 83 ce 02 39 d6 74 21 RSP: 002b:00007fffac9e72e8 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000055555672d3c0 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fffac9e7380 R15: 00007fffac9e7370 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.757 msecs