rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P19248/1:b..l rcu: (detected by 1, t=10502 jiffies, g=96045, q=347 ncpus=2) task:modprobe state:R running task stack:24528 pid:19248 tgid:19248 ppid:9646 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000382f708 EFLAGS: 00000206 RAX: 0ab1fb9a26dbfd00 RBX: 0000000000000001 RCX: ffff888023c31e00 RDX: 0000000000000000 RSI: ffffffff8bcaca20 RDI: ffffffff8c1f8260 RBP: 0000000000000000 R08: ffffffff8b780b75 R09: ffffffff8b780aab R10: 0000000000000004 R11: ffff888023c31e00 R12: 0000000000000246 R13: ffff888023c31e00 R14: 00000000ffffffff R15: ffff8880619914a0 lock_is_held include/linux/lockdep.h:231 [inline] mt_locked lib/maple_tree.c:781 [inline] mt_slot lib/maple_tree.c:788 [inline] mas_slot lib/maple_tree.c:821 [inline] mas_get_slot+0x15e/0x250 lib/maple_tree.c:7057 mt_validate+0x27d2/0x4aa0 lib/maple_tree.c:7596 validate_mm+0xe7/0x530 mm/mmap.c:288 mmap_region+0x199c/0x1e50 mm/mmap.c:2934 do_mmap+0x7af/0xe60 mm/mmap.c:1385 vm_mmap_pgoff+0x1e3/0x420 mm/util.c:573 ksys_mmap_pgoff+0x504/0x6e0 mm/mmap.c:1431 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:0x7fcb3e250b74 RSP: 002b:00007ffce1741bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffce1741c68 RCX: 00007fcb3e250b74 RDX: 0000000000000003 RSI: 0000000000004000 RDI: 00007fcb3e229000 RBP: 00007ffce1741f20 R08: 0000000000000000 R09: 00000000000be000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fcb3e22d0c0 R13: 00007ffce1741fa8 R14: 00000000000be138 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10497 jiffies! g96045 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:26040 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 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+0x2f2/0x390 kernel/kthread.c:388 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: CPU: 1 PID: 50 Comm: kworker/u8:3 Not tainted 6.9.0-rc7-syzkaller-00188-gba16c1cf11c9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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:ffffc90000ba76e0 EFLAGS: 00000293 RAX: ffffffff818a31dc RBX: 1ffff11017288c6d RCX: ffff88801b695a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000ba78e0 R08: ffffffff818a31ab R09: 1ffffffff25e6aa0 R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: dffffc0000000000 R13: ffff8880b9446368 R14: ffff8880b953f7c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c92c000 CR3: 000000000e134000 CR4: 0000000000350ef0 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+0x726/0xb30 arch/x86/kernel/alternative.c:2358 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+0xa12/0x17c0 kernel/workqueue.c:3348 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244