bisecting fixing commit since 811218eceeaa7618652e1b8d11caeff67ab42072 building syzkaller on 98682e5e2aefc9aad61354f4f3ac93be96002a2a testing commit 811218eceeaa7618652e1b8d11caeff67ab42072 with gcc (GCC) 8.4.1 20210217 kernel signature: b386ac6af1667d33304697817a62dbb452add314ddb47fae8f32a18425e2a429 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK reproducer seems to be flaky testing current HEAD 030194a5b292bb7613407668d85af0b987bb9839 testing commit 030194a5b292bb7613407668d85af0b987bb9839 with gcc (GCC) 8.4.1 20210217 kernel signature: f47d602778bdc810a923b3f58e43df700214e64d8c333eadcc3920ab9651bafe run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK Reproducer flagged being flaky revisions tested: 2, total time: 34m58.359478066s (build: 16m17.81058168s, test: 18m3.660346355s) the crash still happens on HEAD commit msg: Linux 4.19.180 crash: kernel BUG in ext4_write_inline_data_end EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue ------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:751! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12596 Comm: syz-executor.1 Not tainted 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_write_inline_data_end+0x398/0x530 fs/ext4/inline.c:751 Code: f9 48 c1 e9 03 80 3c 11 00 0f 85 5e 01 00 00 48 8b 7b 28 89 c1 ba e9 02 00 00 48 c7 c6 00 d5 18 88 e8 dc e8 0d 00 31 c0 eb 8e <0f> 0b 49 8d 78 08 48 89 f8 48 c1 e8 03 80 3c 10 00 0f 85 5c 01 00 RSP: 0018:ffff88807ce4f7f8 EFLAGS: 00010246 RAX: 0000008800080000 RBX: ffff88807fa59630 RCX: 1ffff1100ff4b292 RDX: dffffc0000000000 RSI: 0000008000080000 RDI: ffff88807fa594f0 RBP: ffff88807ce4f8a8 R08: 0000000000007051 R09: ffffffff8b5e3788 R10: ffff888098b98f00 R11: 0000000000000001 R12: ffffea000202f3c0 R13: 1ffff1100f9c9f04 R14: ffff88807ce4f840 R15: ffff88807ce4f880 FS: 00007f814c465700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd3828f000 CR3: 000000009cca8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_end+0x167/0xb10 fs/ext4/inode.c:1424 ext4_da_write_end+0x622/0x9b0 fs/ext4/inode.c:3171 generic_perform_write+0x2e3/0x480 mm/filemap.c:3181 __generic_file_write_iter+0x205/0x590 mm/filemap.c:3295 ext4_file_write_iter+0x281/0xe50 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465d99 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f814c465188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465d99 RDX: 0000000000000082 RSI: 0000000020000180 RDI: 0000000000000004 RBP: 00000000004bcf27 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc1fc42f5f R14: 00007f814c465300 R15: 0000000000022000 Modules linked in: ---[ end trace 3c1455d7ce0fa362 ]--- RIP: 0010:ext4_write_inline_data_end+0x398/0x530 fs/ext4/inline.c:751 Code: f9 48 c1 e9 03 80 3c 11 00 0f 85 5e 01 00 00 48 8b 7b 28 89 c1 ba e9 02 00 00 48 c7 c6 00 d5 18 88 e8 dc e8 0d 00 31 c0 eb 8e <0f> 0b 49 8d 78 08 48 89 f8 48 c1 e8 03 80 3c 10 00 0f 85 5c 01 00 RSP: 0018:ffff88807ce4f7f8 EFLAGS: 00010246 RAX: 0000008800080000 RBX: ffff88807fa59630 RCX: 1ffff1100ff4b292 RDX: dffffc0000000000 RSI: 0000008000080000 RDI: ffff88807fa594f0 RBP: ffff88807ce4f8a8 R08: 0000000000007051 R09: ffffffff8b5e3788 R10: ffff888098b98f00 R11: 0000000000000001 R12: ffffea000202f3c0 R13: 1ffff1100f9c9f04 R14: ffff88807ce4f840 R15: ffff88807ce4f880 FS: 00007f814c465700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd38296000 CR3: 000000009cca8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400