syzbot


INFO: rcu detected stall in mmap_pgoff (3)

Status: upstream: reported on 2025/09/22 21:57
Reported-by: syzbot+7ed811a7f17b58c8cdcd@syzkaller.appspotmail.com
First crash: 201d, last: 14d
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in mmap_pgoff (6) fs 1 6 570d 665d 0/29 auto-obsoleted due to no activity on 2024/12/18 09:17
upstream INFO: rcu detected stall in mmap_pgoff (5) mm fs 1 2 989d 1019d 0/29 auto-obsoleted due to no activity on 2023/10/25 16:56
linux-4.19 INFO: rcu detected stall in mmap_pgoff 1 syz error 2 1816d 1885d 0/1 upstream: reported syz repro on 2021/02/11 18:33
linux-5.15 INFO: rcu detected stall in mmap_pgoff 1 1 915d 915d 0/3 auto-obsoleted due to no activity on 2024/01/17 20:08
linux-5.15 INFO: rcu detected stall in mmap_pgoff (2) 1 10 341d 647d 0/3 auto-obsoleted due to no activity on 2025/08/14 00:27
upstream INFO: rcu detected stall in mmap_pgoff (4) mm 1 1 1117d 1117d 0/29 auto-obsoleted due to no activity on 2023/05/21 07:37
upstream INFO: rcu detected stall in mmap_pgoff crypto 1 3 1610d 1618d 0/29 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in mmap_pgoff (3) mm 1 1 1307d 1307d 0/29 auto-obsoleted due to no activity on 2022/12/11 19:43
upstream INFO: rcu detected stall in mmap_pgoff (2) kernel 1 1 1506d 1506d 0/29 auto-closed as invalid on 2022/05/26 19:52

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P7927/1:b..l
	(detected by 0, t=10502 jiffies, g=29377, q=211)
task:syz.4.713       state:R  running task     stack:24944 pid: 7927 ppid:  4187 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11ef/0x43c0 kernel/sched/core.c:6395
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6799
 irqentry_exit+0x63/0x70 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:226 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x4/0x80 kernel/kcov.c:279
Code: 77 1e 4a c7 44 02 08 06 00 00 00 4a 89 7c 02 10 4a 89 74 02 18 4a 89 44 02 20 48 ff c1 48 89 0a c3 0f 1f 44 00 00 48 8b 04 24 <65> 48 8b 0d 44 4c 89 7e 65 8b 15 45 4c 89 7e 81 e2 00 01 ff 00 74
RSP: 0018:ffffc9000360f6f0 EFLAGS: 00000246
RAX: ffffffff819fa075 RBX: ffffea00016403c0 RCX: ffff888020818000
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffea00016403c7 R09: 1ffffd40002c8078
R10: dffffc0000000000 R11: fffff940002c8079 R12: ffffc9000360f828
R13: ffffea00016403c8 R14: 1ffffd40002c8079 R15: ffffea0001640301
 next_uptodate_page+0x405/0x8b0 mm/filemap.c:3265
 first_map_page mm/filemap.c:3288 [inline]
 filemap_map_pages+0x230/0x13b0 mm/filemap.c:3314
 do_fault_around mm/memory.c:4243 [inline]
 do_read_fault mm/memory.c:4258 [inline]
 do_fault mm/memory.c:4392 [inline]
 handle_pte_fault mm/memory.c:4650 [inline]
 __handle_mm_fault mm/memory.c:4785 [inline]
 handle_mm_fault+0x25bc/0x4410 mm/memory.c:4883
 faultin_page mm/gup.c:976 [inline]
 __get_user_pages+0x94b/0x11e0 mm/gup.c:1197
 populate_vma_page_range+0x213/0x290 mm/gup.c:1529
 __mm_populate+0x275/0x3b0 mm/gup.c:1638
 mm_populate include/linux/mm.h:2646 [inline]
 vm_mmap_pgoff+0x212/0x2d0 mm/util.c:556
 ksys_mmap_pgoff+0x140/0x790 mm/mmap.c:1635
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f4432560819
RSP: 002b:00007f4430799028 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f44327da090 RCX: 00007f4432560819
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f44325f6c91 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f44327da128 R14: 00007f44327da090 R15: 00007ffe83d33fb8
 </TASK>
rcu: rcu_preempt kthread starved for 10530 jiffies! g29377 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:28176 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11ef/0x43c0 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2117
 rcu_gp_fqs_loop+0x2be/0x11d0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x9b/0x370 kernel/rcu/tree.c:2145
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 1 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:729
vkms_vblank_simulate: vblank timer overrun

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/29 03:07 linux-5.15.y 91d48252ad4b b5ceaad2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2026/02/11 23:17 linux-5.15.y e45d5d41c134 75707236 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2026/02/03 14:31 linux-5.15.y 9eec9a14ee10 6df4c87a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2026/02/01 04:13 linux-5.15.y 9eec9a14ee10 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2026/01/17 14:05 linux-5.15.y 68efe5a6c16a 20d37d28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2025/11/24 16:52 linux-5.15.y cc5ec8769306 bf6fe8fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2025/11/17 03:02 linux-5.15.y cc5ec8769306 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2025/10/07 08:50 linux-5.15.y 29e53a5b1c4f 8ef35d49 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
2025/09/22 21:56 linux-5.15.y 43bb85222e53 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in mmap_pgoff
* Struck through repros no longer work on HEAD.