Hello,
syzbot found the following crash on:
HEAD commit: c556d1ff Merge 4.14.78 into android-4.14
git tree: android-4.14
console output:
https://syzkaller.appspot.com/x/log.txt?x=14e8e21d400000
kernel config:
https://syzkaller.appspot.com/x/.config?x=71219c5dc171efec
dashboard link:
https://syzkaller.appspot.com/bug?extid=af02fe791c6b3458c9c0
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+af02fe...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 0 PID: 21205 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: 0 PID: 21205 Comm: syz-executor5 Not tainted 4.14.78+ #22
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+0x148/0x185 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:ffff8801cab97098 EFLAGS: 00010216
RAX: 0000000000040000 RBX: ffff8801cab97230 RCX: 00000000000343ef
RDX: ffffffff81744f0c RSI: ffffc90001137000 RDI: ffff8801d5914418
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801c3eedaf8
R13: 000000000000000e R14: 0000000000000001 R15: ffff8801c7cea080
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:1782 [inline]
do_iter_readv_writev+0x3a4/0x560 fs/read_write.c:678
do_iter_write+0x156/0x530 fs/read_write.c:957
vfs_iter_write+0x70/0xa0 fs/read_write.c:970
iter_file_splice_write+0x5b4/0xab0 fs/splice.c:749
do_splice_from fs/splice.c:851 [inline]
direct_splice_actor+0x116/0x160 fs/splice.c:1018
splice_direct_to_actor+0x28c/0x750 fs/splice.c:973
do_splice_direct+0x17b/0x220 fs/splice.c:1061
do_sendfile+0x4a1/0xb50 fs/read_write.c:1438
SYSC_sendfile64 fs/read_write.c:1493 [inline]
SyS_sendfile64+0xab/0x140 fs/read_write.c:1485
do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x457569
RSP: 002b:00007fe4b1034c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569
RDX: 0000000020000040 RSI: 0000000000000004 RDI: 0000000000000003
RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 00008000fffffffe R11: 0000000000000246 R12: 00007fe4b10356d4
R13: 00000000004c34d0 R14: 00000000004d5298 R15: 00000000ffffffff
Kernel Offset: 0x13c00000 from 0xffffffff81000000 (relocation range:
0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.