syzbot


WARNING in ext4_dio_get_block_overwrite

Status: auto-closed as invalid on 2019/06/12 07:43
Reported-by: syzbot+af02fe791c6b3458c9c0@syzkaller.appspotmail.com
First crash: 2241d, last: 2188d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in ext4_dio_get_block_overwrite 1 1649d 1649d 0/1 auto-closed as invalid on 2020/10/03 08:57
android-414 WARNING in ext4_dio_get_block_overwrite (2) 3 1874d 1928d 0/1 auto-closed as invalid on 2020/02/21 05:41
upstream WARNING in ext4_dio_get_block_overwrite ext4 11 2115d 2205d 0/28 auto-closed as invalid on 2019/08/23 22:50
android-49 WARNING in ext4_dio_get_block_overwrite 8 1855d 2067d 0/3 auto-closed as invalid on 2020/03/10 23:01

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 16519 at fs/ext4/inode.c:945 ext4_dio_get_block_overwrite+0x8c/0xc0 fs/ext4/inode.c:945
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 16519 Comm: syz-executor4 Not tainted 4.14.88+ #23
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xb9/0x11b lib/dump_stack.c:53
 panic+0x1bf/0x3a4 kernel/panic.c:181
 __warn.cold.7+0x2f/0x35 kernel/panic.c:542
 report_bug+0x1f7/0x26c lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 do_error_trap+0x1ba/0x2c0 arch/x86/kernel/traps.c:295
 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:944
RIP: 0010:ext4_dio_get_block_overwrite+0x8c/0xc0 fs/ext4/inode.c:945
RSP: 0018:ffff8881d6567538 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff8881d65676d0 RCX: 0000000000000b63
RDX: ffffffff8174864c RSI: ffffc90002da5000 RDI: ffff8881d58f9118
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881933d3a98
R13: 0000000000000000 R14: 0000000000000001 R15: ffff8881c2a58000
 get_more_blocks fs/direct-io.c:695 [inline]
 do_direct_IO fs/direct-io.c:980 [inline]
 do_blockdev_direct_IO fs/direct-io.c:1313 [inline]
 __blockdev_direct_IO+0x2b39/0xc4e0 fs/direct-io.c:1399
 ext4_direct_IO_write fs/ext4/inode.c:3710 [inline]
 ext4_direct_IO+0xdda/0x27f0 fs/ext4/inode.c:3863
 generic_file_direct_write+0x225/0x430 mm/filemap.c:2940
 __generic_file_write_iter+0x213/0x540 mm/filemap.c:3119
 ext4_file_write_iter+0x4f6/0xe20 fs/ext4/file.c:264
 call_write_iter include/linux/fs.h:1784 [inline]
 new_sync_write fs/read_write.c:471 [inline]
 __vfs_write+0x417/0x5c0 fs/read_write.c:484
 vfs_write+0x17f/0x4d0 fs/read_write.c:546
 SYSC_write fs/read_write.c:593 [inline]
 SyS_write+0xc2/0x1a0 fs/read_write.c:585
 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x457679
RSP: 002b:00007ff5bcac0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457679
RDX: 0000000000000200 RSI: 0000000020000400 RDI: 0000000000000004
RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff5bcac16d4
R13: 00000000004c2db5 R14: 00000000004da348 R15: 00000000ffffffff
Kernel Offset: 0x1e00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/14 07:43 android-4.14 4ee7197c44f6 fe7127be .config console log report ci-android-414-kasan-gce-root
2018/10/21 23:16 android-4.14 c556d1ffe528 ecb386fe .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.