syzbot


INFO: rcu detected stall in do_mas_munmap (2)

Status: upstream: reported syz repro on 2025/03/26 06:55
Reported-by: syzbot+009b2a7f9d8a0615cf9b@syzkaller.appspotmail.com
First crash: 276d, last: 2d19h
Bug presence (1)
Date Name Commit Repro Result
2025/12/18 upstream (ToT) ea1013c15392 syz Failed due to an error; will retry later
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in do_mas_munmap 1 12 445d 567d 0/3 auto-obsoleted due to no activity on 2025/01/16 11:56
upstream INFO: rcu detected stall in do_mas_munmap kernel 1 3 1063d 1125d 0/29 auto-obsoleted due to no activity on 2023/04/29 23:21

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-...D } 2690 jiffies s: 3673 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4506 Comm: modprobe Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_preemption_disabled+0x1f/0x110 lib/smp_processor_id.c:16
Code: be 8a 48 c7 c6 00 f9 be 8a eb 00 55 41 57 41 56 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 05 41 98 f1 75 <65> 8b 0d e2 ed f1 75 f7 c1 ff ff ff 7f 74 1f 65 48 8b 0c 25 28 00
RSP: 0018:ffffc900001e0cc8 EFLAGS: 00000082
RAX: 0000000000000001 RBX: ffff8880b8f2a6c8 RCX: 0000000000010000
RDX: ffff888027623b80 RSI: ffffffff8abef900 RDI: ffffffff8abef8c0
RBP: ffffc900001e0e88 R08: dffffc0000000000 R09: fffffbfff1bfe1c6
R10: fffffbfff1bfe1c6 R11: 1ffffffff1bfe1c5 R12: ffff88802c145340
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4fc48a1eb8 CR3: 0000000023836000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
 rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:721
 trace_hrtimer_expire_exit include/trace/events/timer.h:286 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1750 [inline]
 __hrtimer_run_queues+0x5fe/0xd60 kernel/time/hrtimer.c:1811
 hrtimer_interrupt+0x3c5/0x9c0 kernel/time/hrtimer.c:1873
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65
Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01
RSP: 0018:ffffc90003706f88 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc90003707068 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc900037070c8
RBP: ffffffff8e87c01e R08: dffffc0000000000 R09: ffffc900037070b8
R10: fffff520006e0e19 R11: 1ffff920006e0e17 R12: 1ffff920006e0e0e
R13: dffffc0000000000 R14: ffffc900037070b8 R15: ffffc9000370709d
 unwind_next_frame+0xb8a/0x20b0 arch/x86/kernel/unwind_orc.c:546
 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737
 kmem_cache_alloc_bulk+0x3ba/0x4e0 mm/slub.c:3880
 mt_alloc_bulk lib/maple_tree.c:159 [inline]
 mas_alloc_nodes+0x449/0x890 lib/maple_tree.c:1301
 mas_node_count_gfp lib/maple_tree.c:1361 [inline]
 mas_preallocate+0x161/0x3c0 lib/maple_tree.c:5809
 __vma_adjust+0x2e2/0x1c60 mm/mmap.c:724
 vma_adjust include/linux/mm.h:2810 [inline]
 __split_vma+0x3a7/0x500 mm/mmap.c:-1
 do_mas_align_munmap+0x762/0x1220 mm/mmap.c:2501
 do_mas_munmap+0x240/0x2b0 mm/mmap.c:2650
 __mmap_region mm/mmap.c:2698 [inline]
 mmap_region+0x6e5/0x1c70 mm/mmap.c:2916
 do_mmap+0x958/0xfd0 mm/mmap.c:1436
 vm_mmap_pgoff+0x1b2/0x2b0 mm/util.c:520
 ksys_mmap_pgoff+0x516/0x6f0 mm/mmap.c:1482
 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:0x7f4fc4b84242
Code: 08 00 04 00 00 eb e2 90 41 f7 c1 ff 0f 00 00 75 27 55 89 cd 53 48 89 fb 48 85 ff 74 33 41 89 ea 48 89 df b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5e 5b 5d c3 0f 1f 00 c7 05 46 40 01 00 16 00
RSP: 002b:00007fff66d66008 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f4fc4889000 RCX: 00007f4fc4b84242
RDX: 0000000000000001 RSI: 0000000000008000 RDI: 00007f4fc4889000
RBP: 0000000000000812 R08: 0000000000000000 R09: 0000000000024000
R10: 0000000000000812 R11: 0000000000000206 R12: 00007fff66d66090
R13: 00007f4fc4b61ab0 R14: 00007fff66d66480 R15: 00000fffecdacc04
 </TASK>

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/16 01:57 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/12/25 04:23 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 do_mas_munmap
2025/12/23 07:39 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 do_mas_munmap
2025/12/02 12:25 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 do_mas_munmap
2025/11/13 17:57 linux-6.1.y f6e38ae624cf 07e030de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_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 do_mas_munmap
2025/10/20 01:49 linux-6.1.y 8e6e2188d949 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/09/25 04:04 linux-6.1.y 363a599da6d9 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/09/10 15:40 linux-6.1.y f97f1002271b fdeaa69b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/08/14 01:16 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 do_mas_munmap
2025/07/17 07:20 linux-6.1.y f2198ea7eb3e 44f8051e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/07/13 22:44 linux-6.1.y dfc486ec9cce 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/06/23 10:14 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/06/15 01:20 linux-6.1.y 58485ff1a74f 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/06/04 18:46 linux-6.1.y 58485ff1a74f e565f08d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
2025/03/26 06:54 linux-6.1.y 344a09659766 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in do_mas_munmap
* Struck through repros no longer work on HEAD.