syzbot


WARNING in mark_buffer_dirty (6)

Status: upstream: reported C repro on 2023/10/17 15:53
Subsystems: bfs nilfs
[Documentation on labels]
Reported-by: syzbot+d98fd19acd08b36ff422@syzkaller.appspotmail.com
First crash: 358d, last: 11m
Cause bisection: failed (error log, bisect log)
  
Discussions (7)
Title Replies (including bot) Last reply
[PATCH v3 0/2] bfs: fix null-ptr-deref and possible warning in bfs_move_block() func 3 (3) 2024/08/22 16:12
[PATCH v3 2/2] bfs: ensure buffer is marked uptodate before marking it dirty 1 (1) 2024/08/22 16:12
[PATCH fs/bfs 0/2] bfs: fix null-ptr-deref and possible warning in bfs_move_block() func 5 (5) 2024/07/11 16:40
[PATCHv2 fs/bfs 0/2] bfs: fix null-ptr-deref and possible warning in bfs_move_block() func 3 (3) 2024/07/11 07:32
Re: [fs/bfs 1/2] bfs: fix null-ptr-deref in bfs_move_block 1 (1) 2024/07/11 06:00
[PATCH fs/bfs 2/2] bfs: add buffer_uptodate check before mark_buffer_dirty call 1 (1) 2024/07/10 19:11
[syzbot] [bfs?] WARNING in mark_buffer_dirty (6) 0 (1) 2023/10/17 15:53
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in mark_buffer_dirty bfs C error 10 643d 989d 0/1 upstream: reported C repro on 2022/01/20 22:23
upstream WARNING in mark_buffer_dirty (4) bfs nilfs C inconclusive 1152 485d 824d 22/28 fixed on 2023/06/08 14:41
android-44 WARNING in mark_buffer_dirty 2 2103d 2001d 0/2 auto-closed as invalid on 2019/07/01 11:44
upstream WARNING in mark_buffer_dirty fs C 21 2133d 2516d 0/28 closed as invalid on 2019/07/24 04:22
linux-4.14 WARNING in mark_buffer_dirty (2) nilfs2 C error 8 586d 969d 0/1 upstream: reported C repro on 2022/02/10 08:17
upstream WARNING in mark_buffer_dirty (2) ext4 665 1635d 1768d 0/28 auto-closed as invalid on 2020/07/14 01:44
upstream WARNING in mark_buffer_dirty (5) nilfs C done 172 362d 481d 23/28 fixed on 2023/10/12 12:48
upstream WARNING in mark_buffer_dirty (3) ext4 2 1316d 1329d 0/28 auto-closed as invalid on 2021/06/27 09:01
android-49 WARNING in mark_buffer_dirty 7 1949d 2001d 0/3 auto-closed as invalid on 2019/10/25 08:47
linux-4.14 WARNING in mark_buffer_dirty 1 1729d 1729d 0/1 auto-closed as invalid on 2020/05/11 07:45
linux-5.15 WARNING in mark_buffer_dirty origin:upstream C error 75 1d16h 570d 0/3 upstream: reported C repro on 2023/03/15 22:22
linux-6.1 WARNING in mark_buffer_dirty origin:upstream C 98 3d09h 572d 0/3 upstream: reported C repro on 2023/03/13 14:09

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5326 at fs/buffer.c:1177 mark_buffer_dirty+0x2e5/0x520 fs/buffer.c:1177
Modules linked in:
CPU: 0 UID: 0 PID: 5326 Comm: segctord Not tainted 6.12.0-rc1-syzkaller-00330-gfc20a3e57247 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:mark_buffer_dirty+0x2e5/0x520 fs/buffer.c:1177
Code: 89 df e8 ae 83 db ff 48 8b 3b be 20 00 00 00 5b 41 5e 41 5f 5d e9 fb e8 fb ff e8 46 f5 74 ff e9 73 ff ff ff e8 3c f5 74 ff 90 <0f> 0b 90 e9 61 fd ff ff e8 2e f5 74 ff 90 0f 0b 90 e9 88 fd ff ff
RSP: 0000:ffffc90004217758 EFLAGS: 00010293
RAX: ffffffff821fe0e4 RBX: ffff888072631a01 RCX: ffff88802e783c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff821fde41 R09: 1ffff1100e48de00
R10: dffffc0000000000 R11: ffffed100e48de01 R12: 1ffff1100e4c6423
R13: 1ffff1100e4c6425 R14: ffff88807246f000 R15: ffff888072632118
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff560d377d8 CR3: 000000007a348000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2033 [inline]
 nilfs_segctor_do_construct+0x33e/0x6b90 fs/nilfs2/segment.c:2095
 nilfs_segctor_construct+0x181/0x6b0 fs/nilfs2/segment.c:2479
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2587 [inline]
 nilfs_segctor_thread+0x69e/0xe80 fs/nilfs2/segment.c:2701
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (7788):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/06 07:06 upstream fc20a3e57247 d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/02 18:06 upstream e32cde8d2bd7 02f9582a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/09/13 13:18 upstream fdf042df0463 73e8a465 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/08/14 21:07 upstream 9d5906799f7d e6b88e20 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/07 18:03 upstream dccb07f2914c cb2dcc0e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in mark_buffer_dirty
2024/04/04 23:01 upstream fe46a7dd189e 0ee3535e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/01/26 06:25 upstream 6098d87eaf31 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in mark_buffer_dirty
2024/01/15 07:55 upstream 052d534373b7 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2023/10/27 23:44 upstream 750b95887e56 3c418d72 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in mark_buffer_dirty
2023/10/14 18:05 upstream 727fb8376504 6388bc36 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/09/13 19:08 upstream 196145c606d0 73e8a465 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-snapshot-upstream-root WARNING in mark_buffer_dirty
2024/04/26 13:12 upstream c942a0cd3603 3f914d6b .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in mark_buffer_dirty
2024/04/05 09:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in mark_buffer_dirty
2024/09/24 12:19 upstream abf2050f51fd 89298aad .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/09/22 02:06 upstream 1ec6d097897a 6f888b75 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/08/31 06:01 upstream 20371ba12063 1eda0d14 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] [mounted in repro #3] [mounted in repro #4] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/01/25 11:19 upstream 443b349019f2 1e153dc8 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in mark_buffer_dirty
2023/10/13 19:35 upstream 10a6e5feccb8 f757a323 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/23 05:08 linux-next 124cfbcd6d18 4d098039 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/20 14:08 linux-next 632483ea8004 c0f1611a .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/06 08:17 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/06 05:24 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/06 04:53 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/06 03:01 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/06 01:51 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/06 00:15 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/05 22:11 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 22:03 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 19:04 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 16:50 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 15:42 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 14:50 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 13:46 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/05 12:44 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 11:33 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 08:47 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 06:53 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 03:06 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in mark_buffer_dirty
2024/10/05 02:57 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in mark_buffer_dirty
2024/10/05 01:12 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/05 00:10 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 22:35 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 21:26 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/04 19:30 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 16:29 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 16:09 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 12:26 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 10:38 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/04 09:48 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 08:12 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 07:09 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 05:58 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 05:55 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 03:40 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 02:18 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/04 01:15 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/03 22:42 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/03 21:18 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/03 20:14 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/03 19:17 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/03 19:03 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/03 18:02 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/10/03 15:38 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/03 12:58 upstream f23aa4c0761a a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/06/16 13:39 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in mark_buffer_dirty
2024/05/29 19:35 upstream 4a4be1ad3a6e 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/10/06 06:45 upstream fc20a3e57247 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in mark_buffer_dirty
2024/09/30 20:52 upstream 9852d85ec9d4 179f4029 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in mark_buffer_dirty
2024/06/19 21:42 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mark_buffer_dirty
2024/06/20 13:21 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mark_buffer_dirty
2024/10/03 06:47 linux-next c02d24a5af66 a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/10/04 14:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in mark_buffer_dirty
2024/10/04 14:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in mark_buffer_dirty
* Struck through repros no longer work on HEAD.