------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2844! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1197 Comm: syz.0.186 Not tainted 5.4.290-syzkaller-00017-g6b07fcd94a6a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:ext4_writepages+0x3c96/0x3cc0 fs/ext4/inode.c:2843 Code: 99 9b ff 31 ff 89 de e8 b8 99 9b ff 45 84 f6 75 2e e8 9e 97 9b ff 49 bf 00 00 00 00 00 fc ff df e9 1d f9 ff ff e8 8a 97 9b ff <0f> 0b e8 83 97 9b ff 0f 0b e8 7c 97 9b ff e8 b7 a0 37 ff eb 99 e8 RSP: 0018:ffff8881e923f7c0 EFLAGS: 00010293 RAX: ffffffff81c8b376 RBX: 0000010000000000 RCX: ffff8881dff99f80 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e923fbb0 R08: ffffffff81c87fc6 R09: ffffed1039661a9f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881cb30d5a0 R13: 0000000000000001 R14: 0000010410000000 R15: dffffc0000000000 FS: 00007f103d2046c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000002 CR3: 00000001dd8d8000 CR4: 00000000003406b0 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 vfs_fsync_range fs/sync.c:200 [inline] vfs_fsync fs/sync.c:214 [inline] do_fsync fs/sync.c:224 [inline] __do_sys_fsync fs/sync.c:233 [inline] __se_sys_fsync fs/sync.c:231 [inline] __x64_sys_fsync+0x198/0x200 fs/sync.c:231 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f103eb9a169 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:00007f103d204038 EFLAGS: 00000246 ORIG_RAX: 000000000000004a RAX: ffffffffffffffda RBX: 00007f103edb2fa0 RCX: 00007f103eb9a169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f103ec1b2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f103edb2fa0 R15: 00007ffd31dab028 Modules linked in: ---[ end trace 9d98fdbeda7d2840 ]--- RIP: 0010:ext4_writepages+0x3c96/0x3cc0 fs/ext4/inode.c:2843 Code: 99 9b ff 31 ff 89 de e8 b8 99 9b ff 45 84 f6 75 2e e8 9e 97 9b ff 49 bf 00 00 00 00 00 fc ff df e9 1d f9 ff ff e8 8a 97 9b ff <0f> 0b e8 83 97 9b ff 0f 0b e8 7c 97 9b ff e8 b7 a0 37 ff eb 99 e8 RSP: 0018:ffff8881e923f7c0 EFLAGS: 00010293 RAX: ffffffff81c8b376 RBX: 0000010000000000 RCX: ffff8881dff99f80 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e923fbb0 R08: ffffffff81c87fc6 R09: ffffed1039661a9f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881cb30d5a0 R13: 0000000000000001 R14: 0000010410000000 R15: dffffc0000000000 FS: 00007f103d2046c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000002 CR3: 00000001dd8d8000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400