------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2844! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 884 Comm: syz-executor.0 Not tainted 5.4.284-syzkaller-04999-gd4ce9fcac38b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ext4_writepages+0x3c96/0x3cc0 fs/ext4/inode.c:2843 Code: a7 9b ff 31 ff 89 de e8 58 a7 9b ff 45 84 f6 75 2e e8 3e a5 9b ff 49 bf 00 00 00 00 00 fc ff df e9 1d f9 ff ff e8 2a a5 9b ff <0f> 0b e8 23 a5 9b ff 0f 0b e8 1c a5 9b ff e8 b7 c2 37 ff eb 99 e8 RSP: 0018:ffff8881d91b73e0 EFLAGS: 00010293 RAX: ffffffff81c89176 RBX: 0000010000000000 RCX: ffff8881e35d8fc0 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881d91b77d0 R08: ffffffff81c85dc6 R09: ffffed103b29c67d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881d94e3490 R13: 0000000000000001 R14: 0000010410000000 R15: dffffc0000000000 FS: 00007f14154266c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f140d105000 CR3: 00000001e1399000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x12b/0x270 mm/page-writeback.c:2366 __filemap_fdatawrite_range+0x33c/0x3f0 mm/filemap.c:421 file_write_and_wait_range+0x83/0x110 mm/filemap.c:782 __generic_file_fsync+0x6e/0x190 fs/libfs.c:1022 ext4_sync_file+0x251/0xcc0 fs/ext4/fsync.c:118 generic_write_sync include/linux/fs.h:2978 [inline] ext4_file_write_iter+0xa03/0x10e0 fs/ext4/file.c:281 call_write_iter include/linux/fs.h:1989 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x5d3/0x750 fs/read_write.c:496 vfs_write+0x206/0x4e0 fs/read_write.c:558 ksys_write+0x199/0x2c0 fs/read_write.c:611 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f14158a38d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f14154260c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f14159c2f80 RCX: 00007f14158a38d9 RDX: 0000000000000009 RSI: 0000000020000f80 RDI: 0000000000000004 RBP: 00007f14158ffad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f14159c2f80 R15: 00007fff83b89968 Modules linked in: ---[ end trace 528eafc006ce5a30 ]--- RIP: 0010:ext4_writepages+0x3c96/0x3cc0 fs/ext4/inode.c:2843 Code: a7 9b ff 31 ff 89 de e8 58 a7 9b ff 45 84 f6 75 2e e8 3e a5 9b ff 49 bf 00 00 00 00 00 fc ff df e9 1d f9 ff ff e8 2a a5 9b ff <0f> 0b e8 23 a5 9b ff 0f 0b e8 1c a5 9b ff e8 b7 c2 37 ff eb 99 e8 RSP: 0018:ffff8881d91b73e0 EFLAGS: 00010293 RAX: ffffffff81c89176 RBX: 0000010000000000 RCX: ffff8881e35d8fc0 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881d91b77d0 R08: ffffffff81c85dc6 R09: ffffed103b29c67d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881d94e3490 R13: 0000000000000001 R14: 0000010410000000 R15: dffffc0000000000 FS: 00007f14154266c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f140d105000 CR3: 00000001e1399000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400