syzbot


WARNING in mark_buffer_dirty

Status: closed as invalid on 2019/07/24 04:22
Reported-by: syzbot+137b5b6092cc658adb927eb6f016a5721e040e17@syzkaller.appspotmail.com
First crash: 1910d, last: 1520d
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in mark_buffer_dirty bfs C error 10 30d 376d 0/1 upstream: reported C repro on 2022/01/20 22:23
upstream WARNING in mark_buffer_dirty (4) nilfs2 bfs C inconclusive 751 13h12m 211d 0/24 upstream: reported C repro on 2022/07/04 10:22
android-44 WARNING in mark_buffer_dirty 2 1490d 1388d 0/2 auto-closed as invalid on 2019/07/01 11:44
linux-4.14 WARNING in mark_buffer_dirty (2) nilfs2 C error 6 22d 355d 0/1 upstream: reported C repro on 2022/02/10 08:17
upstream WARNING in mark_buffer_dirty (2) 665 1022d 1154d 0/24 auto-closed as invalid on 2020/07/14 01:44
upstream WARNING in mark_buffer_dirty (3) 2 703d 716d 0/24 auto-closed as invalid on 2021/06/27 09:01
android-49 WARNING in mark_buffer_dirty 7 1336d 1388d 0/3 auto-closed as invalid on 2019/10/25 08:47
linux-4.14 WARNING in mark_buffer_dirty 1 1115d 1115d 0/1 auto-closed as invalid on 2020/05/11 07:45

Sample crash report:
print_req_error: I/O error, dev loop0, sector 72
Buffer I/O error on dev loop0, logical block 9, lost async page write
WARNING: CPU: 0 PID: 4479 at fs/buffer.c:1079 mark_buffer_dirty+0x555/0x6b0 fs/buffer.c:1079
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 4479 Comm: syzkaller958588 Not tainted 4.16.0+ #3
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1b9/0x294 lib/dump_stack.c:113
 panic+0x22f/0x4de kernel/panic.c:184
 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:991
RIP: 0010:mark_buffer_dirty+0x555/0x6b0 fs/buffer.c:1079
RSP: 0018:ffff8801aa8a7058 EFLAGS: 00010293
RAX: ffff8801af19a4c0 RBX: ffff8801aa594150 RCX: ffffffff81cb40bf
RDX: 0000000000000000 RSI: ffffffff81cb4565 RDI: 0000000000000007
RBP: ffff8801aa8a7168 R08: ffff8801af19a4c0 R09: ffffea0006bc1b00
R10: ffffed0035e0d9ff R11: ffff8801af06cfff R12: 1ffff10035514e0c
R13: 0000000000000000 R14: ffff8801aa8a7140 R15: dffffc0000000000
 __block_commit_write.isra.35+0x19a/0x390 fs/buffer.c:2031
 block_write_end+0xa5/0x260 fs/buffer.c:2109
 blkdev_write_end+0xc5/0x2d0 fs/block_dev.c:593
 generic_perform_write+0x4c9/0x6a0 mm/filemap.c:3151
 __generic_file_write_iter+0x3be/0x5e0 mm/filemap.c:3265
 blkdev_write_iter+0x233/0x420 fs/block_dev.c:1910
 call_write_iter include/linux/fs.h:1784 [inline]
 do_iter_readv_writev+0x6a0/0x970 fs/read_write.c:680
 do_iter_write+0x185/0x5f0 fs/read_write.c:959
 vfs_iter_write+0x77/0xb0 fs/read_write.c:972
 iter_file_splice_write+0x8cb/0xff0 fs/splice.c:749
 do_splice_from fs/splice.c:851 [inline]
 direct_splice_actor+0x128/0x190 fs/splice.c:1018
 splice_direct_to_actor+0x310/0x8d0 fs/splice.c:973
 do_splice_direct+0x2cc/0x400 fs/splice.c:1061
 do_sendfile+0x60f/0xe00 fs/read_write.c:1440
 SYSC_sendfile64 fs/read_write.c:1495 [inline]
 SyS_sendfile64+0xdf/0x190 fs/read_write.c:1487
 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x449a59
RSP: 002b:00007efdef906ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000449a59
RDX: 0000000020000000 RSI: 0000000000000014 RDI: 0000000000000013
RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000080000000007 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff9b9fb0df R14: 00007efdef9079c0 R15: 0000000000000001
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (21):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2018/04/15 20:11 upstream 18b7fd1c93e5 7a67784c .config console log report syz C
skylake-linux-next-kasan-qemu 2017/11/09 22:34 linux-next 5515cf16e270 e0a2b195 .config console log report syz C
ci-upstream-kasan-gce 2018/12/04 03:13 upstream 0072a0c14d5b 03f94a45 .config console log report syz
ci-upstream-kasan-gce 2017/11/09 18:28 upstream 87df26175e67 e0a2b195 .config console log report syz
ci-upstream-kasan-gce-386 2018/04/27 12:37 upstream 0644f186fc9d 73417389 .config console log report syz
ci-upstream-kasan-gce 2018/07/22 21:12 upstream 45ae4df92207 8cc079c3 .config console log report
ci-upstream-kasan-gce-root 2018/07/20 06:19 upstream fb7d1bcf1602 49f35839 .config console log report
ci-upstream-kasan-gce 2018/07/19 18:22 upstream 024ddc0ce104 49f35839 .config console log report
ci-upstream-kasan-gce 2018/07/16 12:07 upstream 9d3cce1e8b85 92a49505 .config console log report
ci-upstream-kasan-gce 2018/07/01 00:33 upstream 0fbc4aeabc91 dba0b50e .config console log report
ci-upstream-kasan-gce-root 2018/06/11 23:01 upstream f0dc7f9c6dd9 112eec79 .config console log report
ci-upstream-kasan-gce 2017/12/15 07:56 upstream d455df0bcc00 ac20b98c .config console log report
ci-upstream-kasan-gce 2017/11/09 02:33 upstream d6a2cf07f0c9 e0a2b195 .config console log report
ci-upstream-kasan-gce-386 2018/07/17 21:55 upstream 30b06abfb92b 6d5bd5b5 .config console log report
ci-upstream-linux-next-kasan-gce-root 2018/07/28 23:03 linux-next d1e0b8e0cb7a ebf656d7 .config console log report
ci-upstream-linux-next-kasan-gce-root 2018/07/24 13:03 linux-next 3946cd385042 375a3e31 .config console log report
ci-upstream-kmsan-gce 2018/06/04 08:00 https://github.com/google/kmsan.git master 8fc8ecd1c58a 6cbe7c26 .config console log report
ci-upstream-kmsan-gce 2018/05/28 01:29 https://github.com/google/kmsan.git master 1b9cd4eccac9 f48c20b8 .config console log report
ci-upstream-kmsan-gce 2018/05/27 18:09 https://github.com/google/kmsan.git master 1b9cd4eccac9 f48c20b8 .config console log report
ci-upstream-kmsan-gce 2018/05/20 05:50 https://github.com/google/kmsan.git master 9f127b7ceaf7 f48c20b8 .config console log report
ci-upstream-kmsan-gce 2018/05/18 06:51 https://github.com/google/kmsan.git master cd34f1881058 738d58ad .config console log report
* Struck through repros no longer work on HEAD.