rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=3253, q=58) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294952444-4294941942), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g3253 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:26816 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 3580 Comm: syz-executor421 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:kasan_check_range+0x1/0x290 mm/kasan/generic.c:188 Code: 01 c6 48 89 c7 e8 9f c5 69 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 <41> 57 41 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 RSP: 0018:ffffc90002d67a48 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 00000000000000a1 RCX: ffffffff81631a88 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9070f0d0 RBP: 0000000000000008 R08: dffffc0000000000 R09: fffffbfff20e1e1b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000100 R15: ffff888078a9a8b0 FS: 00007f5cb4cc36c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5cb4cc2e40 CR3: 000000007daff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:197 [inline] mark_lock+0x98/0x340 kernel/locking/lockdep.c:4569 mark_usage kernel/locking/lockdep.c:4512 [inline] __lock_acquire+0xc97/0x1ff0 kernel/locking/lockdep.c:4966 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:388 [inline] __set_current_blocked+0x11b/0x2f0 kernel/signal.c:3083 __do_sys_rt_sigreturn+0x181/0x250 arch/x86/kernel/signal.c:672 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5cb4d199d9 Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25 RSP: 002b:00007f5cb4cc2c80 EFLAGS: 00000202 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007f5cb4d8c308 RCX: 00007f5cb4d199d9 RDX: 00007f5cb4cc2c80 RSI: 00007f5cb4cc2db0 RDI: 0000000000000021 RBP: 00007f5cb4d8c300 R08: 00007f5cb4cc36c0 R09: 00007f5cb4cc36c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f5cb4d8c30c R13: 0000000000000000 R14: 00007ffe9b5796d0 R15: 00007ffe9b5797b8