rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6087/1:b..l rcu: (detected by 1, t=10502 jiffies, g=13237, q=767 ncpus=2) task:rm state:R running task stack:25032 pid:6087 tgid:6087 ppid:6057 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1a1d/0x4bb0 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5b/0x80 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x540 kernel/locking/lockdep.c:5763 Code: 2b 00 74 08 4c 89 f7 e8 ca b4 87 00 f6 44 24 61 02 0f 85 81 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900030ef6e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200061dee8 RCX: ffffffff816de172 RDX: 0000000000000000 RSI: ffffffff8b8accc0 RDI: ffffffff8bdb95a0 RBP: ffffc900030ef828 R08: dffffc0000000000 R09: 1ffffffff25578e8 R10: dffffc0000000000 R11: fffffbfff25578e9 R12: 1ffff9200061dee4 R13: dffffc0000000000 R14: ffffc900030ef740 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] is_bpf_text_address+0x46/0x2a0 kernel/bpf/core.c:767 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x12/0x30 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2252 [inline] slab_free mm/slub.c:4473 [inline] kmem_cache_free+0x126/0x310 mm/slub.c:4548 vfs_fstatat+0x14f/0x190 fs/stat.c:342 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:499 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x82/0x160 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f20291618a9 RSP: 002b:00007ffd43988198 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f202913d000 RCX: 00007f20291618a9 RDX: 00007ffd43988240 RSI: 00007ffd439881a0 RDI: 00000000ffffff9c RBP: 00007ffd43988300 R08: 0000000000080000 R09: 00007ffd439881a0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd439881a0 R13: 0000000000000003 R14: 00007f2029173a40 R15: 00000000ffffffff rcu: rcu_preempt kthread starved for 10540 jiffies! g13237 f0x0 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:26728 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1a1d/0x4bb0 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1320 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6092 Comm: syz.1.27 Not tainted 6.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:269 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:209 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc f3 0f 1e fa 89 f6 31 d2 e9 c3 35 61 03 0f 1f RSP: 0018:ffffc9000377f978 EFLAGS: 00000046 RAX: 000000000000003e RBX: 00000000100069b2 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 000000000000003e RDI: 0000000000000838 RBP: 0000000000000020 R08: ffffffff818212b8 R09: 1ffffffff1ed4f0d R10: dffffc0000000000 R11: ffffffff813e4770 R12: 000000000000003e R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b9428358 FS: 00007f7bbbc256c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 00000000658be000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:410 [inline] lapic_next_event+0x11/0x20 arch/x86/kernel/apic/apic.c:415 clockevents_program_min_delta+0x1b2/0x420 kernel/time/clockevents.c:248 hrtimer_start_range_ns+0xae4/0xca0 kernel/time/hrtimer.c:1303 posixtimer_rearm+0x1b2/0x3f0 kernel/time/posix-timers.c:267 dequeue_signal+0x249/0x5a0 kernel/signal.c:696 get_signal+0x5fc/0x1730 kernel/signal.c:2796 arch_do_signal_or_restart+0x96/0x830 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc8/0x360 kernel/entry/common.c:218 do_syscall_64+0x8e/0x160 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f7bbad79e79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7bbbc250e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f7bbaf15f88 RCX: 00007f7bbad79e79 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f7bbaf15f8c RBP: 00007f7bbaf15f80 R08: 7fffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7bbaf15f8c R13: 0000000000000000 R14: 00007fff7a8140f0 R15: 00007fff7a8141d8 sched: RT throttling activated