rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7574/1:b..l P9672/1:b..l rcu: (detected by 1, t=10502 jiffies, g=60725, q=466 ncpus=2) task:modprobe state:R running task stack:23680 pid:9672 tgid:9672 ppid:5323 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 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:mas_next_node+0x48/0xe00 lib/maple_tree.c:4549 Code: 00 00 fc ff df e8 48 f9 10 f6 48 89 6c 24 18 4c 8d 65 28 4c 89 e5 48 c1 ed 03 42 80 7c 35 00 00 74 08 4c 89 e7 e8 f8 07 77 f6 <4d> 8b 2c 24 4c 89 ef 48 89 de e8 79 fb 10 f6 49 39 dd 0f 83 3b 03 RSP: 0018:ffffc9000410f658 EFLAGS: 00000246 RAX: ffffffff8b824ea8 RBX: ffffffffffffffff RCX: ffff88805ef05a00 RDX: 0000000000000000 RSI: ffff88802a875600 RDI: ffffc9000410f7e0 RBP: 1ffff92000821f01 R08: ffffffff8b80949f R09: ffffffff8b809335 R10: 0000000000000003 R11: ffff88805ef05a00 R12: ffffc9000410f808 R13: ffff88802a875600 R14: dffffc0000000000 R15: 000000000000000e mt_validate_nulls lib/maple_tree.c:7553 [inline] mt_validate+0x44ff/0x4aa0 lib/maple_tree.c:7599 validate_mm+0xe7/0x530 mm/mmap.c:329 mmap_region+0x1a61/0x2090 mm/mmap.c:3041 do_mmap+0x8ad/0xfa0 mm/mmap.c:1438 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:573 ksys_mmap_pgoff+0x4f1/0x720 mm/mmap.c:1484 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:0x7f040ba1db74 RSP: 002b:00007ffd46113778 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00000fffa8c226f0 RCX: 00007f040ba1db74 RDX: 0000000000000001 RSI: 0000000000054188 RDI: 0000000000000000 RBP: 00007ffd46113b10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000802 R11: 0000000000000246 R12: 00007f040b9fb570 R13: 00007ffd46113b98 R14: fffffffffffff000 R15: 0000000000000000 task:syz-executor.4 state:R running task stack:19600 pid:7574 tgid:7574 ppid:7565 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:xas_find+0x4a0/0x960 lib/xarray.c:1284 Code: f6 85 db 0f 84 86 01 00 00 e8 ac 0a 0d f6 44 89 fb 83 e3 03 bf 02 00 00 00 48 89 de e8 79 0f 0d f6 49 81 ff 01 10 00 00 72 52 <83> fb 02 75 4d e8 86 0a 0d f6 49 83 c7 fe 43 80 3c 34 00 74 08 4c RSP: 0018:ffffc90003f67570 EFLAGS: 00000292 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888018b7da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000001 R08: ffffffff8b863d57 R09: ffffffff8b8639bb R10: 0000000000000002 R11: ffff888018b7da00 R12: 1ffff920007eced3 R13: ffffc90003f67698 R14: dffffc0000000000 R15: ffffea00015a4e80 find_get_entry mm/filemap.c:1990 [inline] find_lock_entries+0x28b/0x1110 mm/filemap.c:2091 shmem_undo_range+0x2d6/0x1df0 mm/shmem.c:995 shmem_truncate_range mm/shmem.c:1122 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1250 evict+0x2a8/0x630 fs/inode.c:667 __dentry_kill+0x20d/0x630 fs/dcache.c:603 dput+0x19f/0x2b0 fs/dcache.c:845 __fput+0x68c/0x8b0 fs/file_table.c:430 task_work_run+0x24f/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f537607cc0b RSP: 002b:00007fff56646320 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f537607cc0b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007fff566463cc R08: 0000000000000000 R09: 00007fff566460c7 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000006920e R14: 0000000000068dd9 R15: 0000000000000017 rcu: rcu_preempt kthread starved for 10538 jiffies! g60725 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2029 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2231 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 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: 0 Comm: swapper/1 Not tainted 6.10.0-rc3-next-20240611-syzkaller #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 00 d6 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d 85 c1 9e 00 f3 0f 1e fa fb f4 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff888017ae8000 RBX: ffff8880182f7864 RCX: 000000000099d231 RDX: 0000000000000001 RSI: ffff8880182f7800 RDI: ffff8880182f7864 RBP: 000000000003a6b8 R08: ffff8880b9537d0b R09: 1ffff110172a6fa1 R10: dffffc0000000000 R11: ffffffff8b8adbb0 R12: ffff888019f7d000 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8ead2820 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f862446dd58 CR3: 0000000061df8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x112/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:230 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:326 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424 start_secondary+0x100/0x100 arch/x86/kernel/smpboot.c:313 common_startup_64+0x13e/0x147