rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (2 ticks this GP) idle=709c/1/0x4000000000000000 softirq=59956/59958 fqs=1 rcu: (detected by 0, t=10506 jiffies, g=97733, q=119 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14796 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-00113-g49a73b1652c5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:validate_chain+0x39/0x58e0 kernel/locking/lockdep.c:3825 Code: 54 53 48 83 e4 e0 48 81 ec c0 02 00 00 49 89 ce 89 54 24 50 48 89 7c 24 78 65 48 8b 04 25 28 00 00 00 48 89 84 24 a0 02 00 00 <49> bc 00 00 00 00 00 fc ff df 48 c7 84 24 00 01 00 00 b3 8a b5 41 RSP: 0018:ffffc90000a08720 EFLAGS: 00000082 RAX: 4f6380c5c74b5300 RBX: ffffffff92be5e08 RCX: 58cce5e7c8d5ebdc RDX: 0000000000000001 RSI: ffff888021c8a8d8 RDI: ffff888021c89e00 RBP: ffffc90000a08a20 R08: ffffffff92efe507 R09: 1ffffffff25dfca0 R10: dffffc0000000000 R11: fffffbfff25dfca1 R12: ffff888021c89e00 R13: ffff888021c89e00 R14: 58cce5e7c8d5ebdc R15: ffff888021c89e00 FS: 0000555580d3b480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0584c59d58 CR3: 000000006b146000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] advance_sched+0xa1e/0xca0 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5283 Code: c9 50 e8 39 d4 0b 00 48 83 c4 08 4c 89 f7 e8 9d 38 00 00 0f 1f 44 00 00 4c 89 f7 e8 e0 ad 1b 0a e8 2b 95 36 00 fb 48 8b 5d c0 <48> 8d bb f0 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc90012fdf968 EFLAGS: 00000286 RAX: 4f6380c5c74b5300 RBX: ffff888021c89e00 RCX: ffffffff946f6603 RDX: dffffc0000000000 RSI: ffffffff8bcab8a0 RDI: ffffffff8c1eaaa0 RBP: ffffc90012fdf9b0 R08: ffffffff8fa7cdaf R09: 1ffffffff1f4f9b5 R10: dffffc0000000000 R11: fffffbfff1f4f9b6 R12: 1ffff110172a7e77 R13: dffffc0000000000 R14: ffff8880b953e640 R15: ffff8880b953f3b8 context_switch kernel/sched/core.c:5412 [inline] __schedule+0x179e/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2051 hrtimer_nanosleep+0x227/0x470 kernel/time/hrtimer.c:2104 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f51c86a9135 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffeef5d5660 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000049 RCX: 00007f51c86a9135 RDX: 00007ffeef5d56a0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffeef5d572c R08: 0000000000000000 R09: 00007f51c93e80b0 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000ce147 R14: 00000000000ce00a R15: 000000000000000e rcu: rcu_preempt kthread starved for 10500 jiffies! g97733 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:24496 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f0/0x390 kernel/kthread.c:388 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: CPU: 0 PID: 34 Comm: kworker/u8:2 Not tainted 6.9.0-rc6-syzkaller-00113-g49a73b1652c5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 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 a4 d6 RSP: 0018:ffffc90000aa76e0 EFLAGS: 00000293 RAX: ffffffff818a392c RBX: 1ffff110172a8861 RCX: ffff8880176fbc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000aa78e0 R08: ffffffff818a38fb R09: 1ffffffff25dfca0 R10: dffffc0000000000 R11: fffffbfff25dfca1 R12: dffffc0000000000 R13: ffff8880b9544308 R14: ffff8880b943f780 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd439e17d58 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2086 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3348 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244