rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=29457, q=104) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294973896-4294963394), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g29457 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:27000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 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:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 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: 2963 Comm: udevd Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:do_raw_spin_lock+0x1d4/0x370 kernel/locking/spinlock_debug.c:118 Code: fc ff df 48 8b 44 24 28 48 89 03 48 c7 44 24 40 0e 36 e0 45 48 8b 44 24 38 48 c7 04 02 00 00 00 00 65 48 8b 04 25 28 00 00 00 <48> 3b 84 24 80 00 00 00 0f 85 7c 01 00 00 48 8d 65 d8 5b 41 5c 41 RSP: 0018:ffffc90000007be0 EFLAGS: 00000046 RAX: ae374415b7036000 RBX: ffff8880b9a2a210 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc90000007c40 RBP: ffffc90000007cb0 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8880b9a2a200 R13: 1ffff92000000f88 R14: ffffc90000007c40 R15: 1ffff11017345441 FS: 00007f686555ac80(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f00a4a57988 CR3: 0000000022664000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:129 [inline] _raw_spin_lock_irq+0xdb/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x662/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:jhash2 include/linux/jhash.h:139 [inline] RIP: 0010:hash_stack lib/stackdepot.c:180 [inline] RIP: 0010:stack_depot_save+0xeb/0x440 lib/stackdepot.c:272 Code: f8 01 75 11 eb 22 4c 89 e6 44 89 f8 44 89 ff 41 83 f8 01 74 13 41 83 f8 02 74 0a 41 83 f8 03 75 4e 44 03 7e 08 03 7e 04 03 06 <41> 31 ff 89 f9 c1 c1 0e 41 29 cf 44 31 f8 44 89 f9 c1 c1 0b 29 c8 RSP: 0018:ffffc90002d979a0 EFLAGS: 00000213 RAX: 0000000038fc888a RBX: 000000009b9376c4 RCX: 000000008a8202d9 RDX: 0000000000000cc0 RSI: ffffc90002d97a3c RDI: 00000000eca92936 RBP: 00000000bd7442ca R08: 0000000000000001 R09: fffffbfff1bc71b6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002d97a00 R13: 0000000000000cc0 R14: 0000000000000008 R15: 00000000b0480862 kasan_save_stack mm/kasan/common.c:40 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0xa5/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 getname_flags+0xb8/0x4e0 fs/namei.c:138 do_sys_openat2+0xd2/0x500 fs/open.c:1205 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1238 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f68656859a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffed5bd4360 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000560e5fe5f040 RCX: 00007f68656859a4 RDX: 0000000000080141 RSI: 0000560e5fe420d8 RDI: 00000000ffffff9c RBP: 0000560e5fe420d8 R08: 00000000ffffffff R09: 0000000000000000 R10: 00000000000001a4 R11: 0000000000000246 R12: 0000000000080141 R13: ffffffffffffffff R14: 00000000ffffffff R15: 00000000ffffffff