------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2809! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7843 Comm: syz.4.201 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : ext4_do_writepages+0x39b0/0x39b4 fs/ext4/inode.c:2808 lr : ext4_do_writepages+0x39b0/0x39b4 fs/ext4/inode.c:2808 sp : ffff8000a2736ea0 x29: ffff8000a2737280 x28: 1ffff000144e6eb0 x27: ffff8000a2737560 x26: dfff800000000000 x25: 1fffe00021bf38c8 x24: ffff0000e60428d8 x23: ffff7000144e6e5c x22: ffff00010df9e000 x21: ffff8000a2737300 x20: 0000004210000000 x19: 0000000000000001 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800080528a28 x15: 0000000000000008 x14: 1ffff000144e6e40 x13: 0000000000000000 x12: 0000000000000000 x11: ffff7000144e6e48 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c7899e80 x7 : 0000000000000000 x6 : 0000000000000080 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : 0000000000000000 x1 : 0000004000000000 x0 : 0000000000000000 Call trace: ext4_do_writepages+0x39b0/0x39b4 fs/ext4/inode.c:2808 (P) ext4_writepages+0x178/0x2a0 fs/ext4/inode.c:3025 do_writepages+0x270/0x468 mm/page-writeback.c:2634 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] __filemap_fdatawrite mm/filemap.c:425 [inline] filemap_flush+0x144/0x1ec mm/filemap.c:470 ext4_alloc_da_blocks+0x11c/0x300 fs/ext4/inode.c:3335 __ext4_ioctl fs/ext4/ioctl.c:1417 [inline] ext4_ioctl+0x16a8/0x309c fs/ext4/ioctl.c:1626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:584 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1303e0 97c05919 d4210000 97d8e945 (d4210000) ---[ end trace 0000000000000000 ]---