syzbot


WARNING in xfs_bmapi_convert_delalloc

Status: upstream: reported C repro on 2023/05/18 14:29
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+03a3f365d3150f0355cc@syzkaller.appspotmail.com
First crash: 343d, last: 8d05h
Bug presence (1)
Date Name Commit Repro Result
2023/09/21 upstream (ToT) 42dc814987c1 C [report] WARNING in xfs_bmapi_convert_delalloc
Similar bugs (2)
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 547 1d01h 516d 0/26 upstream: reported C repro on 2022/11/26 10:08
linux-5.15 WARNING in xfs_bmapi_convert_delalloc origin:upstream C error 6 285d 342d 0/3 upstream: reported C repro on 2023/05/19 06:30
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/04/04 17:38 2h03m bisect fix linux-6.1.y job log (0) log
2024/03/05 08:30 1h03m bisect fix linux-6.1.y job log (0) log
2024/01/26 19:06 1h47m bisect fix linux-6.1.y job log (0) log
2023/12/26 17:39 1h22m bisect fix linux-6.1.y job log (0) log
2023/11/26 10:13 1h45m bisect fix linux-6.1.y job log (0) log
2023/10/26 02:36 1h21m bisect fix linux-6.1.y job log (0) log
2023/07/12 05:50 3h52m bisect fix linux-6.1.y job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 1303 at fs/xfs/libxfs/xfs_bmap.c:4592 xfs_bmapi_convert_delalloc+0xf9e/0x12d0
Modules linked in:
CPU: 1 PID: 1303 Comm: kworker/u4:5 Not tainted 6.1.86-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:xfs_bmapi_convert_delalloc+0xf9e/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4592
Code: 38 d5 72 fe 0f 0b e9 64 f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 34 f2 ff ff 48 89 df e8 6c 4a ca fe e9 27 f2 ff ff e8 12 d5 72 fe <0f> 0b 41 bd e4 ff ff ff e9 b5 fa ff ff 89 f9 80 e1 07 38 c1 0f 8c
RSP: 0018:ffffc90005396a00 EFLAGS: 00010293
RAX: ffffffff8317ba3e RBX: ffffffffffffffff RCX: ffff888021f09dc0
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff
RBP: ffffc90005396c30 R08: ffffffff8317b478 R09: fffffbfff1ce6ede
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90005396b40
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000a72d54
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff8acbb000 CR3: 0000000027052000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xfs_convert_blocks fs/xfs/xfs_aops.c:259 [inline]
 xfs_map_blocks+0xa9e/0x1640 fs/xfs/xfs_aops.c:380
 iomap_writepage_map fs/iomap/buffered-io.c:1355 [inline]
 iomap_do_writepage+0x9a6/0x3110 fs/iomap/buffered-io.c:1518
 write_cache_pages+0x92e/0x15c0 mm/page-writeback.c:2360
 iomap_writepages+0x64/0x240 fs/iomap/buffered-io.c:1535
 xfs_vm_writepages+0x127/0x180 fs/xfs/xfs_aops.c:500
 do_writepages+0x3a2/0x670 mm/page-writeback.c:2469
 __writeback_single_inode+0x15d/0x11e0 fs/fs-writeback.c:1612
 writeback_sb_inodes+0xc2b/0x1b20 fs/fs-writeback.c:1903
 wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2077
 wb_do_writeback fs/fs-writeback.c:2220 [inline]
 wb_workfn+0x427/0x1020 fs/fs-writeback.c:2260
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/17 08:53 linux-6.1.y cd5d98c0556c 18f6e127 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in xfs_bmapi_convert_delalloc
2023/09/21 04:37 linux-6.1.y a356197db198 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in xfs_bmapi_convert_delalloc
2023/05/18 14:29 linux-6.1.y fa74641fb6b9 3bb7af1d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in xfs_bmapi_convert_delalloc
2024/04/17 08:18 linux-6.1.y cd5d98c0556c 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in xfs_bmapi_convert_delalloc
2023/09/20 23:30 linux-6.1.y a356197db198 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in xfs_bmapi_convert_delalloc
2023/06/07 01:32 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in xfs_bmapi_convert_delalloc
2023/06/07 01:40 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in xfs_bmapi_convert_delalloc
* Struck through repros no longer work on HEAD.