rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5451/1:b..l rcu: (detected by 0, t=10503 jiffies, g=13865, q=742 ncpus=2) task:modprobe state:R running task stack:27456 pid:5451 tgid:5451 ppid:4086 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x13/0x60 kernel/kcov.c:207 Code: 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 e4 ec 75 7e 65 8b 05 e5 ec 75 7e 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 1c 16 00 00 RSP: 0018:ffffc9000440f860 EFLAGS: 00000293 RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffffffff8ad6b0f3 RDX: ffff888023948000 RSI: 0000000000000005 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000005 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000005 R13: ffff88801d3915d0 R14: 0000000000000001 R15: ffff88801d3915d0 mas_slot lib/maple_tree.c:821 [inline] mt_validate_nulls+0x4e4/0x9e0 lib/maple_tree.c:7545 mt_validate+0x3148/0x4390 lib/maple_tree.c:7599 validate_mm+0x9c/0x4b0 mm/mmap.c:288 mmap_region+0x12ac/0x2740 mm/mmap.c:2979 do_mmap+0xbc7/0xf60 mm/mmap.c:1387 vm_mmap_pgoff+0x1ba/0x360 mm/util.c:573 ksys_mmap_pgoff+0x332/0x5d0 mm/mmap.c:1433 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa6f1d54b74 RSP: 002b:00007ffd0d1085e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffd0d108698 RCX: 00007fa6f1d54b74 RDX: 0000000000000003 RSI: 0000000000004000 RDI: 00007fa6f1d2d000 RBP: 00007ffd0d108950 R08: 0000000000000000 R09: 00000000000be000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fa6f1d310c0 R13: 00007ffd0d1089d8 R14: 00000000000be138 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10533 jiffies! g13865 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:27872 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5449 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline] RIP: 0010:check_preemption_disabled+0x2d/0xe0 lib/smp_processor_id.c:19 Code: 53 48 83 ec 08 65 8b 1d dd 57 1a 75 65 8b 05 d2 57 1a 75 a9 ff ff ff 7f 74 0f 48 83 c4 08 89 d8 5b 5d 41 5c c3 cc cc cc cc 9c <58> f6 c4 02 74 ea 65 48 8b 05 a5 57 1a 75 f6 40 2f 04 48 89 fd 74 RSP: 0018:ffffc900033efbe0 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b2cae60 RDI: ffffffff8b8feec0 RBP: ffffffff8dbb16a0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88807e7d8000 R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000000 FS: 000055556a0d5480(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3f64d29f00 CR3: 0000000079e28000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_is_held_type+0xdf/0x150 kernel/locking/lockdep.c:5826 lock_is_held include/linux/lockdep.h:231 [inline] __might_resched+0x4ca/0x5e0 kernel/sched/core.c:10158 __might_fault+0x83/0x190 mm/memory.c:6237 rseq_get_rseq_cs kernel/rseq.c:161 [inline] rseq_ip_fixup kernel/rseq.c:281 [inline] __rseq_handle_notify_resume+0x14a/0x1090 kernel/rseq.c:329 rseq_handle_notify_resume include/linux/rseq.h:38 [inline] rseq_signal_deliver include/linux/rseq.h:47 [inline] setup_rt_frame arch/x86/kernel/signal.c:212 [inline] handle_signal arch/x86/kernel/signal.c:267 [inline] arch_do_signal_or_restart+0x42c/0x7e0 arch/x86/kernel/signal.c:312 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3f6407cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc8818cb18 EFLAGS: 00000246 RAX: ffffffffffffff92 RBX: 0000000000021542 RCX: 00007f3f6407cee9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f3f641ac05c RBP: 00007ffc8818cc20 R08: 00007f3f64d4c080 R09: 000000000000109c R10: 00007ffc8818cc00 R11: 0000000000000246 R12: 0000000000021574 R13: 00007f3f641ac05c R14: 00007ffc8818cc00 R15: 0000000000000032