loop0: detected capacity change from 0 to 1024 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. EXT4-fs error (device loop0): mb_free_blocks:2017: group 0, inode 18: block 321:freeing already freed block (bit 20); block bitmap corrupt. ------------[ cut here ]------------ kernel BUG at fs/ext4/extents.c:2153! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5363 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~bpo12+1 04/01/2014 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 cc ed b5 ff e9 99 e7 ff ff e8 f2 fc 50 ff 90 0f 0b e8 ea fc 50 ff 90 <0f> 0b e8 e2 fc 50 ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000d3eeb80 EFLAGS: 00010283 RAX: ffffffff826ed1c6 RBX: 0000000000000040 RCX: 0000000000100000 RDX: ffffc9000de8a000 RSI: 0000000000017ca3 RDI: 0000000000017ca4 RBP: ffffc9000d3eed30 R08: ffff8880436e91d7 R09: 1ffff110086dd23a R10: dffffc0000000000 R11: ffffed10086dd23b R12: 0000000000000040 R13: dffffc0000000000 R14: ffff88804c96f460 R15: ffff888052c63000 FS: 00007fcc0e2cb6c0(0000) GS:ffff88808d00a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000001c000 CR3: 0000000043c18000 CR4: 0000000000352ef0 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+0x990/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:4175 ext4_buffered_write_iter+0xce/0x3a0 fs/ext4/file.c:299 ext4_file_write_iter+0x298/0x1bc0 fs/ext4/file.c:-1 aio_write+0x532/0x7a0 fs/aio.c:1634 __io_submit_one fs/aio.c:-1 [inline] io_submit_one+0x78b/0x1310 fs/aio.c:2053 __do_sys_io_submit fs/aio.c:2112 [inline] __se_sys_io_submit+0x185/0x2f0 fs/aio.c:2082 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:0x7fcc0d38eba9 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:00007fcc0e2cb038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007fcc0d5d5fa0 RCX: 00007fcc0d38eba9 RDX: 0000200000000540 RSI: 000000000000003b RDI: 00007fcc0e281000 RBP: 00007fcc0d411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcc0d5d6038 R14: 00007fcc0d5d5fa0 R15: 00007ffc80b28788 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 cc ed b5 ff e9 99 e7 ff ff e8 f2 fc 50 ff 90 0f 0b e8 ea fc 50 ff 90 <0f> 0b e8 e2 fc 50 ff 90 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc9000d3eeb80 EFLAGS: 00010283 RAX: ffffffff826ed1c6 RBX: 0000000000000040 RCX: 0000000000100000 RDX: ffffc9000de8a000 RSI: 0000000000017ca3 RDI: 0000000000017ca4 RBP: ffffc9000d3eed30 R08: ffff8880436e91d7 R09: 1ffff110086dd23a R10: dffffc0000000000 R11: ffffed10086dd23b R12: 0000000000000040 R13: dffffc0000000000 R14: ffff88804c96f460 R15: ffff888052c63000 FS: 00007fcc0e2cb6c0(0000) GS:ffff88808d00a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc80b27f80 CR3: 0000000043c18000 CR4: 0000000000352ef0