syzbot


INFO: rcu detected stall in sys_process_vm_writev (3)

Status: auto-obsoleted due to no activity on 2024/09/14 02:49
Subsystems: cgroups block
[Documentation on labels]
First crash: 226d, last: 226d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_process_vm_writev (2) block cgroups 1 581d 581d 0/28 auto-obsoleted due to no activity on 2023/09/24 05:04
upstream INFO: rcu detected stall in sys_process_vm_writev mm 2 1246d 1280d 0/28 auto-closed as invalid on 2021/11/28 06:21
linux-4.19 BUG: soft lockup in sys_process_vm_writev 1 901d 901d 0/1 auto-obsoleted due to no activity on 2022/12/08 06:45

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P11859/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=65905, q=243 ncpus=2)
task:syz-executor.0  state:R  running task     stack:23792 pid:11859 tgid:11850 ppid:9639   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x1796/0x49d0 kernel/sched/core.c:6745
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5758
Code: 2b 00 74 08 4c 89 f7 e8 ba 3a 86 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc900095eef00 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920012bddec RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8bcacd00 RDI: ffffffff8c1f2480
RBP: ffffc900095ef058 R08: ffffffff92f74587 R09: 1ffffffff25ee8b0
R10: dffffc0000000000 R11: fffffbfff25ee8b1 R12: 1ffff920012bdde8
R13: dffffc0000000000 R14: ffffc900095eef60 R15: 0000000000000246
 rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
 rcu_read_lock include/linux/rcupdate.h:781 [inline]
 blk_cgroup_congested+0x3a/0x220 block/blk-cgroup.c:2188
 __folio_throttle_swaprate+0x84/0x1d0 mm/swapfile.c:3695
 folio_throttle_swaprate include/linux/swap.h:632 [inline]
 folio_prealloc+0x10a/0x170 mm/memory.c:1060
 alloc_anon_folio mm/memory.c:4403 [inline]
 do_anonymous_page mm/memory.c:4461 [inline]
 do_pte_missing mm/memory.c:3901 [inline]
 handle_pte_fault+0x2f4a/0x7130 mm/memory.c:5380
 __handle_mm_fault mm/memory.c:5523 [inline]
 handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5688
 faultin_page mm/gup.c:1290 [inline]
 __get_user_pages+0x6ef/0x1590 mm/gup.c:1589
 __get_user_pages_locked mm/gup.c:1857 [inline]
 __gup_longterm_locked+0x1ff6/0x2a80 mm/gup.c:2556
 pin_user_pages_remote+0x132/0x1f0 mm/gup.c:3616
 process_vm_rw_single_vec mm/process_vm_access.c:106 [inline]
 process_vm_rw_core mm/process_vm_access.c:216 [inline]
 process_vm_rw+0x716/0xcf0 mm/process_vm_access.c:284
 __do_sys_process_vm_writev mm/process_vm_access.c:304 [inline]
 __se_sys_process_vm_writev mm/process_vm_access.c:299 [inline]
 __x64_sys_process_vm_writev+0xe0/0x100 mm/process_vm_access.c:299
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4b3fa7cea9
RSP: 002b:00007f4b408100c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000137
RAX: ffffffffffffffda RBX: 00007f4b3fbb4120 RCX: 00007f4b3fa7cea9
RDX: 0000000000000001 RSI: 0000000020000000 RDI: 00000000000000fd
RBP: 00007f4b3faebff4 R08: 000000000000023a R09: 0000000000000000
R10: 0000000020121000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f4b3fbb4120 R15: 00007fff4b677278
 </TASK>
rcu: rcu_preempt kthread starved for 10348 jiffies! g65905 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:26448 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x1796/0x49d0 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6837
 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </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:48 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/16 02:38 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_process_vm_writev
* Struck through repros no longer work on HEAD.