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: 77d, last: 15d
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 446d 542d 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 866d 895d 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 1693d 1762d 0/1 upstream: reported syz repro on 2021/02/11 18:33
linux-5.15 INFO: rcu detected stall in mmap_pgoff 1 1 792d 792d 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 217d 523d 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 993d 993d 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 1486d 1494d 0/29 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in mmap_pgoff (3) mm 1 1 1184d 1184d 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 1383d 1383d 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: 	1-...!: (0 ticks this GP) idle=acf/1/0x4000000000000000 softirq=34054/34054 fqs=0 
	(detected by 0, t=10502 jiffies, g=48317, q=241)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10696 Comm: syz.1.1486 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:_raw_spin_lock_irq+0x22/0xe0 kernel/locking/spinlock.c:169
Code: 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 53 48 83 e4 e0 48 83 ec 60 48 89 fb 65 48 8b 04 25 28 00 00 00 48 89 44 24 50 <48> c7 04 24 b3 8a b5 41 48 c7 44 24 08 4b 3f a7 8b 48 c7 44 24 10
RSP: 0018:ffffc90000dd0c80 EFLAGS: 00000082
RAX: 31801d2b9b9a3d00 RBX: ffff8880b912a240 RCX: ffff8880569b9dc0
RDX: 0000000000010000 RSI: ffffffff8a59e560 RDI: ffff8880b912a240
RBP: ffffc90000dd0d10 R08: dffffc0000000000 R09: fffffbfff1ad33a6
R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: ffff8880b912a350
R13: 1ffff1101722546a R14: 0000000000000001 R15: dffffc0000000000
FS:  00007f04851626c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000467000 CR3: 0000000066d93000 CR4: 00000000003526e0
DR0: 0000000000000008 DR1: 0000000000000002 DR2: 0000000000000081
DR3: ffffffffefffff14 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x5ff/0xc40 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:check_preemption_disabled+0x0/0x110 lib/smp_processor_id.c:13
Code: 00 00 48 c7 c7 20 dd 12 8a e8 2c 01 00 00 65 ff 0d 91 d6 59 76 5b c3 00 00 cc 48 c7 c7 20 e5 59 8a 48 c7 c6 60 e5 59 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
RSP: 0018:ffffc900031ff6b8 EFLAGS: 00000282
RAX: 0000000000042a01 RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000002 RSI: ffffffff8a59e560 RDI: ffffffff8a59e520
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff94000285f9f
R10: fffff94000285f9f R11: 1ffffd4000285f9e R12: 1ffff9200063ff05
R13: ffffc900031ff828 R14: 0000000000000000 R15: ffff88807b0cb530
 rcu_lockdep_current_cpu_online+0x35/0x130 kernel/rcu/tree.c:1171
 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
 rcu_read_lock_held+0x1a/0x40 kernel/rcu/update.c:309
 xa_entry include/linux/xarray.h:1197 [inline]
 xas_next_entry+0x202/0x3d0 include/linux/xarray.h:1656
 next_map_page mm/filemap.c:3296 [inline]
 filemap_map_pages+0xeaa/0x1390 mm/filemap.c:3352
 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+0x257d/0x43b0 mm/memory.c:4883
 faultin_page mm/gup.c:976 [inline]
 __get_user_pages+0x93e/0x11c0 mm/gup.c:1197
 populate_vma_page_range+0x213/0x290 mm/gup.c:1529
 __mm_populate+0x26f/0x3a0 mm/gup.c:1638
 mm_populate include/linux/mm.h:2646 [inline]
 vm_mmap_pgoff+0x203/0x2b0 mm/util.c:556
 ksys_mmap_pgoff+0x140/0x780 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:0x7f0486efb749
Code: 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 01 48
RSP: 002b:00007f0485162038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f0487151fa0 RCX: 00007f0486efb749
RDX: 0000000000000002 RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f0486f7ff91 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0487152038 R14: 00007f0487151fa0 R15: 00007ffdd3c2e478
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g48317 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=16084
rcu: rcu_preempt kthread starved for 10502 jiffies! g48317 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26624 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11bb/0x4390 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914
 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x98/0x350 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
CPU: 1 PID: 10696 Comm: syz.1.1486 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:timerqueue_del+0xc9/0x100 lib/timerqueue.c:60
Code: 4c 89 f7 48 89 de e8 f6 5a ff ff 42 80 7c 2d 00 00 74 08 4c 89 f7 e8 a6 72 be fd 4d 89 36 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 0d 72 be fd 48 83 3b 00 0f 95 c0 5b 41 5c 41 5d
RSP: 0018:ffffc90000dd0ce8 EFLAGS: 00000046
RAX: 1ffff11017225472 RBX: ffff8880b912a390 RCX: dffffc0000000000
RDX: 0000000000010000 RSI: ffff8880b912a390 RDI: ffff888022e1bb48
RBP: 1ffff110045c3768 R08: dffffc0000000000 R09: fffffbfff1ad33a6
R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: ffff8880b912a398
R13: dffffc0000000000 R14: ffff888022e1bb40 R15: 1ffff11017225473
FS:  00007f04851626c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000467000 CR3: 0000000066d93000 CR4: 00000000003526e0
DR0: 0000000000000008 DR1: 0000000000000002 DR2: 0000000000000081
DR3: ffffffffefffff14 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __remove_hrtimer kernel/time/hrtimer.c:1102 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1665 [inline]
 __hrtimer_run_queues+0x396/0xc40 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:check_preemption_disabled+0x0/0x110 lib/smp_processor_id.c:13
Code: 00 00 48 c7 c7 20 dd 12 8a e8 2c 01 00 00 65 ff 0d 91 d6 59 76 5b c3 00 00 cc 48 c7 c7 20 e5 59 8a 48 c7 c6 60 e5 59 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
RSP: 0018:ffffc900031ff6b8 EFLAGS: 00000282
RAX: 0000000000042a01 RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000002 RSI: ffffffff8a59e560 RDI: ffffffff8a59e520
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff94000285f9f
R10: fffff94000285f9f R11: 1ffffd4000285f9e R12: 1ffff9200063ff05
R13: ffffc900031ff828 R14: 0000000000000000 R15: ffff88807b0cb530
 rcu_lockdep_current_cpu_online+0x35/0x130 kernel/rcu/tree.c:1171
 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
 rcu_read_lock_held+0x1a/0x40 kernel/rcu/update.c:309
 xa_entry include/linux/xarray.h:1197 [inline]
 xas_next_entry+0x202/0x3d0 include/linux/xarray.h:1656
 next_map_page mm/filemap.c:3296 [inline]
 filemap_map_pages+0xeaa/0x1390 mm/filemap.c:3352
 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+0x257d/0x43b0 mm/memory.c:4883
 faultin_page mm/gup.c:976 [inline]
 __get_user_pages+0x93e/0x11c0 mm/gup.c:1197
 populate_vma_page_range+0x213/0x290 mm/gup.c:1529
 __mm_populate+0x26f/0x3a0 mm/gup.c:1638
 mm_populate include/linux/mm.h:2646 [inline]
 vm_mmap_pgoff+0x203/0x2b0 mm/util.c:556
 ksys_mmap_pgoff+0x140/0x780 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:0x7f0486efb749
Code: 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 01 48
RSP: 002b:00007f0485162038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f0487151fa0 RCX: 00007f0486efb749
RDX: 0000000000000002 RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f0486f7ff91 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0487152038 R14: 00007f0487151fa0 R15: 00007ffdd3c2e478
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.