syzbot


WARNING in xfs_bmapi_convert_delalloc

Status: auto-obsoleted due to no activity on 2024/07/22 07:09
Subsystems: xfs
Labels: no-reminders
[Documentation on labels]
Reported-by: syzbot+53b443b5c64221ee8bad@syzkaller.appspotmail.com
First crash: 686d, last: 148d
Cause bisection: introduced by (bisect log) [no-op commit]:
commit 55d4c19c93190b59c5caecb042ae92a9fd80a288
Author: Lorenzo Bianconi <lorenzo@kernel.org>
Date: Tue Jan 26 11:13:54 2021 +0000

  mt76: mt76_connac: move WoW and suspend code in mt76_connac_mcu module

Crash: WARNING in xfs_bmapi_convert_delalloc (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] WARNING in xfs_bmapi_convert_delalloc 2 (5) 2024/02/07 22:18
[syzbot] Monthly xfs report (May 2023) 1 (2) 2023/05/05 13:59
[syzbot] Monthly xfs report 3 (4) 2023/04/12 21:54
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in xfs_bmapi_convert_delalloc origin:upstream missing-backport C error 7 45d 509d 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 100d 508d 0/3 upstream: reported C repro on 2023/05/19 06:30
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/05/27 07:09 22m retest repro upstream OK log
2024/05/27 07:14 24m retest repro linux-next OK log
2024/05/27 07:09 22m retest repro upstream OK log
2024/01/14 18:35 24m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/01/14 18:35 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/01/14 17:22 20m retest repro upstream OK log
2024/01/14 17:22 22m retest repro upstream OK log
2024/01/14 11:55 22m retest repro upstream OK log
2024/01/14 11:55 16m retest repro upstream OK log
2024/01/14 11:55 16m retest repro upstream OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2441 at fs/xfs/libxfs/xfs_bmap.c:4599 xfs_bmapi_convert_delalloc+0xfc4/0x1310
Modules linked in:
CPU: 0 PID: 2441 Comm: kworker/u4:7 Not tainted 6.6.0-rc5-syzkaller-00157-ge8c127b05766 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:xfs_bmapi_convert_delalloc+0xfc4/0x1310 fs/xfs/libxfs/xfs_bmap.c:4599
Code: 72 11 6c fe 0f 0b e9 42 f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 12 f2 ff ff 48 89 df e8 36 90 c6 fe e9 05 f2 ff ff e8 4c 11 6c fe <0f> 0b 41 bd e4 ff ff ff e9 a1 fa ff ff 89 f9 80 e1 07 38 c1 0f 8c
RSP: 0018:ffffc9000b1369a0 EFLAGS: 00010293
RAX: ffffffff8321f9b4 RBX: ffffffffffffffff RCX: ffff888025c59dc0
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff
RBP: ffffc9000b136bd0 R08: ffffffff8321f3da R09: 1ffffffff1d3461d
R10: dffffc0000000000 R11: fffffbfff1d3461e R12: ffffc9000b136ae0
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92001626d48
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005640347e6d38 CR3: 000000000d130000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline]
 xfs_map_blocks+0x780/0x1090 fs/xfs/xfs_aops.c:389
 iomap_writepage_map fs/iomap/buffered-io.c:1800 [inline]
 iomap_do_writepage+0xb4a/0x32a0 fs/iomap/buffered-io.c:1968
 write_cache_pages+0x827/0x13f0 mm/page-writeback.c:2474
 iomap_writepages+0x68/0x240 fs/iomap/buffered-io.c:1985
 xfs_vm_writepages+0x139/0x1a0 fs/xfs/xfs_aops.c:513
 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553
 __writeback_single_inode+0x155/0xfa0 fs/fs-writeback.c:1608
 writeback_sb_inodes+0x8e3/0x1210 fs/fs-writeback.c:1899
 wb_writeback+0x44d/0xc60 fs/fs-writeback.c:2075
 wb_do_writeback fs/fs-writeback.c:2222 [inline]
 wb_workfn+0x400/0xff0 fs/fs-writeback.c:2262
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703
 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784
 kthread+0x2d3/0x370 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>

Crashes (559):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/13 02:34 upstream e8c127b05766 6388bc36 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/03 06:54 upstream ce36c8b14987 65faba36 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/06/23 21:17 upstream 8a28a0b6f1a1 09ffe269 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in xfs_bmapi_convert_delalloc
2023/05/18 14:31 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/02/05 12:52 upstream 95078069c1e7 be607b78 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in xfs_bmapi_convert_delalloc
2024/04/17 09:05 upstream 96fca68c4fbf 18f6e127 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in xfs_bmapi_convert_delalloc
2024/04/17 09:21 linux-next 4eab35893071 18f6e127 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in xfs_bmapi_convert_delalloc
2023/05/18 13:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f1fcbaa18b28 3bb7af1d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
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] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
2024/03/27 22:57 upstream 962490525cff 120789fd .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in xfs_bmapi_convert_delalloc
2024/05/13 07:08 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in xfs_bmapi_convert_delalloc
2024/04/30 11:58 upstream 98369dccd2f8 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in xfs_bmapi_convert_delalloc
2024/04/29 15:05 upstream e67572cd2204 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2024/04/28 04:44 upstream 5d12ed4bea43 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in xfs_bmapi_convert_delalloc
2024/04/26 20:46 upstream c942a0cd3603 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2024/04/22 15:11 upstream ed30a4a51bb1 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_bmapi_convert_delalloc
2024/04/20 06:20 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2024/03/10 11:45 upstream 005f6f34bd47 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2024/02/09 09:01 upstream 1f719a2f3fa6 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/31 11:34 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/23 20:55 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/22 06:14 upstream 9a6b294ab496 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/18 13:47 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/16 18:53 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/16 16:53 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/07 09:44 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/06 21:21 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/06 08:27 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/12/06 04:13 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/21 10:46 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/19 19:08 upstream 037266a5f723 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/16 14:01 upstream c42d9eeef8e5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in xfs_bmapi_convert_delalloc
2023/11/14 20:17 upstream 9bacdd8996c7 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/14 02:40 upstream 9bacdd8996c7 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/10 12:50 upstream 89cdf9d55601 45e9b83e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/09 10:48 upstream 6bc986ab839c 4862372a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/01 23:06 upstream 8bc9e6515183 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/11/01 14:22 upstream 89ed67ef126c 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/23 07:43 upstream 05d3ef8bba77 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/22 04:26 upstream d537ae43f8a1 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/21 12:46 upstream 9c5d00cb7b6b 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/18 04:11 upstream 06dc10eae55b 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/18 02:14 upstream 06dc10eae55b 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/17 22:26 upstream 213f891525c2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/14 15:29 upstream 8cb1f10d8c4b f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/13 01:09 upstream e8c127b05766 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/12 05:26 upstream 8182d7a3f1b8 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/12 00:26 upstream 8182d7a3f1b8 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/11 16:38 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/11 13:20 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/11 09:07 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/10 14:36 upstream 94f6f0550c62 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/10 13:33 upstream 94f6f0550c62 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/10 11:16 upstream 94f6f0550c62 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/08 13:12 upstream b9ddbb0cde2a 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/08 12:08 upstream b9ddbb0cde2a 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/08 10:11 upstream b9ddbb0cde2a 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/10/08 01:37 upstream b9ddbb0cde2a 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in xfs_bmapi_convert_delalloc
2023/09/21 02:56 upstream 5d2f53532ecc 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in xfs_bmapi_convert_delalloc
2023/09/20 23:34 upstream 5d2f53532ecc 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in xfs_bmapi_convert_delalloc
2024/04/17 08:20 upstream 96fca68c4fbf 18f6e127 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in xfs_bmapi_convert_delalloc
2024/04/24 12:55 upstream 9d1ddab261f3 21339d7b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in xfs_bmapi_convert_delalloc
2024/04/05 04:08 upstream c88b9b4cde17 0ee3535e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in xfs_bmapi_convert_delalloc
2023/08/03 08:34 upstream 4b954598a47b 39a91c18 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in xfs_bmapi_convert_delalloc
2023/09/05 21:00 linux-next c50216cfa084 8bc9053e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in xfs_bmapi_convert_delalloc
2024/04/29 05:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6a71d2909427 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
2023/12/19 18:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
2023/11/25 09:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
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] ci-upstream-gce-arm64 WARNING in xfs_bmapi_convert_delalloc
* Struck through repros no longer work on HEAD.