------------[ cut here ]------------ WARNING: CPU: 0 PID: 5377 at fs/ext4/inode.c:3588 ext4_dirty_folio+0x15a/0x310 fs/ext4/inode.c:3588 Modules linked in: CPU: 0 UID: 0 PID: 5377 Comm: syz.4.12 Not tainted 6.11.0-rc1-syzkaller-00272-g17712b7ea075 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:ext4_dirty_folio+0x15a/0x310 fs/ext4/inode.c:3588 Code: 83 3b 00 74 1f e8 c6 31 3b ff 48 8b 3c 24 4c 89 fe 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d e9 cc d4 c1 ff e8 a7 31 3b ff 90 <0f> 0b 90 eb db e8 9c 31 3b ff 90 0f 0b 90 eb ab e8 91 31 3b ff 4c RSP: 0018:ffffc9000440f700 EFLAGS: 00010246 RAX: ffffffff82584429 RBX: ffffea00018446a8 RCX: 0000000000040000 RDX: ffffc9000a875000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffffd40003088d0 R08: ffffffff8258436a R09: 1ffffd40003088d0 R10: dffffc0000000000 R11: fffff940003088d1 R12: dffffc0000000000 R13: ffffea0001844688 R14: 0000000000000001 R15: ffffea0001844680 FS: 00007f15003876c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffddbeebb38 CR3: 00000000118d0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bio_release_pages+0x12a/0x2e0 block/bio.c:1174 bio_release_pages include/linux/bio.h:448 [inline] __blkdev_direct_IO_simple block/fops.c:94 [inline] blkdev_direct_IO+0xf5a/0x14b0 block/fops.c:382 blkdev_read_iter+0x237/0x440 block/fops.c:754 do_iter_readv_writev+0x60a/0x890 vfs_readv+0x2b6/0xa90 fs/read_write.c:932 do_preadv fs/read_write.c:1049 [inline] __do_sys_preadv2 fs/read_write.c:1111 [inline] __se_sys_preadv2+0x1ca/0x2d0 fs/read_write.c:1102 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f14ff5779f9 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:00007f1500387048 EFLAGS: 00000246 ORIG_RAX: 0000000000000147 RAX: ffffffffffffffda RBX: 00007f14ff706058 RCX: 00007f14ff5779f9 RDX: 0000000000000005 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f14ff5e58ee R08: 0000000000000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f14ff706058 R15: 00007fff52c0ce08