------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2760! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5588 Comm: syz.3.353 Not tainted 6.1.144-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ext4_writepages+0x2e41/0x2e50 fs/ext4/inode.c:2759 Code: c1 03 38 c1 0f 8c ac fd ff ff 4c 89 e7 e8 87 97 ad ff e9 9f fd ff ff e8 dd 1b 5c ff 0f 0b e8 d6 1b 5c ff 0f 0b e8 cf 1b 5c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 41 57 41 56 41 54 RSP: 0018:ffffc90004ebf320 EFLAGS: 00010283 RAX: ffffffff8224bbc1 RBX: 0000008410000000 RCX: 0000000000080000 RDX: ffffc9001026f000 RSI: 00000000000003e2 RDI: 00000000000003e3 RBP: ffffc90004ebf690 R08: dffffc0000000000 R09: ffffed100ac1f50f R10: ffffed100ac1f50f R11: 1ffff1100ac1f50e R12: 1ffff920009d7f10 R13: dffffc0000000000 R14: 0000008000000000 R15: ffff888027b46000 FS: 00007f422afde6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e80dff8 CR3: 0000000054c01000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x3b7/0x610 mm/page-writeback.c:2491 filemap_fdatawrite_wbc+0x11e/0x180 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_flush+0xc1/0x110 mm/filemap.c:454 __ext4_ioctl fs/ext4/ioctl.c:1411 [inline] ext4_ioctl+0x1bf0/0x3dd0 fs/ext4/ioctl.c:1614 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f422b18e929 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:00007f422afde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f422b3b6080 RCX: 00007f422b18e929 RDX: 0000000000000000 RSI: 000000000000660c RDI: 0000000000000004 RBP: 00007f422b210b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f422b3b6080 R15: 00007fff03dba3a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x2e41/0x2e50 fs/ext4/inode.c:2759 Code: c1 03 38 c1 0f 8c ac fd ff ff 4c 89 e7 e8 87 97 ad ff e9 9f fd ff ff e8 dd 1b 5c ff 0f 0b e8 d6 1b 5c ff 0f 0b e8 cf 1b 5c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 41 57 41 56 41 54 RSP: 0018:ffffc90004ebf320 EFLAGS: 00010283 RAX: ffffffff8224bbc1 RBX: 0000008410000000 RCX: 0000000000080000 RDX: ffffc9001026f000 RSI: 00000000000003e2 RDI: 00000000000003e3 RBP: ffffc90004ebf690 R08: dffffc0000000000 R09: ffffed100ac1f50f R10: ffffed100ac1f50f R11: 1ffff1100ac1f50e R12: 1ffff920009d7f10 R13: dffffc0000000000 R14: 0000008000000000 R15: ffff888027b46000 FS: 00007f422afde6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564308927950 CR3: 0000000054c01000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400