EXT4-fs error (device loop0): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters MTD: Attempt to mount non-MTD device "/dev/loop2" cramfs: bad root offset 18316 ------------[ cut here ]------------ audit: type=1804 audit(1674606244.917:9): pid=13524 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir1901540099/syzkaller.mFKuhV/210/file0/bus" dev="loop0" ino=18 res=1 kernel BUG at fs/ext4/inline.c:222! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 13524 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:ext4_write_inline_data+0x337/0x3d0 fs/ext4/inline.c:222 Code: 5f e9 5d d8 84 ff e8 58 d8 84 ff 45 8d 64 2c c4 41 bd 3c 00 00 00 41 29 ed e9 df fe ff ff e8 40 d8 84 ff 0f 0b e8 39 d8 84 ff <0f> 0b e8 02 b4 ba ff e9 f5 fd ff ff 4c 89 ff e8 f5 b3 ba ff e9 99 RSP: 0018:ffff8880468cf390 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff8880443fe6f0 RCX: ffffc90005c28000 RDX: 00000000000341ae RSI: ffffffff81ddad37 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000001000 R09: 0000000000001000 R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000001000 R13: 0000000000001000 R14: ffff8880468cf418 R15: ffff8880443febae FS: 00007f4a40615700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdb13022028 CR3: 0000000097ff0000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_inline_data_end+0x228/0x650 fs/ext4/inline.c:760 ext4_da_write_inline_data_end+0x30/0x4d0 fs/ext4/inline.c:957 ext4_da_write_end+0x4ba/0xa70 fs/ext4/inode.c:3198 generic_perform_write+0x2ae/0x4d0 mm/filemap.c:3181 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_iter_write+0x70/0xa0 fs/read_write.c:973 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4a420a30c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4a40615168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f4a421c2f80 RCX: 00007f4a420a30c9 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000000008 RBP: 00007f4a420feae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffc66a58df R14: 00007f4a40615300 R15: 0000000000022000 Modules linked in: ---[ end trace abab619e76f25cef ]--- RIP: 0010:ext4_write_inline_data+0x337/0x3d0 fs/ext4/inline.c:222 Code: 5f e9 5d d8 84 ff e8 58 d8 84 ff 45 8d 64 2c c4 41 bd 3c 00 00 00 41 29 ed e9 df fe ff ff e8 40 d8 84 ff 0f 0b e8 39 d8 84 ff <0f> 0b e8 02 b4 ba ff e9 f5 fd ff ff 4c 89 ff e8 f5 b3 ba ff e9 99 RSP: 0018:ffff8880468cf390 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff8880443fe6f0 RCX: ffffc90005c28000 RDX: 00000000000341ae RSI: ffffffff81ddad37 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000001000 R09: 0000000000001000 R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000001000 R13: 0000000000001000 R14: ffff8880468cf418 R15: ffff8880443febae FS: 00007f4a40615700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdb13022028 CR3: 0000000097ff0000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400