rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=048c/1/0x4000000000000000 softirq=22362/22366 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=16581, q=450 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6914 Comm: rm Not tainted 6.15.0-rc1-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:135 [inline] RIP: 0010:cpumask_check include/linux/cpumask.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:587 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1143 [inline] RIP: 0010:trace_hrtimer_start include/trace/events/timer.h:222 [inline] RIP: 0010:debug_activate kernel/time/hrtimer.c:485 [inline] RIP: 0010:enqueue_hrtimer+0x50/0x3c0 kernel/time/hrtimer.c:1088 Code: c6 40 da 4c 8c e8 40 52 5b 03 0f 1f 44 00 00 e8 d6 8c 12 00 65 8b 2d e3 d7 b7 11 bf 07 00 00 00 89 ee e8 03 91 12 00 83 fd 07 <0f> 87 66 01 00 00 e8 b5 8c 12 00 89 eb 48 89 d8 48 c1 e8 06 48 8d RSP: 0018:ffffc90000a08d08 EFLAGS: 00000097 RAX: 0000000000010000 RBX: 0000000000000000 RCX: ffff8880777c1e00 RDX: ffff8880777c1e00 RSI: 0000000000000001 RDI: 0000000000000007 RBP: 0000000000000001 R08: ffffffff81b0c85d R09: 1ffffffff353952e R10: dffffc0000000000 R11: fffffbfff353952f R12: dffffc0000000000 R13: ffff8880b87277c0 R14: ffff88805b72a340 R15: ffff8880b87276c0 FS: 00007fcd3f0e8380(0000) GS:ffff888125096000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f881fb81f98 CR3: 00000000560cc000 CR4: 0000000000350ef0 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1778 [inline] __hrtimer_run_queues+0x6d6/0xd40 kernel/time/hrtimer.c:1825 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:unwind_next_frame+0x1aa6/0x23b0 arch/x86/kernel/unwind_orc.c:680 Code: 25 48 8c be 66 03 00 00 48 c7 c2 60 26 48 8c e8 50 07 31 00 48 c7 c7 e0 df d3 8e 4c 89 fe e8 91 e9 30 00 e8 5c 6c 3b 00 89 e8 <48> 81 c4 a0 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 3f 2b a2 ff RSP: 0018:ffffc90002faf1a8 EFLAGS: 00000287 RAX: 0000000000000001 RBX: ffffc90002faf280 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8e4fd4cc RDI: ffffffff8ca1b620 RBP: dffffc0000000001 R08: ffffc90002faf8b0 R09: ffffc90002faf2d0 R10: dffffc0000000000 R11: fffff520005f5e5c R12: ffffc90002faf290 R13: dffffc0000000000 R14: ffffc90002faf8c0 R15: ffffffff816dfbc8 arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4151 [inline] kmem_cache_alloc_bulk_noprof+0x4fe/0x7c0 mm/slub.c:5375 mt_alloc_bulk lib/maple_tree.c:181 [inline] mas_alloc_nodes+0x39d/0x7e0 lib/maple_tree.c:1271 mas_node_count_gfp lib/maple_tree.c:1331 [inline] mas_preallocate+0x5ea/0x950 lib/maple_tree.c:5501 vma_iter_prealloc mm/vma.h:402 [inline] __split_vma+0x2f2/0xb20 mm/vma.c:490 split_vma mm/vma.c:553 [inline] vma_modify+0x280/0x390 mm/vma.c:1547 vma_modify_flags+0x3b2/0x430 mm/vma.c:1565 mprotect_fixup+0x445/0xa40 mm/mprotect.c:658 do_mprotect_pkey+0x99f/0xde0 mm/mprotect.c:832 __do_sys_mprotect mm/mprotect.c:853 [inline] __se_sys_mprotect mm/mprotect.c:850 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:850 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcd3f40ebb7 Code: 00 00 00 b8 0b 00 00 00 0f 05 48 3d 01 f0 ff ff 73 01 c3 48 8d 0d b9 46 01 00 f7 d8 89 01 48 83 c8 ff c3 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d 99 46 01 00 f7 d8 89 01 48 83 RSP: 002b:00007ffc95bc5708 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007fcd3f3e9fc0 RCX: 00007fcd3f40ebb7 RDX: 0000000000000001 RSI: 0000000000001000 RDI: 00007fcd3f161000 RBP: 00007ffc95bc5820 R08: 00007ffc95bc5698 R09: 00007fcd3f3e95c0 R10: 00007fcd3f140168 R11: 0000000000000206 R12: 00007fcd3f3e9fc0 R13: 00007fcd3f416eda R14: 00007fcd3f161f40 R15: 00007fcd3f161740 rcu: rcu_preempt kthread starved for 10502 jiffies! g16581 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:26952 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_timeout+0x15b/0x2b0 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2e1/0x1340 kernel/rcu/tree.c:2046 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2248 kthread+0x7b9/0x940 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 6915 Comm: syz.0.205 Not tainted 6.15.0-rc1-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1bb6/0x2d40 kernel/smp.c:885 Code: 89 e6 83 e6 01 31 ff e8 c8 e2 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 78 de 0b 00 eb 41 f3 90 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 03 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 53 de 0b RSP: 0018:ffffc900037b7380 EFLAGS: 00000293 RAX: dffffc0000000000 RBX: 1ffff110170e7e91 RCX: ffff888050be3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900037b7580 R08: ffffffff81b77698 R09: 1ffffffff20bfbee R10: dffffc0000000000 R11: fffffbfff20bfbef R12: ffff8880b863ad08 R13: ffff8880b873f488 R14: ffff8880b863ad00 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888124f96000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3031fff8 CR3: 00000000560ce000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:1275 [inline] flush_tlb_mm_range+0xb8d/0x13f0 arch/x86/mm/tlb.c:1365 tlb_flush arch/x86/include/asm/tlb.h:23 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:480 [inline] tlb_flush_mmu+0x1aa/0x690 mm/mmu_gather.c:403 tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:496 exit_mmap+0x5b1/0xde0 mm/mmap.c:1297 __mmput+0x115/0x420 kernel/fork.c:1379 exit_mm+0x221/0x310 kernel/exit.c:589 do_exit+0x994/0x27f0 kernel/exit.c:940 do_group_exit+0x207/0x2c0 kernel/exit.c:1102 get_signal+0x1696/0x1730 kernel/signal.c:3034 arch_do_signal_or_restart+0x98/0x840 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa87938d169 Code: Unable to access opcode bytes at 0x7fa87938d13f. RSP: 002b:00007fa87a18c0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa8795a5fa8 RCX: 00007fa87938d169 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa8795a5fa8 RBP: 00007fa8795a5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa8795a5fac R13: 0000000000000000 R14: 00007ffda3c63370 R15: 00007ffda3c63458