syzbot


WARNING in xfs_bmapi_convert_delalloc

Status: upstream: reported C repro on 2022/11/26 10:08
Reported-by: syzbot+53b443b5c64221ee8bad@syzkaller.appspotmail.com
First crash: 76d, last: 21h19m

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 9 at fs/xfs/libxfs/xfs_bmap.c:4593 xfs_bmapi_convert_delalloc+0xd2a/0xf10 fs/xfs/libxfs/xfs_bmap.c:4593
Modules linked in:
CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 6.2.0-rc6-syzkaller-00262-g95078069c1e7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:xfs_bmapi_convert_delalloc+0xd2a/0xf10 fs/xfs/libxfs/xfs_bmap.c:4593
Code: ff ff e8 79 e0 89 fe 8b 94 24 10 01 00 00 48 8b b4 24 18 01 00 00 48 8b 7c 24 78 e8 00 e0 0c 00 e9 68 fe ff ff e8 56 e0 89 fe <0f> 0b 41 bc e4 ff ff ff e9 9e f8 ff ff 45 31 e4 e9 2a f6 ff ff 48
RSP: 0018:ffffc900000e6f60 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 0000000000000000
RDX: ffff88813fe48000 RSI: ffffffff82f7128a RDI: 0000000000000007
RBP: ffff888072014d80 R08: 0000000000000007 R09: ffffffffffffffff
R10: ffffffffffffffff R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88802a070000 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555680b3b8 CR3: 000000007c843000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline]
 xfs_map_blocks+0x74c/0x1220 fs/xfs/xfs_aops.c:389
 iomap_writepage_map fs/iomap/buffered-io.c:1612 [inline]
 iomap_do_writepage+0xbbd/0x27b0 fs/iomap/buffered-io.c:1775
 write_cache_pages+0x785/0x19c0 mm/page-writeback.c:2472
 iomap_writepages+0x4f/0xb0 fs/iomap/buffered-io.c:1792
 xfs_vm_writepages+0x138/0x1c0 fs/xfs/xfs_aops.c:506
 do_writepages+0x1af/0x690 mm/page-writeback.c:2581
 __writeback_single_inode+0x159/0x1440 fs/fs-writeback.c:1598
 writeback_sb_inodes+0x54d/0xf90 fs/fs-writeback.c:1889
 wb_writeback+0x2c5/0xd70 fs/fs-writeback.c:2063
 wb_do_writeback fs/fs-writeback.c:2206 [inline]
 wb_workfn+0x2e0/0x12f0 fs/fs-writeback.c:2246
 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
 worker_thread+0x669/0x1090 kernel/workqueue.c:2436
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2023/02/05 12:52 upstream 95078069c1e7 be607b78 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in xfs_bmapi_convert_delalloc
ci-upstream-gce-arm64 2022/12/23 10:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in xfs_bmapi_convert_delalloc
ci2-upstream-fs 2023/01/25 22:12 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci2-upstream-fs 2023/01/14 19:25 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci2-upstream-fs 2023/01/08 21:40 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci2-upstream-fs 2023/01/07 05:41 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci2-upstream-fs 2023/01/06 16:35 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci2-upstream-fs 2023/01/06 05:19 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci2-upstream-fs 2022/12/31 19:38 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci-upstream-kasan-gce-selinux-root 2022/12/06 03:55 upstream 76dcd734eca2 045cbb84 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci-upstream-gce-arm64 2023/02/04 22:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee be607b78 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci-upstream-gce-arm64 2023/01/09 01:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci-upstream-gce-arm64 2022/12/24 01:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci-upstream-gce-arm64 2022/12/23 08:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
ci-upstream-gce-arm64 2022/11/22 09:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a77d28d13789 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in xfs_bmapi_convert_delalloc
* Struck through repros no longer work on HEAD.