Hello,
syzbot found the following crash on:
HEAD commit: d32a4878 ANDROID: reset: hisi-reboot: adb reboot bootloader
git tree: android-5.4
console output:
https://syzkaller.appspot.com/x/log.txt?x=127c81aee00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c023850fbc26c909
dashboard link:
https://syzkaller.appspot.com/bug?extid=f4b1559572b9dba7bfbc
compiler: Android (6032204 based on r370808) clang version 10.0.1
(
https://android.googlesource.com/toolchain/llvm-project
6e765c10313d15c02ab29977a82938f66742c3a9)
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+f4b155...@syzkaller.appspotmail.com
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2715!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 25668 Comm: kworker/u4:6 Tainted: G W
5.4.11-syzkaller-00385-gd32a4878e299 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Workqueue: writeback wb_workfn (flush-8:0)
RIP: 0010:mpage_prepare_extent_to_map+0xb47/0xb60 fs/ext4/inode.c:2715
Code: e8 8e 8c ce ff e9 fb f6 ff ff 44 89 e1 80 e1 07 38 c1 0f 8c bc fe ff
ff 4c 89 e7 e8 73 8c ce ff e9 af fe ff ff e8 39 99 a0 ff <0f> 0b e8 32 99
a0 ff 0f 0b e8 5b af 77 ff 90 66 2e 0f 1f 84 00 00
RSP: 0000:ffff8881996c6e00 EFLAGS: 00010293
RAX: ffffffff81a1f907 RBX: 0000000000000000 RCX: ffff8881d40dc9c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881996c6fd0 R08: ffffffff81a1f5ad R09: fffff94000d88011
R10: fffff94000d88011 R11: 0000000000000000 R12: ffffea0006c40080
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881996c72b8
FS: 0000000000000000(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe93214ba0 CR3: 00000001ce450001 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
ext4_writepages+0x140d/0x47a0 fs/ext4/inode.c:2844
do_writepages+0x12e/0x290 mm/page-writeback.c:2344
__writeback_single_inode+0x1f6/0xbe0 fs/fs-writeback.c:1452
writeback_sb_inodes+0xa88/0x19c0 fs/fs-writeback.c:1716
wb_writeback+0x5ed/0xc30 fs/fs-writeback.c:1892
wb_do_writeback fs/fs-writeback.c:2037 [inline]
wb_workfn+0x54c/0x13a0 fs/fs-writeback.c:2078
process_one_work+0x9d8/0x1030 kernel/workqueue.c:2269
worker_thread+0xbbc/0x1610 kernel/workqueue.c:2415
kthread+0x31a/0x340 kernel/kthread.c:255
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace b642cb5ad6b768e3 ]---
RIP: 0010:mpage_prepare_extent_to_map+0xb47/0xb60 fs/ext4/inode.c:2715
Code: e8 8e 8c ce ff e9 fb f6 ff ff 44 89 e1 80 e1 07 38 c1 0f 8c bc fe ff
ff 4c 89 e7 e8 73 8c ce ff e9 af fe ff ff e8 39 99 a0 ff <0f> 0b e8 32 99
a0 ff 0f 0b e8 5b af 77 ff 90 66 2e 0f 1f 84 00 00
RSP: 0000:ffff8881996c6e00 EFLAGS: 00010293
RAX: ffffffff81a1f907 RBX: 0000000000000000 RCX: ffff8881d40dc9c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881996c6fd0 R08: ffffffff81a1f5ad R09: fffff94000d88011
R10: fffff94000d88011 R11: 0000000000000000 R12: ffffea0006c40080
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881996c72b8
FS: 0000000000000000(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001d565b002 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
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.