INFO: rcu detected stall in do_vmi_munmap (2)

Status: upstream: reported C repro on 2025/10/19 13:51
Reported-by: syzbot+463b5f1343c74e3819d3@syzkaller.appspotmail.com
First crash: 294d, last: 19h38m
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: rcu detected stall in do_vmi_munmap 1 1 416d 416d 0/2 auto-obsoleted due to no activity on 2025/09/27 01:25
upstream INFO: rcu detected stall in do_vmi_munmap (2) mm 1 40 703d 720d 28/29 fixed on 2024/10/22 11:57
upstream INFO: rcu detected stall in do_vmi_munmap mm 1 17 955d 1183d 0/29 auto-obsoleted due to no activity on 2024/03/27 03:06

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P6019/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=13101, q=498 ncpus=2)
task:sed             state:R  running task     stack:24360 pid:6019  ppid:6018   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6701
 preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7011
 irqentry_exit+0x67/0x70 kernel/entry/common.c:438
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:mas_validate_parent_slot lib/maple_tree.c:-1 [inline]
RIP: 0010:mt_validate+0x8b2/0x4410 lib/maple_tree.c:7230
Code: 0d f7 48 c7 c7 60 c7 70 97 be 04 00 00 00 e8 a5 a7 65 f7 f0 ff 05 2e 79 f6 0c eb 18 4d 39 ec 0f 84 0a 01 00 00 e8 3e 23 0d f7 <49> bd 00 00 00 00 00 fc ff df 48 39 5c 24 28 0f 84 cc 01 00 00 e8
RSP: 0018:ffffc90003227500 EFLAGS: 00000293
RAX: ffffffff8a7a4e42 RBX: 0000000000000004 RCX: ffff88802982bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004
RBP: ffffc900032276b0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff2ee18ec R12: 0000000000000000
R13: ffff88802f6fd20c R14: 0000000000000001 R15: ffff88802f6fd070
 validate_mm+0xc6/0x450 mm/mmap.c:288
 do_vmi_align_munmap+0x14dd/0x16a0 mm/mmap.c:2597
 do_vmi_munmap+0x252/0x2d0 mm/mmap.c:2660
 __mmap_region mm/mmap.c:2710 [inline]
 mmap_region+0x8d9/0x2090 mm/mmap.c:2941
 do_mmap+0x98f/0x10a0 mm/mmap.c:1385
 vm_mmap_pgoff+0x1c4/0x3f0 mm/util.c:556
 ksys_mmap_pgoff+0x4c9/0x720 mm/mmap.c:1431
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fbba50bc242
RSP: 002b:00007ffd3d9161f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fbba4d93000 RCX: 00007fbba50bc242
RDX: 0000000000000005 RSI: 0000000000003000 RDI: 00007fbba4d93000
RBP: 0000000000000812 R08: 0000000000000003 R09: 0000000000002000
R10: 0000000000000812 R11: 0000000000000206 R12: 00007ffd3d916248
R13: 00007fbba4d9b0c0 R14: 00007ffd3d916630 R15: 00000fffa7b22c42
 </TASK>
rcu: rcu_preempt kthread starved for 10538 jiffies! g13101 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:26504 pid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6701
 schedule+0xbd/0x170 kernel/sched/core.c:6775
 schedule_timeout+0x188/0x2d0 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x30d/0x1590 kernel/rcu/tree.c:1667
 rcu_gp_kthread+0x9d/0x3b0 kernel/rcu/tree.c:1866
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6023 Comm: syz.1.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:check_preemption_disabled+0x2e/0x110 lib/smp_processor_id.c:55
Code: 56 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 05 9d bd 76 75 65 8b 0d 92 bd 76 75 f7 c1 ff ff ff 7f 74 1f <65> 48 8b 0c 25 28 00 00 00 48 3b 4c 24 08 0f 85 c4 00 00 00 48 83
RSP: 0018:ffffc90003547af8 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffff88801d749280 RCX: 0000000080000002
RDX: ffff8880b8f2b748 RSI: ffffffff8b1d0c80 RDI: ffffffff8b1d0c40
RBP: 18c9f69bb2403600 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520006a8f44 R12: 0000000000000802
R13: dffffc0000000000 R14: ffff8880b8f2b840 R15: 1ffff11003ae9250
FS:  00007f1d1b9176c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000058 CR3: 000000002fe40000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 __hrtimer_start_range_ns kernel/time/hrtimer.c:1234 [inline]
 hrtimer_start_range_ns+0x154/0x1080 kernel/time/hrtimer.c:1352
 posixtimer_rearm+0x12e/0x340 kernel/time/posix-timers.c:268
 dequeue_signal+0x1be/0x4b0 kernel/signal.c:706
 get_signal+0x536/0x1390 kernel/signal.c:2791
 arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1d1a99e0d7
Code: 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89
RSP: 002b:00007f1d1b9170e8 EFLAGS: 00000246
RAX: 00000000000000ca RBX: 00007f1d1ac25fa8 RCX: 00007f1d1a99e0d9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f1d1ac25fa8
RBP: 00007f1d1ac25fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1d1ac26038 R14: 00007ffef7222570 R15: 00007ffef7222658
 </TASK>

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/08 22:58 linux-6.6.y 6436c12a2ced 5d63f80b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2026/07/29 05:26 linux-6.6.y c5596480c50e 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2026/07/27 09:36 linux-6.6.y c5596480c50e 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2026/07/16 01:53 linux-6.6.y da47cbc25466 27a8bd60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2026/06/05 15:33 linux-6.6.y 924b4a879cbb 48b6c3fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2026/04/21 10:44 linux-6.6.y 9760bf04666d 3f2e655b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2026/01/31 09:48 linux-6.6.y 2cf6f68313dc c75a2f6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2025/12/26 15:33 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2025/12/06 16:10 linux-6.6.y 4791134e4aeb d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2025/11/05 16:52 linux-6.6.y 0a805b6ea8cd a6c9c731 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2025/11/05 14:34 linux-6.6.y 0a805b6ea8cd a6c9c731 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
2025/10/19 13:50 linux-6.6.y 0bbbd97a442d 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in do_vmi_munmap
* Struck through repros no longer work on HEAD.