loop0: detected capacity change from 0 to 512 EXT4-fs error (device loop0): __ext4_iget:5533: inode #15: block 1803188595: comm syz.0.0: invalid block loop0: lost file I/O error report for ino 15 type 5 pos 0x0 len 0x0 error -117 EXT4-fs error (device loop0): ext4_orphan_get:1404: comm syz.0.0: couldn't read orphan inode 15 (err -117) loop0: lost filesystem error report for type 5 error -117 EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. loop0: detected capacity change from 512 to 0 EXT4-fs error (device loop0): ext4_get_inode_loc:5024: inode #18: block 9: comm syz.0.0: unable to read itable block EXT4-fs (loop0): previous I/O error to superblock detected Buffer I/O error on dev loop0, logical block 1, lost sync page write EXT4-fs (loop0): I/O error while writing superblock EXT4-fs error (device loop0) in ext4_reserve_inode_write:6435: IO failure EXT4-fs (loop0): previous I/O error to superblock detected Buffer I/O error on dev loop0, logical block 1, lost sync page write EXT4-fs (loop0): I/O error while writing superblock EXT4-fs error (device loop0): ext4_dirty_inode:6639: inode #18: comm syz.0.0: mark_inode_dirty error EXT4-fs (loop0): previous I/O error to superblock detected Buffer I/O error on dev loop0, logical block 1, lost sync page write ------------[ cut here ]------------ !folio_buffers(folio) WARNING: fs/ext4/inode.c:3939 at ext4_dirty_folio+0x167/0x1b0 fs/ext4/inode.c:3939, CPU#0: syz.0.0/5327 Modules linked in: CPU: 0 UID: 0 PID: 5327 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:ext4_dirty_folio+0x167/0x1b0 fs/ext4/inode.c:3939 Code: df e8 a6 ff 49 83 3f 00 74 1a e8 04 b8 37 ff 4c 89 e7 48 89 de 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6f de cd ff e8 ea b7 37 ff 90 <0f> 0b 90 eb e0 e8 df b7 37 ff 90 0f 0b 90 eb a7 e8 d4 b7 37 ff 48 RSP: 0018:ffffc9000f42f528 EFLAGS: 00010287 RAX: ffffffff828f6c66 RBX: ffffea00006b7280 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 000000000008384f RDI: 0000000000083850 RBP: 1ffffd40000d6e50 R08: ffffea00006b7287 R09: 1ffffd40000d6e50 R10: dffffc0000000000 R11: fffff940000d6e51 R12: ffff888043d5f4d8 R13: 1ffffd40000d6e51 R14: 0000000000000001 R15: ffffea00006b72a8 FS: 00007ff4dfe786c0(0000) GS:ffff88808c543000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8013552ad8 CR3: 0000000044983000 CR4: 0000000000352ef0 Call Trace: bio_set_pages_dirty+0x372/0xa70 block/bio.c:1681 __blkdev_direct_IO+0x81f/0xf30 block/fops.c:247 blkdev_direct_IO+0x122e/0x17a0 block/fops.c:435 blkdev_read_iter+0x223/0x420 block/fops.c:814 aio_read+0x33a/0x4d0 fs/aio.c:1656 __io_submit_one fs/aio.c:-1 [inline] io_submit_one+0x774/0x13d0 fs/aio.c:2106 __do_sys_io_submit fs/aio.c:2165 [inline] __se_sys_io_submit+0x195/0x340 fs/aio.c:2135 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff4def9df99 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff4dfe77fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007ff4df225fa0 RCX: 00007ff4def9df99 RDX: 00002000000000c0 RSI: 00000000000000ca RDI: 00007ff4dfe36000 RBP: 00007ff4df034ec4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff4df226038 R14: 00007ff4df225fa0 R15: 00007ffe2b6758a8