------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2746! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15809 Comm: syz.9.4141 Tainted: G W 5.15.167-syzkaller-android13-5.15.167_r00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2745 Code: 89 de e8 0d 6f 87 ff 45 84 f6 75 2c e8 73 6c 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 5a 6c 87 ff <0f> 0b e8 53 6c 87 ff e8 aa 9c 17 ff eb 9b e8 47 6c 87 ff e8 9e 9c RSP: 0018:ffffc90001207240 EFLAGS: 00010287 RAX: ffffffff81e8eb26 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc90001439000 RSI: 0000000000000347 RDI: 0000000000000348 RBP: ffffc90001207650 R08: ffffffff81e8e296 R09: ffffed1024e2b759 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90001207880 R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001 FS: 00007f691e6316c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffe8 CR3: 00000001608cb000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x40e/0x670 mm/page-writeback.c:2388 filemap_fdatawrite_wbc+0x248/0x2a0 mm/filemap.c:404 __filemap_fdatawrite_range mm/filemap.c:437 [inline] file_write_and_wait_range+0x1cb/0x2b0 mm/filemap.c:814 ext4_sync_file+0x1a2/0xa50 fs/ext4/fsync.c:151 vfs_fsync_range+0x17b/0x190 fs/sync.c:188 generic_write_sync include/linux/fs.h:3030 [inline] ext4_buffered_write_iter+0x568/0x610 fs/ext4/file.c:277 ext4_file_write_iter+0x443/0x1c80 call_write_iter include/linux/fs.h:2204 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xd5d/0x1110 fs/read_write.c:594 ksys_write+0x199/0x2c0 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:656 x64_sys_call+0x2f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f691f9b8719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f691e631038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f691fb6ff80 RCX: 00007f691f9b8719 RDX: 0000000000000040 RSI: 0000000020000000 RDI: 000000000000000b RBP: 00007f691fa2b32e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f691fb6ff80 R15: 00007ffc3203eca8 Modules linked in: ---[ end trace f09aa92e890978fa ]--- RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2745 Code: 89 de e8 0d 6f 87 ff 45 84 f6 75 2c e8 73 6c 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 5a 6c 87 ff <0f> 0b e8 53 6c 87 ff e8 aa 9c 17 ff eb 9b e8 47 6c 87 ff e8 9e 9c RSP: 0018:ffffc90001207240 EFLAGS: 00010287 RAX: ffffffff81e8eb26 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc90001439000 RSI: 0000000000000347 RDI: 0000000000000348 RBP: ffffc90001207650 R08: ffffffff81e8e296 R09: ffffed1024e2b759 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90001207880 R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001 FS: 00007f691e6316c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffe8 CR3: 00000001608cb000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400