syzbot


INFO: rcu detected stall in generic_file_write_iter

Status: closed as dup on 2018/10/27 15:28
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+4c06dfb0610e05a73876@syzkaller.appspotmail.com
First crash: 2235d, last: 2093d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: rcu detected stall in sys_creat exfat 98 2132d 2223d
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 1814d 1814d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in generic_file_write_iter (2) exfat 2 2029d 2068d 0/28 auto-closed as invalid on 2019/10/25 09:01
upstream BUG: soft lockup in generic_file_write_iter (2) mm 8 500d 488d 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) 19 48d 258d 0/3 upstream: reported on 2024/03/08 18:29
linux-5.15 INFO: rcu detected stall in generic_file_write_iter 1 444d 444d 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 1747d 1743d 0/28 auto-closed as invalid on 2020/05/09 11:43
upstream BUG: soft lockup in generic_file_write_iter net 2 686d 720d 0/28 auto-obsoleted due to no activity on 2023/04/05 19:12
upstream INFO: rcu detected stall in generic_file_write_iter (5) fs 2 1581d 1589d 0/28 auto-closed as invalid on 2020/10/22 01:02
upstream INFO: rcu detected stall in generic_file_write_iter (6) cgroups mm 2 1067d 1124d 0/28 closed as invalid on 2022/02/08 09:50
linux-6.1 INFO: rcu detected stall in generic_file_write_iter 18 101d 214d 0/3 auto-obsoleted due to no activity on 2024/11/12 08:46

Sample crash report:
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=syz2,mems_allowed=0-1,oom_memcg=/syz2,task_memcg=/syz2,task=syz-executor.2,pid=30335,uid=0
Memory cgroup out of memory: Kill process 30335 (syz-executor.2) score 1113 or sacrifice child
Killed process 30335 (syz-executor.2) total-vm:72840kB, anon-rss:2224kB, file-rss:35580kB, shmem-rss:0kB
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (10465 ticks this GP) idle=c66/1/0x4000000000000002 softirq=132566/132566 fqs=34 
rcu: 	 (t=10501 jiffies g=180537 q=436)
rcu: rcu_preempt kthread starved for 10433 jiffies! g180537 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29024    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2844 [inline]
 __schedule+0x817/0x1cc0 kernel/sched/core.c:3485
 schedule+0x92/0x180 kernel/sched/core.c:3529
 schedule_timeout+0x4db/0xfd0 kernel/time/timer.c:1803
 rcu_gp_fqs_loop kernel/rcu/tree.c:1948 [inline]
 rcu_gp_kthread+0x956/0x17a0 kernel/rcu/tree.c:2105
 kthread+0x357/0x430 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
NMI backtrace for cpu 0
CPU: 0 PID: 10091 Comm: syz-executor.2 Not tainted 5.0.0-rc8+ #89
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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree.c:1211
 print_cpu_stall kernel/rcu/tree.c:1348 [inline]
 check_cpu_stall kernel/rcu/tree.c:1422 [inline]
 rcu_pending kernel/rcu/tree.c:3018 [inline]
 rcu_check_callbacks.cold+0x500/0xa4a kernel/rcu/tree.c:2521
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:766 [inline]
RIP: 0010:lock_acquire+0x1ea/0x3f0 kernel/locking/lockdep.c:3844
Code: 7c 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 c7 01 00 00 48 83 3d 82 2e 3b 07 00 0f 84 3b 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b
RSP: 0018:ffff8880096c70a0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff112505e RBX: ffff8880865e2000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffff8880865e28f8 RDI: 0000000000000286
RBP: ffff8880096c70e8 R08: 0000000000000003 R09: ffff8880865e2918
R10: ffff8880865e28f8 R11: 0000000000000001 R12: ffffffff889a4240
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002
 rcu_lock_acquire include/linux/rcupdate.h:223 [inline]
 rcu_read_lock include/linux/rcupdate.h:607 [inline]
 list_lru_count_one+0x66/0x380 mm/list_lru.c:193
 list_lru_shrink_count include/linux/list_lru.h:122 [inline]
 super_cache_count+0x14f/0x2e0 fs/super.c:145
 do_shrink_slab+0x10e/0xa80 mm/vmscan.c:469
 shrink_slab_memcg mm/vmscan.c:616 [inline]
 shrink_slab+0x36a/0x5e0 mm/vmscan.c:688
 shrink_node+0x50f/0x1540 mm/vmscan.c:2747
 shrink_zones mm/vmscan.c:2977 [inline]
 do_try_to_free_pages+0x3cb/0x11e0 mm/vmscan.c:3039
 try_to_free_mem_cgroup_pages+0x337/0x960 mm/vmscan.c:3343
 try_charge+0x3d7/0x1570 mm/memcontrol.c:2234
 mem_cgroup_try_charge+0x24d/0x5e0 mm/memcontrol.c:5913
 mem_cgroup_try_charge_delay+0x1f/0xa0 mm/memcontrol.c:5928
 shmem_getpage_gfp+0x69b/0x3520 mm/shmem.c:1790
 shmem_getpage mm/shmem.c:134 [inline]
 shmem_write_begin+0x105/0x1e0 mm/shmem.c:2385
 generic_perform_write+0x231/0x530 mm/filemap.c:3208
 __generic_file_write_iter+0x25e/0x630 mm/filemap.c:3333
 generic_file_write_iter+0x360/0x610 mm/filemap.c:3361
 call_write_iter include/linux/fs.h:1863 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x613/0x8e0 fs/read_write.c:487
 vfs_write+0x20c/0x580 fs/read_write.c:549
 ksys_write+0xea/0x1f0 fs/read_write.c:598
 __do_sys_write fs/read_write.c:610 [inline]
 __se_sys_write fs/read_write.c:607 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:607
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457e29
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f81ec171c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29
RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000005
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f81ec1726d4
R13: 00000000004c73d7 R14: 00000000004dcfe0 R15: 00000000ffffffff

Crashes (58):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/02/28 22:31 upstream 7d762d69145a 09aeeba4 .config console log report ci-upstream-kasan-gce-root
2019/02/25 19:00 upstream 5908e6b738e3 a70141bf .config console log report ci-upstream-kasan-gce-selinux-root
2019/02/22 19:37 upstream 6ee2846cb4e7 6a5fcca4 .config console log report ci-upstream-kasan-gce-root
2019/02/14 04:02 upstream 1f947a7a011f 6a46f448 .config console log report ci-upstream-kasan-gce-root
2019/02/12 13:53 upstream aa0c38cf39de 6ecc6d0f .config console log report ci-upstream-kasan-gce-root
2019/02/10 04:54 upstream e8b50608f666 b4f792e4 .config console log report ci-upstream-kasan-gce-selinux-root
2019/02/09 06:27 upstream 46c291e277f9 fa6c7b70 .config console log report ci-upstream-kasan-gce-smack-root
2019/02/08 09:20 upstream d47e3da17592 aa4feb03 .config console log report ci-upstream-kasan-gce-root
2019/02/07 23:51 upstream d47e3da17592 aa4feb03 .config console log report ci-upstream-kasan-gce-root
2019/02/07 10:28 upstream b0314565da2b aa4feb03 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/16 05:37 upstream 7939f8beecf1 b47fa78d .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/15 15:18 upstream fe76fc6aaf53 79cb1a7c .config console log report ci-upstream-kasan-gce-smack-root
2019/01/07 21:09 upstream 3bd6e94bec12 69d69aa9 .config console log report ci-upstream-kasan-gce-smack-root
2019/01/07 06:46 upstream 574823bfab82 ee332608 .config console log report ci-upstream-kasan-gce-root
2019/01/05 00:11 upstream 96d4f267e40f 0127e3ba .config console log report ci-upstream-kasan-gce-smack-root
2018/12/31 10:22 upstream 195303136f19 2b42fdc8 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/17 23:48 upstream 7566ec393f41 def91db3 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/15 12:03 upstream 6531e115b7ab c9128939 .config console log report ci-upstream-kasan-gce-root
2018/12/14 20:25 upstream eb6cf9f8cb9d 7624ddd6 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/13 23:13 upstream 65e08c5e8631 fe7127be .config console log report ci-upstream-kasan-gce-smack-root
2018/12/11 09:58 upstream f5d582777bcb 4093e33b .config console log report ci-upstream-kasan-gce-smack-root
2018/12/10 09:38 upstream 0844895a2e51 96cc4c50 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/08 23:31 upstream 8214bdf7d3e6 c7918378 .config console log report ci-upstream-kasan-gce-root
2018/12/06 18:34 upstream cf76c364a1e1 3ab38479 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/05 19:26 upstream d08970904582 ac6c0578 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/05 12:11 upstream 0072a0c14d5b ac6c0578 .config console log report ci-upstream-kasan-gce-root
2018/12/03 04:38 upstream 6a512726090a 7dcaeaf3 .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/01 03:48 upstream b6839ef26e54 d8988561 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/29 22:27 upstream 60b548237fed 66071e27 .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/29 07:32 upstream 60b548237fed 4b6d14f2 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/28 18:52 upstream 121b018f8c74 4b6d14f2 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/28 11:19 upstream ef78e5ec9214 4b6d14f2 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/28 09:12 upstream ef78e5ec9214 4b6d14f2 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/26 11:13 upstream 2e6e902d1850 ac912200 .config console log report ci-upstream-kasan-gce-root
2018/11/25 22:20 upstream d6d460b89378 3d3ec907 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/22 18:50 upstream edeca3a769ad 2ee77802 .config console log report ci-upstream-kasan-gce-root
2018/11/18 22:19 upstream c67a98c00ea3 adf636a8 .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/16 20:46 upstream e6a2562fe27f b08ee62a .config console log report ci-upstream-kasan-gce-smack-root
2018/11/15 19:16 upstream da5322e65940 3a41052e .config console log report ci-upstream-kasan-gce-smack-root
2018/11/06 17:14 upstream 163c8d54a997 8bd6bd63 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/06 01:13 upstream 163c8d54a997 8bd6bd63 .config console log report ci-upstream-kasan-gce-root
2018/11/02 21:48 upstream d81f50bd3464 8bd6bd63 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/26 05:27 upstream e5f6d9afa341 a8292de9 .config console log report ci-upstream-kasan-gce-smack-root
2019/01/06 17:09 linux-next a4983672f9ca 94f8adb5 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/07 00:36 linux-next 442b8cea2477 dcf836b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/04 08:19 linux-next 442b8cea2477 03f94a45 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/28 21:42 linux-next 442b8cea2477 4b6d14f2 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/26 05:28 linux-next 442b8cea2477 3d3ec907 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/23 20:28 linux-next 442b8cea2477 eb9ed731 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/15 18:21 linux-next 442b8cea2477 3a41052e .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/14 16:57 linux-next 442b8cea2477 5f5f6d14 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/08 05:32 linux-next f7af6d2c48bf e85d2a61 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/27 13:00 linux-next 8c60c36d0b8c 8efba39a .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/26 20:08 linux-next 8c60c36d0b8c a8292de9 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/18 19:42 linux-next 9bab64345e83 9aba67b5 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/09 13:03 linux-next 570b7bdeaf18 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.