rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10503 jiffies, g=69245, q=139 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4295027357-4295016854), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10503 jiffies! g69245 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:24912 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 29 Comm: kauditd Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] RIP: 0010:_raw_spin_lock_irq+0xbc/0x120 kernel/locking/spinlock.c:170 Code: 74 08 4c 89 f7 e8 d4 ac 2d f6 8b 44 24 20 fa a9 00 02 00 00 74 05 e8 63 af cb f5 bf 01 00 00 00 e8 09 3b 92 f5 49 8d 7c 24 18 <31> f6 31 d2 31 c9 41 b8 01 00 00 00 45 31 c9 ff 75 08 e8 cd 53 9f RSP: 0018:ffffc90000007cc0 EFLAGS: 00000002 RAX: 0000000000010002 RBX: 1ffff92000000f9c RCX: ffffffff9a3d4903 RDX: 0000000000010000 RSI: ffffffff8c610840 RDI: ffff8880b862c898 RBP: ffffc90000007d50 R08: ffffffff818236b6 R09: 1ffffffff203a11d R10: dffffc0000000000 R11: fffffbfff203a11e R12: ffff8880b862c880 R13: 1ffff92000000f98 R14: ffffc90000007ce0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001b00 CR3: 0000000060efe000 CR4: 0000000000350ef0 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1695 [inline] __hrtimer_run_queues+0x670/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x996/0xeb0 Code: 48 21 c3 0f 85 16 02 00 00 e8 26 7d 20 00 4c 8b 7c 24 10 4d 85 f6 75 07 e8 17 7d 20 00 eb 06 e8 10 7d 20 00 fb 48 8b 5c 24 18 <48> 8b 44 24 30 42 80 3c 28 00 74 08 48 89 df e8 f6 42 8a 00 4c 8b RSP: 0018:ffffc90000a57820 EFLAGS: 00000293 RAX: ffffffff81745d50 RBX: ffffffff8f182458 RCX: ffff88801ee89e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000a579d0 R08: ffffffff81745d27 R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: ffffffff8f182400 R13: dffffc0000000000 R14: 0000000000000200 R15: ffffc90000a57a20 __console_flush_and_unlock kernel/printk/printk.c:3239 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3279 vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2407 _printk+0xd5/0x120 kernel/printk/printk.c:2432 kauditd_printk_skb kernel/audit.c:546 [inline] kauditd_hold_skb+0x1be/0x210 kernel/audit.c:581 kauditd_send_queue+0x2b3/0x310 kernel/audit.c:766 kauditd_thread+0x74a/0x9b0 kernel/audit.c:890 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 watchdog: BUG: soft lockup - CPU#1 stuck for 225s! [kworker/u8:0:11] Modules linked in: irq event stamp: 11436008 hardirqs last enabled at (11436007): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (11436008): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (11436000): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (11436000): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (11436000): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 softirqs last disabled at (11435929): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (11435929): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (11435929): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 CPU: 1 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f8/0x2ca0 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 86 f3 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 31 ef 0b 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 15 ef 0b 00 eb e4 44 RSP: 0018:ffffc900001076e0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110170c8ca1 RCX: ffff88801c2abc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900001078e0 R08: ffffffff8188eb1a R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: dffffc0000000000 R13: ffff8880b8646508 R14: ffff8880b873fc80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6ba7bd0000 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x726/0xb30 arch/x86/kernel/alternative.c:2357 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xd2/0x1c0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 toggle_allocation_gate+0x1bf/0x260 mm/kfence/core.c:854 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 29 Comm: kauditd Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__remove_hrtimer kernel/time/hrtimer.c:1119 [inline] RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1671 [inline] RIP: 0010:__hrtimer_run_queues+0x41b/0xd50 kernel/time/hrtimer.c:1755 Code: 0f 85 7c 05 00 00 44 8b 2b bf 20 00 00 00 44 89 ee e8 09 aa 12 00 49 83 fd 1f 0f 87 9d 05 00 00 e8 ba a5 12 00 bb fe ff ff ff <44> 89 e9 d3 c3 49 83 c7 44 4c 89 f8 48 c1 e8 03 49 bd 00 00 00 00 RSP: 0018:ffffc90000007d60 EFLAGS: 00000006 RAX: ffffffff818234a6 RBX: 00000000fffffffe RCX: ffff88801ee89e00 RDX: 0000000000010000 RSI: 0000000000000001 RDI: 0000000000000020 RBP: ffffc90000007ea8 R08: ffffffff81823497 R09: 1ffffffff203a11d R10: dffffc0000000000 R11: fffffbfff203a11e R12: 1ffff110170c593b R13: 0000000000000001 R14: ffff88807cd4d340 R15: ffff8880b862c880 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001b00 CR3: 0000000060efe000 CR4: 0000000000350ef0 Call Trace: hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x996/0xeb0 Code: 48 21 c3 0f 85 16 02 00 00 e8 26 7d 20 00 4c 8b 7c 24 10 4d 85 f6 75 07 e8 17 7d 20 00 eb 06 e8 10 7d 20 00 fb 48 8b 5c 24 18 <48> 8b 44 24 30 42 80 3c 28 00 74 08 48 89 df e8 f6 42 8a 00 4c 8b RSP: 0018:ffffc90000a57820 EFLAGS: 00000293 RAX: ffffffff81745d50 RBX: ffffffff8f182458 RCX: ffff88801ee89e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000a579d0 R08: ffffffff81745d27 R09: 1ffffffff2859b00 R10: dffffc0000000000 R11: fffffbfff2859b01 R12: ffffffff8f182400 R13: dffffc0000000000 R14: 0000000000000200 R15: ffffc90000a57a20 __console_flush_and_unlock kernel/printk/printk.c:3239 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3279 vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2407 _printk+0xd5/0x120 kernel/printk/printk.c:2432 kauditd_printk_skb kernel/audit.c:546 [inline] kauditd_hold_skb+0x1be/0x210 kernel/audit.c:581 kauditd_send_queue+0x2b3/0x310 kernel/audit.c:766 kauditd_thread+0x74a/0x9b0 kernel/audit.c:890 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244