rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=01ac/1/0x4000000000000000 softirq=59395/59397 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P21679/1:b..l rcu: (detected by 1, t=10502 jiffies, g=80329, q=99 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4497 Comm: udevd Not tainted 6.5.0-next-20230830-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x42/0x70 kernel/locking/spinlock.c:194 Code: 26 f7 48 89 df e8 ee 88 26 f7 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f bf 01 00 00 00 e8 f5 f1 17 f7 65 8b 05 b6 30 c1 75 <85> c0 74 12 5b 5d c3 e8 52 02 4c f7 9c 58 f6 c4 02 75 12 fb eb d9 RSP: 0018:ffffc90000007e28 EFLAGS: 00000097 RAX: 0000000080010000 RBX: ffff8880b982b940 RCX: 0000000000000000 RDX: 0000000000010001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000000046 R08: 0000000000000000 R09: ffffed1017305728 R10: ffff8880b982b943 R11: ffffc90000007ff8 R12: ffff8880b982b940 R13: 1809aa94c1b8f890 R14: ffff888044ca5340 R15: ffffffff88651670 FS: 00007f8edf0f7c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00e4d2000 CR3: 0000000025603000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1684 [inline] __hrtimer_run_queues+0x58b/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:_compound_head include/linux/page-flags.h:249 [inline] RIP: 0010:virt_to_folio include/linux/mm.h:1274 [inline] RIP: 0010:virt_to_slab mm/kasan/../slab.h:213 [inline] RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:129 [inline] RIP: 0010:qlist_free_all+0xa2/0x170 mm/kasan/quarantine.c:182 Code: ed 49 89 ef 75 ae 4c 89 f7 e8 ea e8 5d ff 48 c1 e8 0c 48 89 c3 48 b8 00 00 00 00 00 ea ff ff 48 c1 e3 06 48 01 c3 48 8b 43 08 01 0f 85 b7 00 00 00 0f 1f 44 00 00 48 89 df e8 09 ff ff ff 48 RSP: 0018:ffffc90003187c78 EFLAGS: 00000286 RAX: ffff888016ec6640 RBX: ffffea0001dd5bc0 RCX: 0000000000000000 RDX: ffff88807cc0bb80 RSI: ffffffff813b9736 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90003187cb8 R14: ffff88807756f840 R15: 0000000000000000 kasan_quarantine_reduce+0x18b/0x1d0 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook mm/slab.h:762 [inline] slab_alloc_node mm/slub.c:3478 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x172/0x3b0 mm/slub.c:3502 getname_flags.part.0+0x50/0x4d0 fs/namei.c:140 getname_flags include/linux/audit.h:319 [inline] getname+0x90/0xe0 fs/namei.c:219 do_sys_openat2+0x100/0x1e0 fs/open.c:1416 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8eded169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd968d3e00 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f8eded169a4 RDX: 0000000000080241 RSI: 00007ffd968d4238 RDI: 00000000ffffff9c RBP: 00007ffd968d4238 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 000056397fc6272e R14: 0000000000000001 R15: 0000000000000000 task:syz-executor.1 state:R running task stack:27784 pid:21679 ppid:20989 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6864 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1525 [inline] zap_pmd_range mm/memory.c:1573 [inline] zap_pud_range mm/memory.c:1602 [inline] zap_p4d_range mm/memory.c:1623 [inline] unmap_page_range+0x1475/0x2c10 mm/memory.c:1644 unmap_single_vma+0x194/0x2b0 mm/memory.c:1690 unmap_vmas+0x1e8/0x330 mm/memory.c:1731 exit_mmap+0x1ad/0xa60 mm/mmap.c:3210 __mmput+0x12a/0x4d0 kernel/fork.c:1349 mmput+0x62/0x70 kernel/fork.c:1371 exit_mm kernel/exit.c:567 [inline] do_exit+0x9b4/0x2a20 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23d1/0x27b0 kernel/signal.c:2892 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f43d687cae9 RSP: 002b:00007f43d752b178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f43d699bf88 RCX: 00007f43d687cae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f43d699bf88 RBP: 00007f43d699bf80 R08: 00007f43d752b6c0 R09: 00007f43d752b6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f43d699bf8c R13: 000000000000000b R14: 00007ffd643c5270 R15: 00007ffd643c5358 rcu: rcu_preempt kthread starved for 10502 jiffies! g80329 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28304 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 3836 Comm: kworker/u4:10 Not tainted 6.5.0-next-20230830-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline] RIP: 0010:smp_call_function_many_cond+0x4d6/0x1570 kernel/smp.c:844 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 dc 8c 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31 RSP: 0018:ffffc9000db57928 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9844180 RCX: 0000000000000000 RDX: ffff888028b0bb80 RSI: ffffffff817c5294 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017308831 R13: 0000000000000001 R14: ffff8880b993d8c0 R15: ffff8880b9844188 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33221000 CR3: 000000000c976000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1990 [inline] text_poke_bp_batch+0x2ce/0x960 arch/x86/kernel/alternative.c:2200 text_poke_flush arch/x86/kernel/alternative.c:2391 [inline] text_poke_flush arch/x86/kernel/alternative.c:2388 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2398 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:830 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304