rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 ticks this GP) idle=45ac/1/0x4000000000000000 softirq=18087/18087 fqs=0 (t=10965 jiffies g=21817 q=1290 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 10964 jiffies! g21817 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=9450 rcu: rcu_preempt kthread starved for 10965 jiffies! g21817 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 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:I stack:26816 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:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 5992 Comm: syz-executor.3 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__phys_addr+0x47/0x170 arch/x86/mm/physaddr.c:28 Code: 4c 00 4c 89 f3 48 81 eb 00 00 00 80 0f 83 90 00 00 00 48 b8 00 00 00 00 80 77 00 00 49 01 c6 4c 89 f7 48 89 de e8 89 dd 4c 00 <49> 39 de 0f 87 fc 00 00 00 48 c7 c0 ad 81 73 8e 48 c1 e8 03 48 b9 RSP: 0018:ffffc9000a60f770 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880d1571100 RCX: ffff88807853d940 RDX: 0000000000000000 RSI: ffff8880d1571100 RDI: 0000000051571100 RBP: dffffc0000000000 R08: ffffffff813db1a7 R09: fffffbfff1ce712e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000dc0 R14: 0000000051571100 R15: 0000000000000000 FS: 0000555556616480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fbe5b5988 CR3: 00000000166f2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_folio include/linux/mm.h:898 [inline] virt_to_slab mm/kasan/../slab.h:175 [inline] qlink_to_cache+0x5/0xa0 mm/kasan/quarantine.c:131 qlist_free_all+0x3b/0xe0 mm/kasan/quarantine.c:184 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x10c/0x2d0 mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:682 [inline] taskstats_tgid_alloc kernel/taskstats.c:583 [inline] taskstats_exit+0xcb/0x920 kernel/taskstats.c:622 do_exit+0x9f1/0x26a0 kernel/exit.c:854 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 get_signal+0x16f7/0x17d0 kernel/signal.c:2862 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f06756a8375 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:00007ffe9d1e64e0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 00007f06757b3f80 RCX: 00007f06756a8375 RDX: 00007ffe9d1e6520 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f06757b5980 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000002eefc R13: 00007f06757b3f8c R14: 0000000000000032 R15: 00007f06757b5980 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_preemption_disabled+0x2/0x110 lib/smp_processor_id.c:13 Code: 1c 8d 48 89 de e8 8e 67 d8 f9 e9 6d ff ff ff cc cc cc cc cc cc cc cc cc 48 c7 c7 80 45 3d 8b 48 c7 c6 c0 45 3d 8b eb 00 41 57 <41> 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 RSP: 0018:ffffc90000007c90 EFLAGS: 00000002 RAX: 0000000000010001 RBX: ffffffff88b4eb30 RCX: ffff888018ec3b80 RDX: ffff888018ec3b80 RSI: ffffffff8b3d45c0 RDI: ffffffff8b3d4580 RBP: 0000000000000001 R08: ffffffff88b4eb60 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888061384000 R13: ffff888061384360 R14: dffffc0000000000 R15: 17d6552f2210d800 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd86a177440 CR3: 000000000ce8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x11/0xb0 kernel/rcu/tree.c:721 rcu_read_lock include/linux/rcupdate.h:792 [inline] advance_sched+0x709/0x970 net/sched/sch_taprio.c:753 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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: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 ec 42 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 77 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:ffffc90000b775a0 EFLAGS: 00000293 RAX: ffffffff817f4dfb RBX: 1ffff110173281b1 RCX: ffff888018ec3b80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000b77980 R08: ffffffff817f4dc4 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940d88 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 text_poke_bp_batch+0x860/0x940 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 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:308 CPU: 1 PID: 5992 Comm: syz-executor.3 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__phys_addr+0x47/0x170 arch/x86/mm/physaddr.c:28 Code: 4c 00 4c 89 f3 48 81 eb 00 00 00 80 0f 83 90 00 00 00 48 b8 00 00 00 00 80 77 00 00 49 01 c6 4c 89 f7 48 89 de e8 89 dd 4c 00 <49> 39 de 0f 87 fc 00 00 00 48 c7 c0 ad 81 73 8e 48 c1 e8 03 48 b9 RSP: 0018:ffffc9000a60f770 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880d1571100 RCX: ffff88807853d940 RDX: 0000000000000000 RSI: ffff8880d1571100 RDI: 0000000051571100 RBP: dffffc0000000000 R08: ffffffff813db1a7 R09: fffffbfff1ce712e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000dc0 R14: 0000000051571100 R15: 0000000000000000 FS: 0000555556616480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fbe5b5988 CR3: 00000000166f2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_folio include/linux/mm.h:898 [inline] virt_to_slab mm/kasan/../slab.h:175 [inline] qlink_to_cache+0x5/0xa0 mm/kasan/quarantine.c:131 qlist_free_all+0x3b/0xe0 mm/kasan/quarantine.c:184 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x10c/0x2d0 mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:682 [inline] taskstats_tgid_alloc kernel/taskstats.c:583 [inline] taskstats_exit+0xcb/0x920 kernel/taskstats.c:622 do_exit+0x9f1/0x26a0 kernel/exit.c:854 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 get_signal+0x16f7/0x17d0 kernel/signal.c:2862 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f06756a8375 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:00007ffe9d1e64e0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 00007f06757b3f80 RCX: 00007f06756a8375 RDX: 00007ffe9d1e6520 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f06757b5980 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000002eefc R13: 00007f06757b3f8c R14: 0000000000000032 R15: 00007f06757b5980