rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6605/1:b..l (detected by 0, t=10502 jiffies, g=37005, q=231 ncpus=2) task:modprobe state:R running task stack:24712 pid:6605 ppid:9 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:lock_is_held_type+0x137/0x180 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000568f2f8 EFLAGS: 00000206 RAX: a41b9b21acf67200 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d7180 RBP: 0000000000000001 R08: ffffffff8a9da263 R09: ffffffff8a9d9f7b R10: 0000000000000003 R11: ffff88807a76d940 R12: 0000000000000246 R13: ffff88807a76d940 R14: 00000000ffffffff R15: ffff88801dbfae58 mt_slot lib/maple_tree.c:814 [inline] mas_slot lib/maple_tree.c:847 [inline] mas_get_slot lib/maple_tree.c:6674 [inline] mas_validate_gaps lib/maple_tree.c:6972 [inline] mt_validate+0x37c7/0x5ad0 lib/maple_tree.c:7240 validate_mm_mt+0x165/0x670 mm/mmap.c:295 validate_mm+0x16e/0x380 mm/mmap.c:332 remove_mt mm/mmap.c:2311 [inline] do_mas_align_munmap+0x131d/0x15f0 mm/mmap.c:2585 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:0x7fb04dfb7b74 RSP: 002b:00007ffda5a054e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffda5a05598 RCX: 00007fb04dfb7b74 RDX: 0000000000000003 RSI: 0000000000004000 RDI: 00007fb04df96000 RBP: 00007ffda5a05850 R08: 0000000000000000 R09: 00000000000be000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007fb04df9a0c0 R13: 00007ffda5a058d8 R14: 00000000000be138 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10543 jiffies! g37005 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: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: 0 PID: 6597 Comm: syz.1.633 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 51 9b f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 3e 99 b9 f6 48 89 df e8 a6 d6 ba f6 e8 01 62 e0 f6 fb bf 01 00 00 00 46 67 ad f6 65 8b 05 17 5f 51 75 85 c0 74 02 5b c3 e8 c4 82 4f RSP: 0018:ffffc9000562fb30 EFLAGS: 00000286 RAX: ac9a650039a27500 RBX: ffff888026fcd340 RCX: ffffffff97334103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc9000562fc70 R08: dffffc0000000000 R09: ffffed1004df9a69 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11004df9afb R13: 000000001c000004 R14: 0000000000000021 R15: ffff888026fcd7d8 FS: 00007f5dda25b6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 0000000058bd0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2873 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5dd937dff7 Code: ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 RSP: 002b:00007f5dda25b038 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007f5dd9535f80 RCX: 00007f5dd937dff9 RDX: 0000000000000000 RSI: 000080000000000b RDI: 000000002000cffc RBP: 00007f5dd93f0296 R08: 0000000020048000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5dd9535f80 R15: 00007ffd1f9c2668