rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3772/1:b..l P5405/1:b..l (detected by 1, t=10502 jiffies, g=27545, q=64 ncpus=2) task:modprobe state:R running task stack:23880 pid:5405 ppid:33 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:mas_validate_gaps lib/maple_tree.c:6951 [inline] RIP: 0010:mt_validate+0x325b/0x5ad0 lib/maple_tree.c:7240 Code: 7c 24 18 e8 e7 63 44 f7 48 8b 54 24 18 e9 aa fe ff ff e8 08 e2 ec f6 eb 0c e8 01 e2 ec f6 eb 05 e8 fa e1 ec f6 4c 8b 64 24 60 <49> 8d 44 24 08 48 89 44 24 50 eb 25 e8 e4 e1 ec f6 49 be 00 00 00 RSP: 0018:ffffc9000410f340 EFLAGS: 00000293 RAX: ffffffff8a9dcd3f RBX: 0000000000000003 RCX: ffff88802dbb8000 RDX: 0000000000000000 RSI: ffffffff8e82e440 RDI: 0000000000000003 RBP: ffffc9000410f530 R08: 0000000000000005 R09: ffffffff8a9dca91 R10: 0000000000000004 R11: ffff88802dbb8000 R12: ffff888062d4c400 R13: 0000000000000003 R14: dffffc0000000000 R15: ffffc9000410f498 validate_mm_mt+0x165/0x670 mm/mmap.c:295 validate_mm+0x16e/0x380 mm/mmap.c:332 do_mas_align_munmap+0x132d/0x15f0 mm/mmap.c:2589 do_mas_munmap+0x246/0x2b0 mm/mmap.c:2640 mmap_region+0x8e6/0x1fa0 mm/mmap.c:2688 do_mmap+0x8c5/0xf60 mm/mmap.c:1425 vm_mmap_pgoff+0x1ca/0x2d0 mm/util.c:520 ksys_mmap_pgoff+0x4f5/0x6d0 mm/mmap.c:1471 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f77a8b14b74 RSP: 002b:00007ffd709a40a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffd709a4158 RCX: 00007f77a8b14b74 RDX: 0000000000000003 RSI: 0000000000006000 RDI: 00007f77a8a21000 RBP: 00007ffd709a4840 R08: 0000000000000000 R09: 000000000019d000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007f77a8af75c0 R13: 00007ffd709a48c8 R14: 000000000019d264 R15: 0000000000000000 task:kworker/u4:8 state:R running task stack:20536 pid:3772 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 df ab 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900048cfa80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000919f5c RCX: 1ffff92000919efc RDX: dffffc0000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d6dc0 RBP: ffffc900048cfbe0 R08: dffffc0000000000 R09: fffffbfff223b845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000919f58 R13: dffffc0000000000 R14: ffffc900048cfae0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xe8/0x610 net/batman-adv/network-coding.c:719 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: rcu_preempt kthread starved for 10563 jiffies! g27545 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:27064 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567 Code: 7c d9 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 a4 3b e0 f6 0f 1f 44 00 00 e8 ba 78 d9 f6 0f 00 2d 93 5c b6 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 fb fa 30 f7 RSP: 0018:ffffc90000177b80 EFLAGS: 000002d3 RAX: ffffffff8ab13686 RBX: 0000000000000000 RCX: ffff888017ee9dc0 RDX: 0000000000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5d6dc0 RBP: ffffc90000177c10 R08: ffffffff8ab13668 R09: ffffed1002fdd3b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef70 R13: ffff888144ebf804 R14: ffffc90000177ba0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020155000 CR3: 0000000066b84000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:704 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3ce/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xcf/0xdb