syzbot


WARNING in __mark_inode_dirty

Status: auto-closed as invalid on 2020/06/21 10:48
Reported-by: syzbot+b146f599f6750c70cb2b@syzkaller.appspotmail.com
First crash: 899d, last: 858d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __mark_inode_dirty 1 1684d 1680d 0/22 closed as invalid on 2018/02/13 19:14
android-414 WARNING in __mark_inode_dirty (2) syz 7 945d 1006d 0/1 public: reported syz repro on 2019/09/26 21:43
upstream WARNING in __mark_inode_dirty (2) 1 1464d 1464d 0/22 auto-closed as invalid on 2019/02/22 10:29
linux-4.14 WARNING in __mark_inode_dirty (2) 5 481d 707d 0/1 auto-closed as invalid on 2021/07/03 15:16
android-414 WARNING in __mark_inode_dirty 11 1241d 1173d 0/1 auto-closed as invalid on 2019/08/03 08:11

Sample crash report:
bdi-block not registered
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1969 at fs/fs-writeback.c:2207 __mark_inode_dirty.cold+0x2f/0x40 fs/fs-writeback.c:2207
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 1969 Comm: syz-executor.3 Not tainted 4.14.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x142/0x197 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x2f kernel/panic.c:547
 report_bug+0x216/0x254 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:__mark_inode_dirty.cold+0x2f/0x40 fs/fs-writeback.c:2207
RSP: 0018:ffff888037f2f4a0 EFLAGS: 00010282
RAX: 0000000000000018 RBX: ffff888095c71858 RCX: 0000000000000000
RDX: 0000000000007a1e RSI: ffffffff814b0aa5 RDI: ffffed1006fe5e8a
RBP: ffff888037f2f4e0 R08: 0000000000000018 R09: ffff88805c24e9a0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88805cbfcb98
R13: ffff88805cbfcb40 R14: ffff888095c71930 R15: ffff888095c718e0
 mark_buffer_dirty+0x356/0x4a0 fs/buffer.c:1177
 __block_commit_write.isra.0+0x139/0x200 fs/buffer.c:2100
 block_write_end+0x4d/0x100 fs/buffer.c:2178
 blkdev_write_end+0x42/0x200 fs/block_dev.c:620
 generic_perform_write+0x29f/0x480 mm/filemap.c:3058
 __generic_file_write_iter+0x239/0x5b0 mm/filemap.c:3172
 blkdev_write_iter fs/block_dev.c:1914 [inline]
 blkdev_write_iter+0x1e8/0x3a0 fs/block_dev.c:1891
 call_write_iter include/linux/fs.h:1777 [inline]
 do_iter_readv_writev+0x418/0x670 fs/read_write.c:675
 do_iter_write fs/read_write.c:954 [inline]
 do_iter_write+0x154/0x540 fs/read_write.c:935
 vfs_iter_write+0x77/0xb0 fs/read_write.c:967
 iter_file_splice_write+0x572/0xad0 fs/splice.c:749
 do_splice_from fs/splice.c:851 [inline]
 direct_splice_actor+0x123/0x190 fs/splice.c:1018
 splice_direct_to_actor+0x29e/0x7b0 fs/splice.c:973
 do_splice_direct+0x18d/0x230 fs/splice.c:1061
 do_sendfile+0x4db/0xbd0 fs/read_write.c:1441
 SYSC_sendfile64 fs/read_write.c:1502 [inline]
 SyS_sendfile64+0x102/0x110 fs/read_write.c:1488
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c429
RSP: 002b:00007f7ac96c2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f7ac96c36d4 RCX: 000000000045c429
RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000009
RBP: 000000000076bfc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0020000102000003 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000008d1 R14: 00000000004cb324 R15: 000000000076bfcc
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/02/22 10:47 linux-4.14.y 98db2bf27b9e 2ffa6679 .config log report
ci2-linux-4-14 2020/01/17 22:01 linux-4.14.y c1141b3aab36 3de7aabb .config log report
ci2-linux-4-14 2020/01/12 12:24 linux-4.14.y 6d0c334a400d 31290a45 .config log report