syzbot


WARNING in mark_buffer_dirty (6)

Status: upstream: reported C repro on 2023/10/17 15:53
Subsystems: bfs
[Documentation on labels]
Reported-by: syzbot+d98fd19acd08b36ff422@syzkaller.appspotmail.com
First crash: 230d, last: 23h43m
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[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 515d 860d 0/1 upstream: reported C repro on 2022/01/20 22:23
upstream WARNING in mark_buffer_dirty (4) bfs nilfs C inconclusive 1152 357d 696d 22/26 fixed on 2023/06/08 14:41
android-44 WARNING in mark_buffer_dirty 2 1975d 1873d 0/2 auto-closed as invalid on 2019/07/01 11:44
upstream WARNING in mark_buffer_dirty fs C 21 2004d 2387d 0/26 closed as invalid on 2019/07/24 04:22
linux-4.14 WARNING in mark_buffer_dirty (2) nilfs2 C error 8 457d 840d 0/1 upstream: reported C repro on 2022/02/10 08:17
upstream WARNING in mark_buffer_dirty (2) ext4 665 1506d 1639d 0/26 auto-closed as invalid on 2020/07/14 01:44
upstream WARNING in mark_buffer_dirty (5) nilfs C done 172 233d 353d 23/26 fixed on 2023/10/12 12:48
upstream WARNING in mark_buffer_dirty (3) ext4 2 1188d 1201d 0/26 auto-closed as invalid on 2021/06/27 09:01
android-49 WARNING in mark_buffer_dirty 7 1820d 1873d 0/3 auto-closed as invalid on 2019/10/25 08:47
linux-4.14 WARNING in mark_buffer_dirty 1 1600d 1600d 0/1 auto-closed as invalid on 2020/05/11 07:45
linux-5.15 WARNING in mark_buffer_dirty origin:upstream C error 36 3d13h 441d 0/3 upstream: reported C repro on 2023/03/15 22:22
linux-6.1 WARNING in mark_buffer_dirty origin:upstream C 41 14d 444d 0/3 upstream: reported C repro on 2023/03/13 14:09

Sample crash report:
loop0: detected capacity change from 0 to 64
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5148 at fs/buffer.c:1176 mark_buffer_dirty+0x2e5/0x520 fs/buffer.c:1176
Modules linked in:
CPU: 0 PID: 5148 Comm: syz-executor714 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:mark_buffer_dirty+0x2e5/0x520 fs/buffer.c:1176
Code: 89 df e8 9e 57 dd ff 48 8b 3b be 04 00 00 00 5b 41 5e 41 5f 5d e9 7b 0b fc ff e8 a6 fb 7b ff e9 73 ff ff ff e8 9c fb 7b ff 90 <0f> 0b 90 e9 61 fd ff ff e8 8e fb 7b ff 90 0f 0b 90 e9 88 fd ff ff
RSP: 0018:ffffc9000375f7e0 EFLAGS: 00010293
RAX: ffffffff821a0bf4 RBX: dffffc0000000001 RCX: ffff888018330000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff821a0951 R09: 1ffff1100fff8a3a
R10: dffffc0000000000 R11: ffffed100fff8a3b R12: ffff88807ffc4bc8
R13: ffff88807ffc51d0 R14: ffff88807ffc51d0 R15: ffff888076ef1200
FS:  00007f0a36b3b6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020004000 CR3: 000000002b402000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bfs_move_block fs/bfs/file.c:44 [inline]
 bfs_move_blocks fs/bfs/file.c:57 [inline]
 bfs_get_block+0x8f8/0xb90 fs/bfs/file.c:126
 __block_write_begin_int+0x50c/0x1a70 fs/buffer.c:2105
 __block_write_begin fs/buffer.c:2154 [inline]
 block_write_begin+0x9b/0x1e0 fs/buffer.c:2213
 bfs_write_begin+0x35/0xd0 fs/bfs/file.c:179
 generic_perform_write+0x322/0x640 mm/filemap.c:3974
 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4095
 call_write_iter include/linux/fs.h:2110 [inline]
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0xa84/0xcb0 fs/read_write.c:590
 ksys_write+0x1a0/0x2c0 fs/read_write.c:643
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0a36b84c19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0a36b3b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0a36c0c6c8 RCX: 00007f0a36b84c19
RDX: 000000000208e24b RSI: 0000000020000440 RDI: 0000000000000004
RBP: 00007f0a36c0c6c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0a36bd90c0
R13: 00007f0a36bd906b R14: 0030656c69662f2e R15: 0031656c69662f2e
 </TASK>

Crashes (333):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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/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/05/29 20:41 upstream 4a4be1ad3a6e 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-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/05/29 15:46 upstream e0cce98fe279 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/29 06:40 upstream e0cce98fe279 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/29 04:52 upstream e0cce98fe279 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/27 09:34 upstream 1613e604df0c a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/26 06:12 upstream 74eca356f6d4 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/25 11:43 upstream 56fb6f92854f a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/25 00:55 upstream 02c438bbfffe a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/22 19:44 upstream b6394d6f7159 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/22 17:34 upstream b6394d6f7159 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/22 16:21 upstream 8f6a15f095a6 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in mark_buffer_dirty
2024/05/21 23:22 upstream 8f6a15f095a6 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in mark_buffer_dirty
2024/05/21 16:22 upstream 8f6a15f095a6 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/19 17:45 upstream 0450d2083be6 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in mark_buffer_dirty
2024/05/19 07:05 upstream 0450d2083be6 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/16 09:41 upstream 8c06da67d0bd ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/15 21:46 upstream b850dc206a57 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/14 13:04 upstream 8815da98e06a fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/14 12:00 upstream a5131c3fdf26 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/05/14 01:37 upstream cd97950cbcab fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/05/13 19:56 upstream cd97950cbcab fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/05/13 15:34 upstream a38297e3fb01 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/13 05:06 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/12 23:46 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/12 20:35 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/12 11:50 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/12 08:26 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/05/12 06:07 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/05/12 01:01 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/12 01:01 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/11 23:33 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/11 18:09 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/11 16:54 upstream cf87f46fd34d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/05/11 00:44 upstream f4345f05c0df f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/10 15:33 upstream 448b3fe5a0ea f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in mark_buffer_dirty
2024/05/09 15:10 upstream 45db3ab70092 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in mark_buffer_dirty
2024/05/09 08:28 upstream 6d7ddd805123 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/08 06:44 upstream dccb07f2914c 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/08 05:29 upstream dccb07f2914c 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/07 21:48 upstream dccb07f2914c cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/07 20:07 upstream dccb07f2914c cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/07 08:34 upstream dccb07f2914c fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/07 05:08 upstream dccb07f2914c fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in mark_buffer_dirty
2024/05/19 19:50 upstream 0450d2083be6 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mark_buffer_dirty
2024/05/13 02:00 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mark_buffer_dirty
2024/05/10 17:33 upstream 448b3fe5a0ea 375932ce .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mark_buffer_dirty
2024/05/12 13:16 upstream cf87f46fd34d 9026e142 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mark_buffer_dirty
2024/05/26 17:34 linux-next 3689b0ef08b7 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/22 06:34 linux-next 124cfbcd6d18 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/13 11:53 linux-next 6ba6c795dc73 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/13 06:58 linux-next 75fa778d74b7 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/12 10:28 linux-next 75fa778d74b7 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/11 15:19 linux-next 75fa778d74b7 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mark_buffer_dirty
2024/05/24 11:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in mark_buffer_dirty
2024/05/20 16:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in mark_buffer_dirty
2024/05/20 16:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c c0f1611a .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.