syzbot


INFO: rcu detected stall in vfs_fallocate (3)

Status: auto-obsoleted due to no activity on 2024/02/16 23:28
Subsystems: ext4
[Documentation on labels]
First crash: 166d, last: 166d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in vfs_fallocate ext4 6 973d 1001d 0/26 auto-closed as invalid on 2021/12/01 16:15
linux-4.19 INFO: rcu detected stall in vfs_fallocate 1 650d 650d 0/1 auto-obsoleted due to no activity on 2022/11/19 13:27
upstream INFO: rcu detected stall in vfs_fallocate (2) ext4 1 843d 843d 0/26 closed as invalid on 2022/02/08 10:00
linux-4.19 BUG: soft lockup in vfs_fallocate 1 1082d 1082d 0/1 auto-closed as invalid on 2021/09/13 17:50

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P10749/1:b..l
rcu: 	(detected by 0, t=10504 jiffies, g=158461, q=96 ncpus=2)
task:syz-executor.4  state:R  running task     stack:25616 pid:10749 tgid:10741 ppid:8950   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7008
 irqentry_exit+0x36/0x80 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_is_held_type+0x104/0x140 kernel/locking/lockdep.c:5829
Code: 00 00 b8 ff ff ff ff 65 0f c1 05 5f 0b 83 75 83 f8 01 75 29 9c 58 f6 c4 02 75 3f 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 90 0f 0b
RSP: 0018:ffffc9000d436ee0 EFLAGS: 00000292
RAX: 0000000000000046 RBX: ffff88807772c6e0 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8accbc20 RDI: ffffffff8b2f0e40
RBP: ffff88801ff198f8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000004 R12: ffff88807772bb80
R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000005
 lock_is_held include/linux/lockdep.h:288 [inline]
 xa_entry include/linux/xarray.h:1216 [inline]
 xas_descend+0x2b6/0x4e0 lib/xarray.c:206
 xas_load+0xe0/0x140 lib/xarray.c:244
 filemap_get_entry+0x10f/0x460 mm/filemap.c:1806
 __filemap_get_folio+0x56/0xaa0 mm/filemap.c:1851
 pagecache_get_page+0x2c/0x250 mm/folio-compat.c:99
 find_get_page_flags include/linux/pagemap.h:679 [inline]
 ext4_mb_load_buddy_gfp+0x4d7/0x1350 fs/ext4/mballoc.c:1656
 ext4_mb_load_buddy fs/ext4/mballoc.c:1709 [inline]
 ext4_mb_try_best_found+0xf6/0x620 fs/ext4/mballoc.c:2280
 ext4_mb_regular_allocator+0x599/0x4100 fs/ext4/mballoc.c:2929
 ext4_mb_new_blocks+0x2666/0x4b10 fs/ext4/mballoc.c:6187
 ext4_ext_map_blocks+0x1b4e/0x5ae0 fs/ext4/extents.c:4285
 ext4_map_blocks+0x619/0x1770 fs/ext4/inode.c:621
 ext4_alloc_file_blocks.isra.0+0x2c4/0xb00 fs/ext4/extents.c:4462
 ext4_fallocate+0x4e0/0x3da0 fs/ext4/extents.c:4757
 vfs_fallocate+0x46c/0xe50 fs/open.c:324
 ioctl_preallocate+0x1a4/0x220 fs/ioctl.c:291
 file_ioctl fs/ioctl.c:331 [inline]
 do_vfs_ioctl+0x15a6/0x1920 fs/ioctl.c:850
 __do_sys_ioctl fs/ioctl.c:869 [inline]
 __se_sys_ioctl fs/ioctl.c:857 [inline]
 __x64_sys_ioctl+0x112/0x210 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f237b67cae9
RSP: 002b:00007f237c44e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f237b79c050 RCX: 00007f237b67cae9
RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000005
RBP: 00007f237b6c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f237b79c050 R15: 00007ffff33ea988
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/18 23:19 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in vfs_fallocate
* Struck through repros no longer work on HEAD.