syzbot


INFO: rcu detected stall in generic_file_write_iter (5)

Status: auto-closed as invalid on 2020/10/22 01:02
Subsystems: fs
[Documentation on labels]
First crash: 1604d, last: 1597d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in generic_file_write_iter (3) kernel 1 1830d 1830d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in generic_file_write_iter (2) exfat 2 2045d 2084d 0/28 auto-closed as invalid on 2019/10/25 09:01
upstream BUG: soft lockup in generic_file_write_iter (2) mm 8 516d 504d 0/28 auto-obsoleted due to no activity on 2023/10/18 13:34
linux-5.15 INFO: rcu detected stall in generic_file_write_iter (2) 20 12d 273d 0/3 upstream: reported on 2024/03/08 18:29
linux-5.15 INFO: rcu detected stall in generic_file_write_iter 1 459d 459d 0/3 auto-obsoleted due to no activity on 2023/12/13 17:16
upstream INFO: rcu detected stall in generic_file_write_iter (4) cgroups 1 1763d 1759d 0/28 auto-closed as invalid on 2020/05/09 11:43
upstream BUG: soft lockup in generic_file_write_iter net 2 701d 736d 0/28 auto-obsoleted due to no activity on 2023/04/05 19:12
upstream INFO: rcu detected stall in generic_file_write_iter mm 58 2108d 2250d 0/28 closed as dup on 2018/10/27 15:28
upstream INFO: rcu detected stall in generic_file_write_iter (6) cgroups mm 2 1082d 1139d 0/28 closed as invalid on 2022/02/08 09:50
linux-6.1 INFO: rcu detected stall in generic_file_write_iter 18 117d 229d 0/3 auto-obsoleted due to no activity on 2024/11/12 08:46

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10499 ticks this GP) idle=16e/1/0x4000000000000000 softirq=121974/121974 fqs=5184 
	(t=10500 jiffies g=202037 q=59343)
NMI backtrace for cpu 0
CPU: 0 PID: 13354 Comm: syz-executor.4 Not tainted 5.8.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b3/0x223 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x194/0x1cf kernel/rcu/tree_stall.h:320
 print_cpu_stall kernel/rcu/tree_stall.h:553 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 rcu_pending kernel/rcu/tree.c:3489 [inline]
 rcu_sched_clock_irq.cold+0x5b3/0xccc kernel/rcu/tree.c:2504
 update_process_times+0x25/0x60 kernel/time/timer.c:1737
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:176
 tick_sched_timer+0x108/0x290 kernel/time/tick-sched.c:1320
 __run_hrtimer kernel/time/hrtimer.c:1520 [inline]
 __hrtimer_run_queues+0x1d5/0xfc0 kernel/time/hrtimer.c:1584
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1646
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x142/0x5e0 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 sysvec_apic_timer_interrupt+0xe0/0x120 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:585
RIP: 0010:iov_iter_copy_from_user_atomic+0x589/0xbe0 lib/iov_iter.c:1000
Code: 8e 93 05 00 00 8b 68 08 48 89 44 24 38 ba 00 10 00 00 8b 44 24 14 8b 4c 24 20 44 29 fd 81 e1 ff 0f 00 00 39 c5 0f 47 e8 29 ca <89> 4c 24 30 39 d5 0f 47 ea 31 ff 89 ee e8 d5 cf dd fd 85 ed 74 76
RSP: 0018:ffffc9001610f760 EFLAGS: 00000206
RAX: 0000000000000016 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000001000 RSI: ffffffff8395e895 RDI: ffff888091656a38
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88808546aa47
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888091656a30
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
 generic_perform_write+0x277/0x4f0 mm/filemap.c:3326
 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3447
 generic_file_write_iter+0x3a6/0x5c0 mm/filemap.c:3479
 call_write_iter include/linux/fs.h:1908 [inline]
 do_iter_readv_writev+0x567/0x780 fs/read_write.c:713
 do_iter_write+0x188/0x5f0 fs/read_write.c:1018
 vfs_iter_write+0x70/0xa0 fs/read_write.c:1059
 iter_file_splice_write+0x721/0xbe0 fs/splice.c:750
 do_splice_from fs/splice.c:846 [inline]
 do_splice+0xbcd/0x1820 fs/splice.c:1144
 __do_sys_splice fs/splice.c:1419 [inline]
 __se_sys_splice fs/splice.c:1401 [inline]
 __x64_sys_splice+0x198/0x250 fs/splice.c:1401
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45c1f9
Code: Bad RIP value.
RSP: 002b:00007fd12c6cfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 0000000000032080 RCX: 000000000045c1f9
RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 000000000078bf58 R08: 0000000000010005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c
R13: 0000000000c9fb6f R14: 00007fd12c6d09c0 R15: 000000000078bf0c

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/24 00:58 upstream d15be546031c 70c104a1 .config console log report ci-upstream-kasan-gce
2020/07/16 22:57 upstream f8456690ba8e 54b3c45e .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.