bisecting fixing commit since 14702b3b2438e2f2d07ae93b5d695c166e5c83d1 building syzkaller on e2d91b1d0dd8c8b4760986ec8114469246022bb8 testing commit 14702b3b2438e2f2d07ae93b5d695c166e5c83d1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4865494d840db89a4c0d18bfe3dd45648a771bd33b27d0949347d5d9e622d65e all runs: crashed: kernel BUG in ext4_es_cache_extent testing current HEAD 559089e0a93d44280ec3ab478830af319c56dbe3 testing commit 559089e0a93d44280ec3ab478830af319c56dbe3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f6ec23f7239e6a76794669e66ec51dd18e3e91018e3b2124f55d38996b9b2114 all runs: crashed: kernel BUG in ext4_es_cache_extent revisions tested: 2, total time: 18m21.463996383s (build: 11m59.534422358s, test: 5m47.415287524s) the crash still happens on HEAD commit msg: vmalloc: replace VM_NO_HUGE_VMAP with VM_ALLOW_HUGE_VMAP crash: kernel BUG in ext4_es_cache_extent EXT4-fs (loop5): mounted filesystem without journal. Quota mode: writeback. ------------[ cut here ]------------ kernel BUG at fs/ext4/extents_status.c:899! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4045 Comm: syz-executor.5 Not tainted 5.18.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_es_cache_extent+0x3e2/0x420 fs/ext4/extents_status.c:899 Code: 48 8b 0c 24 e9 cc fc ff ff 44 89 44 24 0c 48 89 0c 24 e8 e1 93 b7 ff 44 8b 44 24 0c 48 8b 0c 24 e9 d6 fc ff ff e8 4e 04 99 06 <0f> 0b 48 c7 c7 c0 cc 92 8c e8 c0 93 b7 ff e9 1a ff ff ff e8 b6 93 RSP: 0018:ffffc90003036e98 EFLAGS: 00010213 RAX: 0000000000000001 RBX: 1ffff92000606dd5 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff88eb8440 RDI: ffffffff89422420 RBP: ffff888066d2b7f0 R08: 0000000000000000 R09: ffffffff8ca6a817 R10: fffffbfff194d502 R11: 0000000000000001 R12: 000000000000039e R13: 00000000ffffffff R14: 0000000000000000 R15: 00000000ffffffff FS: 00007fe4154ae700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2dad1b0000 CR3: 000000007e1c9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_cache_extents+0xe4/0x240 fs/ext4/extents.c:518 ext4_find_extent+0x88b/0xc70 fs/ext4/extents.c:916 ext4_ext_map_blocks+0x19c/0x4d20 fs/ext4/extents.c:4097 ext4_map_blocks+0x729/0x1330 fs/ext4/inode.c:561 ext4_getblk+0x111/0x580 fs/ext4/inode.c:847 ext4_bread_batch+0x68/0x390 fs/ext4/inode.c:921 __ext4_find_entry+0x3b8/0xd50 fs/ext4/namei.c:1600 ext4_lookup_entry fs/ext4/namei.c:1701 [inline] ext4_lookup fs/ext4/namei.c:1769 [inline] ext4_lookup+0x13b/0x5c0 fs/ext4/namei.c:1760 __lookup_slow+0x1fe/0x3c0 fs/namei.c:1707 lookup_slow fs/namei.c:1724 [inline] walk_component+0x35c/0x5f0 fs/namei.c:2020 link_path_walk.part.0+0x550/0xb80 fs/namei.c:2347 link_path_walk fs/namei.c:2272 [inline] path_openat+0x204/0x2360 fs/namei.c:3605 do_filp_open+0x199/0x3d0 fs/namei.c:3636 do_sys_openat2+0x11e/0x3f0 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x11b/0x1d0 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe414289049 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:00007fe4154ae168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fe41439bf60 RCX: 00007fe414289049 RDX: 000000000000c880 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007fe4142e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1594f9bf R14: 00007fe4154ae300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_es_cache_extent+0x3e2/0x420 fs/ext4/extents_status.c:899 Code: 48 8b 0c 24 e9 cc fc ff ff 44 89 44 24 0c 48 89 0c 24 e8 e1 93 b7 ff 44 8b 44 24 0c 48 8b 0c 24 e9 d6 fc ff ff e8 4e 04 99 06 <0f> 0b 48 c7 c7 c0 cc 92 8c e8 c0 93 b7 ff e9 1a ff ff ff e8 b6 93 RSP: 0018:ffffc90003036e98 EFLAGS: 00010213 RAX: 0000000000000001 RBX: 1ffff92000606dd5 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff88eb8440 RDI: ffffffff89422420 RBP: ffff888066d2b7f0 R08: 0000000000000000 R09: ffffffff8ca6a817 R10: fffffbfff194d502 R11: 0000000000000001 R12: 000000000000039e R13: 00000000ffffffff R14: 0000000000000000 R15: 00000000ffffffff FS: 00007fe4154ae700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000