EXT4-fs error (device loop2): ext4_lookup:1641: inode #2: comm syz-executor.2: deleted inode referenced: 15 EXT4-fs error (device loop0): ext4_lookup:1641: inode #2: comm syz-executor.0: deleted inode referenced: 15 EXT4-fs error (device loop5): ext4_lookup:1641: inode #2: comm syz-executor.5: deleted inode referenced: 15 ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2861! EXT4-fs error (device loop5): ext4_validate_block_bitmap:405: comm syz-executor.5: bg 0: block 5: invalid block bitmap EXT4-fs error (device loop2): ext4_validate_block_bitmap:405: comm syz-executor.2: bg 0: block 5: invalid block bitmap invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: EXT4-fs (loop2): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 117 CPU: 1 PID: 7988 Comm: kworker/u4:0 Not tainted 4.14.299-syzkaller #0 EXT4-fs (loop2): This should not happen!! Data will be lost Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: writeback wb_workfn (flush-7:2) EXT4-fs error (device loop0): ext4_validate_block_bitmap:405: comm syz-executor.0: bg 0: block 5: invalid block bitmap task: ffff8880b28421c0 task.stack: ffff88809a320000 RIP: 0010:ext4_writepages+0x27fc/0x32a0 fs/ext4/inode.c:2861 RSP: 0018:ffff88809a327578 EFLAGS: 00010297 RAX: ffff8880b28421c0 RBX: 00000000a802e014 RCX: 1ffff11016508639 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880b28431c8 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000050510 R10: ffff8880b2842ac0 R11: ffff8880b28421c0 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88808938b7b0 R15: ffff88809a327a50 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb557fa6718 CR3: 0000000099892000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: EXT4-fs (loop0): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (loop0): This should not happen!! Data will be lost do_writepages+0xc3/0x240 mm/page-writeback.c:2361 __writeback_single_inode+0xda/0x1010 fs/fs-writeback.c:1382 EXT4-fs (loop5): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 117 writeback_sb_inodes+0x48b/0xd30 fs/fs-writeback.c:1645 EXT4-fs (loop5): This should not happen!! Data will be lost __writeback_inodes_wb+0xbf/0x230 fs/fs-writeback.c:1716 wb_writeback+0x710/0xb80 fs/fs-writeback.c:1822 wb_do_writeback fs/fs-writeback.c:1952 [inline] wb_workfn+0x2bd/0xf50 fs/fs-writeback.c:1988 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 Code: ff ff 4c 89 ff e8 b5 b5 c3 ff e9 98 db ff ff e8 eb f7 99 ff 48 8b bc 24 b8 00 00 00 e8 9e 5b b1 ff e9 18 f5 ff ff e8 d4 f7 99 ff <0f> 0b e8 cd f7 99 ff 48 8b bc 24 b8 00 00 00 e8 80 5b b1 ff 8b RIP: ext4_writepages+0x27fc/0x32a0 fs/ext4/inode.c:2861 RSP: ffff88809a327578 ---[ end trace 1d946943efa64870 ]---