syzbot


INFO: rcu detected stall in sys_munmap (2)

Status: upstream: reported on 2025/04/02 07:15
Reported-by: syzbot+87c23d2143b7fa642291@syzkaller.appspotmail.com
First crash: 261d, last: 14h01m
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: rcu detected stall in sys_munmap 1 6 1d15h 160d 0/2 upstream: reported on 2025/07/12 12:20
upstream INFO: rcu detected stall in sys_munmap kasan mm 1 1 834d 834d 0/29 auto-obsoleted due to no activity on 2023/11/06 05:09
linux-5.15 INFO: rcu detected stall in sys_munmap 1 1 156d 156d 0/3 auto-obsoleted due to no activity on 2025/10/24 12:55
upstream INFO: rcu detected stall in sys_munmap (2) mm 1 C error 35 7h12m 119d 0/29 upstream: reported C repro on 2025/08/22 04:15
linux-6.1 INFO: rcu detected stall in sys_munmap 1 1 515d 515d 0/3 auto-obsoleted due to no activity on 2024/10/31 01:03

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P4376/1:b..l
	(detected by 1, t=10502 jiffies, g=67025, q=300 ncpus=2)
task:udevd           state:R  running task     stack:22624 pid:4376  ppid:3636   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:212
Code: 2e 0f 1f 84 00 00 00 00 00 90 53 48 89 fb e8 17 00 00 00 48 8b 3d 90 30 7e 0c 48 89 de 5b e9 47 68 4f 00 00 00 cc cc 00 00 cc <48> 8b 04 24 65 48 8b 0d 64 8f 81 7e 65 8b 15 65 8f 81 7e 81 e2 00
RSP: 0018:ffffc90004777718 EFLAGS: 00000202
RAX: ffffffff89fe1845 RBX: 0000000000000002 RCX: ffff88802cc71dc0
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000002
RBP: ffffc900047778f0 R08: 0000000000000004 R09: 0000000000000003
R10: fffffbfff2dc78fc R11: 1ffffffff2dc78fc R12: dffffc0000000000
R13: ffff88807d53280c R14: 0000000000000003 R15: ffff88807d533c60
 mas_validate_parent_slot lib/maple_tree.c:7052 [inline]
 mt_validate+0x104f/0x4c90 lib/maple_tree.c:7242
 validate_mm_mt+0xcd/0x420 mm/mmap.c:295
 validate_mm+0xcc/0x2b0 mm/mmap.c:332
 remove_mt mm/mmap.c:2322 [inline]
 do_mas_align_munmap+0xf98/0x1220 mm/mmap.c:2595
 do_mas_munmap+0x240/0x2b0 mm/mmap.c:2650
 __vm_munmap+0x18d/0x290 mm/mmap.c:2936
 __do_sys_munmap mm/mmap.c:2961 [inline]
 __se_sys_munmap mm/mmap.c:2958 [inline]
 __x64_sys_munmap+0x5c/0x70 mm/mmap.c:2958
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fae0151e097
RSP: 002b:00007ffebf0e3918 EFLAGS: 00000246 ORIG_RAX: 000000000000000b
RAX: ffffffffffffffda RBX: 000055bcbaf825f0 RCX: 00007fae0151e097
RDX: 000055bcbaf81d38 RSI: 0000000000000200 RDI: 00007fae01b9e000
RBP: 0000000000000004 R08: 0000000000000030 R09: 000055bcbaf9f460
R10: 0000000000000000 R11: 0000000000000246 R12: 000055bcbafac090
R13: 00007fae01cd639c R14: 0000000000000800 R15: 0000000000000009
 </TASK>
rcu: rcu_preempt kthread starved for 9368 jiffies! g67025 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:26880 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
 schedule+0xb9/0x180 kernel/sched/core.c:6637
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:default_idle+0xb/0x10 arch/x86/kernel/process.c:742
Code: 48 89 df e8 a7 b3 b6 f7 e9 4c ff ff ff e8 9d 0e f6 ff 00 00 cc cc 00 00 cc cc 00 00 cc cc 00 66 90 0f 00 2d c7 40 4c 00 fb f4 <c3> 0f 1f 40 00 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 48
RSP: 0018:ffffc90000177de8 EFLAGS: 000002c6
RAX: b54c5edf4cc53800 RBX: ffffffff8a1a6267 RCX: b54c5edf4cc53800
RDX: 0000000000000001 RSI: ffffffff8a6c0600 RDI: ffffffff8abef920
RBP: ffffc90000177f20 R08: dffffc0000000000 R09: ffffed10171e6afa
R10: ffffed10171e6afa R11: 1ffff110171e6af9 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff88813fed9dc0 R15: 1ffffffff1bfe206
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f17b9a5dd58 CR3: 0000000065d3c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 default_idle_call+0x84/0xc0 kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:191 [inline]
 do_idle+0x1fc/0x570 kernel/sched/idle.c:303
 cpu_startup_entry+0x3f/0x60 kernel/sched/idle.c:401
 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281
 secondary_startup_64_no_verify+0xcf/0xdb
 </TASK>

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/19 12:48 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/12/02 23:30 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/11/25 19:10 linux-6.1.y f6e38ae624cf 64219f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/11/07 09:01 linux-6.1.y f6e38ae624cf 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/11/01 17:39 linux-6.1.y f6e38ae624cf 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/11/01 05:00 linux-6.1.y f6e38ae624cf 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/10/30 06:14 linux-6.1.y f6e38ae624cf fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/10/21 08:54 linux-6.1.y 8e6e2188d949 9832ed61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/10/19 14:49 linux-6.1.y c2fda4b3f577 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/09/13 01:42 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/08/14 02:50 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/08/10 13:23 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/06/18 09:05 linux-6.1.y 58485ff1a74f e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/06/12 09:22 linux-6.1.y 58485ff1a74f 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/06/01 10:10 linux-6.1.y da3c5173c55f 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/04/02 07:16 linux-6.1.y 8e60a714ba3b c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
2025/04/02 07:14 linux-6.1.y 8e60a714ba3b c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_munmap
* Struck through repros no longer work on HEAD.