EXT4-fs error (device loop5): mb_free_blocks:2017: group 0, inode 15: block 305:freeing already freed block (bit 19); block bitmap corrupt. ------------[ cut here ]------------ kernel BUG at fs/ext4/extents.c:2153! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 6591 Comm: syz.5.33 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:ext4_ext_insert_extent+0x4ab7/0x4af0 fs/ext4/extents.c:2153 Code: 89 d9 80 e1 07 fe c1 38 c1 0f 8c a6 e7 ff ff 48 89 df e8 1c 4e b5 ff e9 99 e7 ff ff e8 f2 af 4f ff 90 0f 0b e8 ea af 4f ff 90 <0f> 0b e8 e2 af 4f ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000415ec40 EFLAGS: 00010293 RAX: ffffffff826eaf56 RBX: 0000000000000021 RCX: ffff88802e205ac0 RDX: 0000000000000000 RSI: 0000000000000021 RDI: 0000000000000021 RBP: ffffc9000415edf0 R08: ffff8880517c548f R09: 1ffff1100a2f8a91 R10: dffffc0000000000 R11: ffffed100a2f8a92 R12: 0000000000000021 R13: dffffc0000000000 R14: ffff8880519ed43c R15: ffff88807a0d9500 FS: 00007ff1fe2846c0(0000) GS:ffff888126478000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005612a51710a0 CR3: 0000000075b61000 CR4: 0000000000350ef0 Call Trace: ext4_ext_map_blocks+0x1792/0x6ac0 fs/ext4/extents.c:4404 ext4_map_create_blocks fs/ext4/inode.c:609 [inline] ext4_map_blocks+0x860/0x1740 fs/ext4/inode.c:811 _ext4_get_block+0x200/0x4c0 fs/ext4/inode.c:910 ext4_get_block_unwritten+0x2e/0x100 fs/ext4/inode.c:943 ext4_block_write_begin+0x993/0x1710 fs/ext4/inode.c:1198 ext4_write_begin+0xc04/0x19a0 fs/ext4/ext4_jbd2.h:-1 ext4_da_write_begin+0x445/0xda0 fs/ext4/inode.c:3129 generic_perform_write+0x2c5/0x900 mm/filemap.c:4242 ext4_buffered_write_iter+0xce/0x3a0 fs/ext4/file.c:299 ext4_file_write_iter+0x298/0x1bc0 fs/ext4/file.c:-1 do_iter_readv_writev+0x623/0x8c0 fs/read_write.c:-1 vfs_writev+0x31a/0x960 fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2+0x179/0x290 fs/read_write.c:1202 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff1fd38e929 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:00007ff1fe284038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007ff1fd5b5fa0 RCX: 00007ff1fd38e929 RDX: 0000000000000001 RSI: 0000200000000100 RDI: 0000000000000004 RBP: 00007ff1fd410b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000005412 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff1fd5b5fa0 R15: 00007ffea91587f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_ext_insert_extent+0x4ab7/0x4af0 fs/ext4/extents.c:2153 Code: 89 d9 80 e1 07 fe c1 38 c1 0f 8c a6 e7 ff ff 48 89 df e8 1c 4e b5 ff e9 99 e7 ff ff e8 f2 af 4f ff 90 0f 0b e8 ea af 4f ff 90 <0f> 0b e8 e2 af 4f ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000415ec40 EFLAGS: 00010293 RAX: ffffffff826eaf56 RBX: 0000000000000021 RCX: ffff88802e205ac0 RDX: 0000000000000000 RSI: 0000000000000021 RDI: 0000000000000021 RBP: ffffc9000415edf0 R08: ffff8880517c548f R09: 1ffff1100a2f8a91 R10: dffffc0000000000 R11: ffffed100a2f8a92 R12: 0000000000000021 R13: dffffc0000000000 R14: ffff8880519ed43c R15: ffff88807a0d9500 FS: 00007ff1fe2846c0(0000) GS:ffff888126378000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005626a421d008 CR3: 0000000075b61000 CR4: 0000000000350ef0