syzbot


WARNING in xfs_bmapi_convert_delalloc (2)

Status: upstream: reported C repro on 2024/12/25 20:38
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+1fcaeac63a6a5f2cc94d@syzkaller.appspotmail.com
First crash: 5d03h, last: 4d19h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [xfs?] WARNING in xfs_bmapi_convert_delalloc (2) 0 (1) 2024/12/25 20:38
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in xfs_bmapi_convert_delalloc no-reminders xfs C unreliable done 559 227d 761d 0/28 auto-obsoleted due to no activity on 2024/07/22 07:09
linux-6.1 WARNING in xfs_bmapi_convert_delalloc origin:upstream missing-backport C error 7 124d 588d 0/3 upstream: reported C repro on 2023/05/18 14:29
linux-5.15 WARNING in xfs_bmapi_convert_delalloc origin:upstream missing-backport C error 6 179d 587d 0/3 auto-obsoleted due to no activity on 2024/10/10 08:11

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7194 at fs/xfs/libxfs/xfs_bmap.c:4682 xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787
Modules linked in:
CPU: 0 UID: 0 PID: 7194 Comm: syz-executor144 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787
lr : xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4682 [inline]
lr : xfs_bmapi_convert_delalloc+0x1018/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787
sp : ffff8000a1b97020
x29: ffff8000a1b97300 x28: 1fffe0001a04140f x27: 1ffff00014372e58
x26: ffff8000a1b972c0 x25: ffff8000a1b97750 x24: dfff800000000000
x23: ffff0000de730000 x22: 0000000000000000 x21: 00000000fffffff5
x20: 0000000000010003 x19: ffff0000d020a000 x18: ffff0000de7301c4
x17: ffff80008f99d000 x16: ffff800083275834 x15: 0000000000000001
x14: 0000000000000000 x13: 0000000000000001 x12: ffff0000d0210000
x11: 0000000000ff0100 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000d0210000 x7 : ffff800081f098ec x6 : 0000000000000000
x5 : 0000000000000000 x4 : ffff8000a1b97210 x3 : ffff8000a1b97250
x2 : 0000000000000001 x1 : 0000000000010003 x0 : 0000000000010004
Call trace:
 xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787 (P)
 xfs_buffered_write_iomap_begin+0xa54/0x14f0 fs/xfs/xfs_iomap.c:1214
 iomap_iter+0x5c4/0x1008 fs/iomap/iter.c:90
 iomap_zero_range+0x380/0x794 fs/iomap/buffered-io.c:1441
 xfs_zero_range+0x88/0xe8 fs/xfs/xfs_iomap.c:1499
 xfs_setattr_size+0x30c/0xcc0 fs/xfs/xfs_iops.c:890
 xfs_vn_setattr_size+0x138/0x15c fs/xfs/xfs_iops.c:1040
 xfs_falloc_setsize fs/xfs/xfs_file.c:927 [inline]
 xfs_falloc_insert_range+0x310/0x3d8 fs/xfs/xfs_file.c:981
 xfs_file_fallocate+0x29c/0x3a0 fs/xfs/xfs_file.c:1133
 vfs_fallocate+0x484/0x5c0 fs/open.c:327
 ksys_fallocate fs/open.c:351 [inline]
 __do_sys_fallocate fs/open.c:356 [inline]
 __se_sys_fallocate fs/open.c:354 [inline]
 __arm64_sys_fallocate+0xc0/0x110 fs/open.c:354
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
irq event stamp: 104
hardirqs last  enabled at (103): [<ffff8000841068c4>] get_random_u32+0x318/0x618 drivers/char/random.c:553
hardirqs last disabled at (104): [<ffff80008b69c83c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488
softirqs last  enabled at (72): [<ffff800080129934>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (70): [<ffff800080129900>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/22 04:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d7f584ee .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
2024/12/22 01:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d7f584ee .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
2024/12/22 00:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d7f584ee .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
2024/12/21 20:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
* Struck through repros no longer work on HEAD.