------------[ cut here ]------------ WARNING: CPU: 0 PID: 5308 at fs/ext4/inode.c:3587 ext4_dirty_folio+0x162/0x1a0 fs/ext4/inode.c:3587 Modules linked in: CPU: 0 UID: 0 PID: 5308 Comm: syz-executor245 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ext4_dirty_folio+0x162/0x1a0 fs/ext4/inode.c:3587 Code: 14 f9 a9 ff 48 83 3b 00 74 1a e8 09 64 43 ff 4c 89 e7 4c 89 fe 5b 41 5c 41 5d 41 5e 41 5f 5d e9 a4 dc cd ff e8 ef 63 43 ff 90 <0f> 0b 90 eb e0 e8 e4 63 43 ff 90 0f 0b 90 eb a7 e8 d9 63 43 ff 4c RSP: 0018:ffffc9000d2bf4e8 EFLAGS: 00010293 RAX: ffffffff827c08d1 RBX: ffffea000108cca8 RCX: ffff88801f140000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffffd4000211990 R08: ffffffff827c0806 R09: 1ffffd4000211990 R10: dffffc0000000000 R11: fffff94000211991 R12: ffff8880456ac040 R13: ffffea000108cc88 R14: 0000000000000001 R15: ffffea000108cc80 FS: 00007f8ca8acb6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ca8b8a758 CR3: 00000000434d6000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_set_pages_dirty+0x16f/0x230 block/bio.c:1408 __blkdev_direct_IO+0x79b/0x1010 block/fops.c:242 blkdev_direct_IO+0xfed/0x14f0 block/fops.c:410 blkdev_read_iter+0x230/0x430 block/fops.c:785 aio_read+0x363/0x500 fs/aio.c:1602 io_submit_one+0x884/0x18a0 fs/aio.c:2052 __do_sys_io_submit fs/aio.c:2111 [inline] __se_sys_io_submit+0x171/0x2e0 fs/aio.c:2081 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:0x7f8ca8b36c59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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:00007f8ca8acb218 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f8ca8bbf6d8 RCX: 00007f8ca8b36c59 RDX: 00000000200000c0 RSI: 00000000000000ca RDI: 00007f8ca8acc000 RBP: 00007f8ca8bbf6d0 R08: 00007fff3abda577 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8ca8b8b854 R13: 00007f8ca8b8b0c0 R14: 0031656c69662f2e R15: 0000003e8000072a