rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=c194/1/0x4000000000000000 softirq=88921/88925 fqs=3 (detected by 0, t=10503 jiffies, g=114369, q=127 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3003 Comm: udevd Not tainted 6.1.71-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__lock_acquire+0x1278/0x1f80 kernel/locking/lockdep.c:5052 Code: 24 20 44 89 f2 48 89 e9 e8 f5 9f 00 00 31 f6 85 c0 0f 84 9e 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 8b 44 24 50 80 3c 10 00 <48> 8b 5c 24 60 74 12 48 89 df e8 89 8d 77 00 48 ba 00 00 00 00 00 RSP: 0018:ffffc900001e0a60 EFLAGS: 00000046 RAX: 1ffff1100fa1d8ca RBX: ffffffff902162e0 RCX: ffffffff816b0702 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff904903a0 RBP: ac7a3f7866c29538 R08: dffffc0000000000 R09: fffffbfff2092075 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807d0ec658 R13: ffff88807d0ebb80 R14: 0000000000000001 R15: 1ffff1100fa1d8d5 FS: 00007f53b74b7c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005595c6e99968 CR3: 00000000283ac000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 000000000000000a DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] advance_sched+0x47/0x970 net/sched/sch_taprio.c:700 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:native_irq_enable arch/x86/include/asm/irqflags.h:45 [inline] RIP: 0010:arch_local_irq_enable arch/x86/include/asm/irqflags.h:80 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:138 [inline] RIP: 0010:___slab_alloc+0x602/0x1270 mm/slub.c:3165 Code: f7 c5 00 02 00 00 8b 14 24 0f 84 6d fa ff ff fb e9 67 fa ff ff e8 de 30 a9 08 f7 c3 00 02 00 00 0f 84 e1 fe ff ff fb 8b 2c 24 84 fa ff ff 8b 7c 24 14 e8 c0 ad f4 ff 84 c0 0f 85 a7 fb ff ff RSP: 0018:ffffc9000316fa50 EFLAGS: 00000206 RAX: 38630fc94ccebc00 RBX: 0000000000000286 RCX: ffffffff816abaca RDX: dffffc0000000000 RSI: ffffffff8aebe6c0 RDI: ffffffff8b3cf940 RBP: 00000000ffffffff R08: dffffc0000000000 R09: fffffbfff2092058 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807d0ebb80 R13: ffff88801244c280 R14: ffffffff7fff0000 R15: ffffffff81e13534 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] __kmem_cache_alloc_node+0x19f/0x260 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:954 [inline] __kmalloc_node+0xa2/0x230 mm/slab_common.c:962 kmalloc_node include/linux/slab.h:579 [inline] kvmalloc_node+0x6e/0x180 mm/util.c:581 kvmalloc include/linux/slab.h:706 [inline] seq_buf_alloc fs/seq_file.c:38 [inline] seq_read_iter+0x1fe/0xd10 fs/seq_file.c:210 call_read_iter include/linux/fs.h:2242 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x7de/0xbe0 fs/read_write.c:470 ksys_read+0x19c/0x2c0 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f53b7116b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffc7c6e52f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00005595c6e9dfd0 RCX: 00007f53b7116b6a RDX: 0000000000001000 RSI: 00005595c6e98950 RDI: 000000000000000c RBP: 00005595c6e9dfd0 R08: 000000000000000c R09: 0000000000000020 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffc7c6e57d8 R15: 000000000000000a rcu: rcu_preempt kthread starved for 10490 jiffies! g114369 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:26680 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1674 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1873 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 11509 Comm: kworker/u4:18 Not tainted 6.1.71-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fb0/0x3460 kernel/smp.c:998 Code: 2f 44 89 ee 83 e6 01 31 ff e8 0c 43 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 97 3f 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc9000561f5a0 EFLAGS: 00000293 RAX: ffffffff817f558b RBX: 1ffff11017328031 RCX: ffff888020318000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000561f980 R08: ffffffff817f5554 R09: fffffbfff2092045 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940188 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa0f0a87e0 CR3: 000000000ce8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 00000000000000ad DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1329 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1529 text_poke_flush arch/x86/kernel/alternative.c:1720 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1727 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306