bisecting fixing commit since de64d941a71a8421904c4474415ce7879596f313 building syzkaller on 8b277b8e2ac2f385eec24532a4786cc4ad12e9ae testing commit de64d941a71a8421904c4474415ce7879596f313 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c91b0d50fcaf5d73132806be624a1c185540f677dde2f8bdec0438b3068e4653 all runs: crashed: kernel BUG in ext4_writepages testing current HEAD fdd06dc6b0f832a9cd8033438cc3b01d253c3981 testing commit fdd06dc6b0f832a9cd8033438cc3b01d253c3981 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 112347a2251d8329d394afb5031574b96250a8f5b2cfd01add59170c9493cc64 all runs: crashed: kernel BUG in ext4_writepages revisions tested: 2, total time: 20m33.288316326s (build: 14m16.128555821s, test: 5m37.258159232s) the crash still happens on HEAD commit msg: ANDROID: GKI: db845c: Update symbols list and ABI crash: kernel BUG in ext4_writepages EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2752! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 411 Comm: syz-executor.0 Not tainted 5.10.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_writepages+0x1f21/0x2a50 fs/ext4/inode.c:2752 Code: e8 e4 6a d1 ff e9 98 ee ff ff 0f 0b 8b 85 18 fd ff ff 31 db 89 85 c8 fd ff ff e9 70 fb ff ff 89 85 c8 fd ff ff e9 cd ea ff ff <0f> 0b 49 8d bc 24 a0 03 00 00 83 c8 01 be 04 00 00 00 89 43 28 e8 RSP: 0018:ffffc900008e7508 EFLAGS: 00010247 RAX: 0000008410000000 RBX: ffff88810d6c3000 RCX: ffffffff81ba07fc RDX: 1ffff1102400bece RSI: 0000000000000008 RDI: ffff88812005f670 RBP: ffffc900008e7858 R08: 0000000000000000 R09: ffff88812005f677 R10: ffffed102400bece R11: 0000000000000000 R12: ffff88812005f670 R13: 0000000000000001 R14: ffffc900008e7830 R15: ffff88812005f7b8 FS: 00007f354aa3f700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002580 CR3: 000000010d06f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0xdc/0x260 mm/page-writeback.c:2358 __filemap_fdatawrite_range+0x25f/0x340 mm/filemap.c:427 file_write_and_wait_range+0x92/0xf0 mm/filemap.c:766 ext4_sync_file+0x187/0xac0 fs/ext4/fsync.c:151 vfs_fsync_range+0xee/0x220 fs/sync.c:200 generic_write_sync include/linux/fs.h:2796 [inline] ext4_buffered_write_iter+0x2df/0x430 fs/ext4/file.c:280 ext4_file_write_iter+0x358/0x1670 fs/ext4/file.c:683 call_write_iter include/linux/fs.h:1947 [inline] new_sync_write+0x358/0x6d0 fs/read_write.c:518 vfs_write+0x4f5/0x750 fs/read_write.c:605 ksys_write+0x111/0x210 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:667 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f354aac90e9 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:00007f354aa3f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f354abdbf60 RCX: 00007f354aac90e9 RDX: 0000000000000016 RSI: 0000000020002580 RDI: 0000000000000009 RBP: 00007f354ab2308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb9852dbf R14: 00007f354aa3f300 R15: 0000000000022000 Modules linked in: ---[ end trace afd7d0904c027890 ]--- RIP: 0010:ext4_writepages+0x1f21/0x2a50 fs/ext4/inode.c:2752 Code: e8 e4 6a d1 ff e9 98 ee ff ff 0f 0b 8b 85 18 fd ff ff 31 db 89 85 c8 fd ff ff e9 70 fb ff ff 89 85 c8 fd ff ff e9 cd ea ff ff <0f> 0b 49 8d bc 24 a0 03 00 00 83 c8 01 be 04 00 00 00 89 43 28 e8 RSP: 0018:ffffc900008e7508 EFLAGS: 00010247 RAX: 0000008410000000 RBX: ffff88810d6c3000 RCX: ffffffff81ba07fc RDX: 1ffff1102400bece RSI: 0000000000000008 RDI: ffff88812005f670 RBP: ffffc900008e7858 R08: 0000000000000000 R09: ffff88812005f677 R10: ffffed102400bece R11: 0000000000000000 R12: ffff88812005f670 R13: 0000000000000001 R14: ffffc900008e7830 R15: ffff88812005f7b8 FS: 00007f354aa3f700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d8e5b5c2c8 CR3: 000000010d06f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400