rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7898/1:b..l P7901/1:b..l rcu: (detected by 0, t=10502 jiffies, g=315589, q=370 ncpus=2) task:syz-executor state:R running task stack:26784 pid:7901 tgid:7901 ppid:6141 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:write_comp_data kernel/kcov.c:235 [inline] RIP: 0010:__sanitizer_cov_trace_cmp4+0x8/0x90 kernel/kcov.c:278 Code: 44 0a 20 e9 15 18 1a 0a 66 2e 0f 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 4c 8b 04 24 <65> 48 8b 14 25 c0 d4 03 00 65 8b 05 a0 ab 6d 7e a9 00 01 ff 00 74 RSP: 0018:ffffc900092b7598 EFLAGS: 00000293 RAX: 0000000000000004 RBX: 000000000000000e RCX: 000000008cec5d01 RDX: ffffffff8cec5dc1 RSI: 000000000000000f RDI: 000000000000000f RBP: ffffc900092b7790 R08: ffffffff8b7ba8fe R09: ffffffff8b7ba564 R10: 0000000000000003 R11: ffff88801e45da00 R12: 000000000000000e R13: 0000000000000001 R14: 000000000000000f R15: 000000000000000f mas_validate_limits lib/maple_tree.c:7516 [inline] mt_validate+0x196e/0x4aa0 lib/maple_tree.c:7593 validate_mm+0xe7/0x530 mm/mmap.c:288 vma_expand+0x802/0xb90 mm/mmap.c:669 mmap_region+0xb9e/0x2090 mm/mmap.c:2859 do_mmap+0x8ad/0xfa0 mm/mmap.c:1397 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:573 ksys_mmap_pgoff+0x4f1/0x720 mm/mmap.c:1443 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4452b75c13 RSP: 002b:00007ffc49951fc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000400000 RCX: 00007f4452b75c13 RDX: 0000000000000003 RSI: 00000000003c0000 RDI: 0000001b32160000 RBP: 0000001b32160000 R08: 0000000000000004 R09: 0000000000040000 R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 task:syz.3.8410 state:R running task stack:22896 pid:7898 tgid:7894 ppid:4066 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:lock_release+0x630/0x9f0 kernel/locking/lockdep.c:5778 Code: 3c 3b 00 74 08 4c 89 f7 e8 0d 49 89 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc900098c6f60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92001318dfe RCX: ffffc900098c6f03 RDX: 0000000000000002 RSI: ffffffff8bcaccc0 RDI: ffffffff8c1fe940 RBP: ffffc900098c7090 R08: ffffffff8fad4daf R09: 1ffffffff1f5a9b5 R10: dffffc0000000000 R11: fffffbfff1f5a9b6 R12: 1ffff92001318df8 R13: 0000000000000246 R14: ffffc900098c6ff0 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock include/linux/rcupdate.h:812 [inline] pte_unmap include/linux/pgtable.h:115 [inline] follow_page_pte+0xf23/0x1d90 mm/gup.c:1003 follow_pmd_mask mm/gup.c:1040 [inline] follow_pud_mask mm/gup.c:1095 [inline] follow_p4d_mask mm/gup.c:1116 [inline] follow_page_mask+0x766/0x2e00 mm/gup.c:1162 __get_user_pages+0x67e/0x1590 mm/gup.c:1587 __get_user_pages_locked mm/gup.c:1857 [inline] __gup_longterm_locked+0x4b0/0x2a80 mm/gup.c:2561 gup_fast_fallback+0x2732/0x2b40 mm/gup.c:3473 pin_user_pages_fast+0xcc/0x160 mm/gup.c:3579 io_pin_pages+0x7e/0x170 io_uring/memmap.c:148 io_sqe_buffer_register+0x180/0x1b10 io_uring/rsrc.c:891 io_sqe_buffers_register+0x4d3/0x6b0 io_uring/rsrc.c:1009 __io_uring_register io_uring/register.c:421 [inline] __do_sys_io_uring_register io_uring/register.c:616 [inline] __se_sys_io_uring_register+0xb22/0x15d0 io_uring/register.c:577 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feea2175bd9 RSP: 002b:00007feea2e7a048 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007feea2304038 RCX: 00007feea2175bd9 RDX: 00000000200002c0 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007feea21e4a98 R08: 0000000000000000 R09: 0000000000000000 R10: 100000000000011a R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007feea2304038 R15: 00007fff39805a28 rcu: rcu_preempt kthread starved for 10483 jiffies! g315589 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:25528 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 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: 0 PID: 0 Comm: swapper/0 Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:113 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 c0 d4 03 00 48 f7 00 08 00 00 00 75 10 eb 07 0f 00 2d b5 5a a3 00 f3 0f 1e fa fb f4 e9 f4 23 2a 00 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffffff8e007ca8 EFLAGS: 00000246 RAX: ffffffff8e094680 RBX: ffff88801baa1064 RCX: 0000000000b27131 RDX: 0000000000000001 RSI: ffff88801baa1000 RDI: ffff88801baa1064 RBP: 000000000003a578 R08: ffff8880b9437ccb R09: 1ffff11017286f99 R10: dffffc0000000000 R11: ffffffff8b8618c0 R12: ffff888017fcd800 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8eacdca0 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4453835690 CR3: 000000004dc4e000 CR4: 0000000000350ef0 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x114/0x480 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:332 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:430 rest_init+0x2dc/0x300 init/main.c:747 start_kernel+0x47a/0x500 init/main.c:1103 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x99/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x147