rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P2964/1:b..l (detected by 1, t=10502 jiffies, g=32769, q=38) task:udevd state:R running task stack:22176 pid: 2964 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6552 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6577 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] __d_lookup+0x5be/0x730 fs/dcache.c:2440 lookup_fast+0xdc/0x7b0 fs/namei.c:1621 walk_component+0x115/0x610 fs/namei.c:1972 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2455 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 do_readlinkat+0x114/0x3a0 fs/stat.c:442 __do_sys_readlink fs/stat.c:475 [inline] __se_sys_readlink fs/stat.c:472 [inline] __x64_sys_readlink+0x7b/0x90 fs/stat.c:472 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:0x7fa8dfa1bd47 RSP: 002b:00007fff5827f288 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007fff5827f298 RCX: 00007fa8dfa1bd47 RDX: 0000000000000400 RSI: 00007fff5827f298 RDI: 00007fff5827f778 RBP: 0000000000000400 R08: 000055b6e8350244 R09: 0000000000000000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fff5827f778 R13: 00007fff5827f6e8 R14: 000055b6e8341910 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10528 jiffies! g32769 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:26368 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: 7690 Comm: syz-executor.0 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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:212 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:156 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:263 [inline] RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:207 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 89 f6 31 d2 e9 4f 6c f2 02 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90000007e60 EFLAGS: 00000046 RAX: 0000000000090072 RBX: ffffffff8c3509a8 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 0000000000090072 RDI: 0000000000000838 RBP: 0000000000090072 R08: ffffffff81724b7d R09: fffffbfff1bc72a6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9a27240 R13: dffffc0000000000 R14: 0000000000090072 R15: dffffc0000000000 FS: 0000555556048480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b1df5aa12 CR3: 0000000074919000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:468 clockevents_program_event+0x1c5/0x310 kernel/time/clockevents.c:334 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1825 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 81 82 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ee 3a 3d f7 48 89 df e8 c6 8e 3e f7 e8 01 41 61 f7 fb bf 01 00 00 00 56 cb 31 f7 65 8b 05 27 f9 dc 75 85 c0 74 02 5b c3 e8 b4 10 db RSP: 0018:ffffc90003957bc0 EFLAGS: 00000282 RAX: 1fe76072127c5c00 RBX: ffff88801cf88940 RCX: ffffffff913c7f03 RDX: dffffc0000000000 RSI: ffffffff8a8b1500 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff8186b7c0 R09: ffffed10039f1129 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021 R13: dffffc0000000000 R14: ffff88801cf88dd8 R15: ffff88801cf88940 spin_unlock_irq include/linux/spinlock.h:413 [inline] get_signal+0x13ee/0x14e0 kernel/signal.c:2892 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4fbf9179ad Code: f2 73 17 66 2e 0f 1f 84 00 00 00 00 00 48 8b 70 f8 48 83 e8 08 48 39 f2 72 f3 48 39 c3 73 3e 48 89 33 48 83 c3 08 48 8b 70 f8 <48> 89 08 48 8b 0b 49 8b 14 24 eb bf 48 39 f2 72 97 48 39 f0 73 46 RSP: 002b:00007ffc44765670 EFLAGS: 00000206 RAX: 00007f4fbf4c9000 RBX: 00007f4fbf4bb6e8 RCX: ffffffff842b248f RDX: ffffffff842b22b0 RSI: ffffffff842b2471 RDI: 00007f4fbf4dd000 RBP: 00007f4fbf4aa1c8 R08: 00007f4fbf4c38e0 R09: 00000000000000ba R10: 0000000081724150 R11: 0000000000009eb4 R12: 00007f4fbf4aa1c0 R13: 000000000000001d R14: 00007f4fbfa7e000 R15: 00007f4fbfa8a018 sched: RT throttling activated