syzbot


kernel BUG in ext4_ext_insert_extent

Status: auto-closed as invalid on 2022/05/24 20:39
Reported-by: syzbot+22141db4bd02f79c927a@syzkaller.appspotmail.com
First crash: 815d, last: 815d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ext4_ext_insert_extent ext4 1 1141d 1137d 0/26 auto-closed as invalid on 2021/06/02 20:11
upstream kernel BUG in ext4_split_extent_at ext4 1 801d 796d 0/26 auto-closed as invalid on 2022/06/08 01:32
upstream kernel BUG at fs/ext4/extents.c:LINE! ext4 C 1 2209d 2209d 5/26 fixed on 2018/05/08 18:30

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/extents.c:2131!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3538 Comm: syz-executor.2 Not tainted 5.4.161-syzkaller-00035-g3307e1a05838 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ext4_ext_insert_extent+0x51b6/0x51f0 fs/ext4/extents.c:2131
Code: 24 2c 01 00 00 80 e1 04 80 c9 03 38 c1 0f 8c 5b f3 ff ff 48 8d bc 24 2c 01 00 00 e8 84 c6 d8 ff e9 49 f3 ff ff e8 da a9 ab ff <0f> 0b e8 d3 a9 ab ff 0f 0b e8 cc a9 ab ff 0f 0b e8 c5 a9 ab ff 0f
RSP: 0018:ffff8881d1d57898 EFLAGS: 00010287
RAX: ffffffff81b4fc86 RBX: 0000000000000800 RCX: 0000000000040000
RDX: ffffc90007023000 RSI: 0000000000009b59 RDI: 0000000000009b5a
RBP: 0000000000000800 R08: ffffffff81b4d5b2 R09: ffffed10393c7255
R10: ffffed10393c7255 R11: 0000000000000000 R12: ffff8881d1d57b38
R13: ffff8881c7660000 R14: ffff8881c7660048 R15: ffff8881e1a4da00
FS:  00007fa0f52ee700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb612ffa718 CR3: 00000001ed4e7000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_ext_map_blocks+0x22e6/0x4200 fs/ext4/extents.c:4499
 ext4_map_blocks+0x933/0x1cf0 fs/ext4/inode.c:659
 ext4_alloc_file_blocks+0x352/0xbf0 fs/ext4/extents.c:4662
 ext4_zero_range+0x65f/0x1690 fs/ext4/extents.c:4777
 vfs_fallocate+0x564/0x840 fs/open.c:309
 ksys_fallocate fs/open.c:332 [inline]
 __do_sys_fallocate fs/open.c:340 [inline]
 __se_sys_fallocate fs/open.c:338 [inline]
 __x64_sys_fallocate+0xb9/0x100 fs/open.c:338
 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fa0f6178059
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa0f52ee168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007fa0f628af60 RCX: 00007fa0f6178059
RDX: 0000000000008003 RSI: 0000000000000010 RDI: 0000000000000005
RBP: 00007fa0f61d208d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008020001 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcc46d319f R14: 00007fa0f52ee300 R15: 0000000000022000
Modules linked in:
---[ end trace 0c64205b371b9a00 ]---
RIP: 0010:ext4_ext_insert_extent+0x51b6/0x51f0 fs/ext4/extents.c:2131
Code: 24 2c 01 00 00 80 e1 04 80 c9 03 38 c1 0f 8c 5b f3 ff ff 48 8d bc 24 2c 01 00 00 e8 84 c6 d8 ff e9 49 f3 ff ff e8 da a9 ab ff <0f> 0b e8 d3 a9 ab ff 0f 0b e8 cc a9 ab ff 0f 0b e8 c5 a9 ab ff 0f
RSP: 0018:ffff8881d1d57898 EFLAGS: 00010287
RAX: ffffffff81b4fc86 RBX: 0000000000000800 RCX: 0000000000040000
RDX: ffffc90007023000 RSI: 0000000000009b59 RDI: 0000000000009b5a
RBP: 0000000000000800 R08: ffffffff81b4d5b2 R09: ffffed10393c7255
R10: ffffed10393c7255 R11: 0000000000000000 R12: ffff8881d1d57b38
R13: ffff8881c7660000 R14: ffff8881c7660048 R15: ffff8881e1a4da00
FS:  00007fa0f52ee700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555af7098 CR3: 00000001ed4e7000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/24 20:39 android12-5.4 3307e1a05838 2cbffd88 .config console log report info ci2-android-5-4-kasan kernel BUG in ext4_ext_insert_extent
* Struck through repros no longer work on HEAD.