------------[ cut here ]------------ WARNING: CPU: 0 PID: 5324 at fs/ext4/inode.c:3587 ext4_dirty_folio+0x162/0x1a0 fs/ext4/inode.c:3587 Modules linked in: CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 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:ffffc9000d5574e8 EFLAGS: 00010246 RAX: ffffffff827c08d1 RBX: ffffea0001349668 RCX: 0000000000100000 RDX: ffffc9000f61c000 RSI: 00000000000fffff RDI: 0000000000100000 RBP: 1ffffd40002692c8 R08: ffffffff827c0806 R09: 1ffffd40002692c8 R10: dffffc0000000000 R11: fffff940002692c9 R12: ffff8880454dddf8 R13: ffffea0001349648 R14: 0000000000000001 R15: ffffea0001349640 FS: 00007f2369f486c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020095000 CR3: 0000000042aae000 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:0x7f236918cda9 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:00007f2369f48038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f23693a6160 RCX: 00007f236918cda9 RDX: 00000000200000c0 RSI: 00000000000000ca RDI: 00007f2369f52000 RBP: 00007f236920e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f23693a6160 R15: 00007ffe4cdafe78