EXT4-fs error (device loop5): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 50 vs 25 free clusters ------------[ cut here ]------------ kernel BUG at fs/buffer.c:2040! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16219 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__block_commit_write.constprop.0.isra.0+0x287/0x310 fs/buffer.c:2040 Code: 41 5c 41 5d 41 5e 41 5f e9 46 f7 b1 ff e8 41 f7 b1 ff 48 8b 7c 24 10 48 c7 c6 c0 1a 75 88 e8 f0 88 d9 ff 0f 0b e8 29 f7 b1 ff <0f> 0b e8 22 f7 b1 ff 48 8b 7c 24 10 48 c7 c6 20 1f 75 88 e8 d1 88 RSP: 0018:ffff88804ebd73c0 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90007938000 RDX: 00000000000058f5 RSI: ffffffff81b08e47 RDI: 0000000000000001 RBP: 0000000000000044 R08: 0000000000000044 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000044 R13: 0000000000000044 R14: ffffea00010dd580 R15: 0000000000000088 FS: 00007fedab821700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f28e3165000 CR3: 00000000b2a08000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: block_write_end+0x53/0x140 fs/buffer.c:2163 ext4_write_end+0x22b/0xec0 fs/ext4/inode.c:1432 ext4_da_write_end+0x860/0xa70 fs/ext4/inode.c:3170 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 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. 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:1502 [inline] __se_sys_sendfile64+0xc4/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:0x7fedaceabfe9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fedab821168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fedacfbef60 RCX: 00007fedaceabfe9 RDX: 0000000020000240 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00007fedacf0608d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000007fff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd626d6b0f R14: 00007fedab821300 R15: 0000000000022000 Modules linked in: ---[ end trace 381b55f90cf597d5 ]--- RIP: 0010:__block_commit_write.constprop.0.isra.0+0x287/0x310 fs/buffer.c:2040 Code: 41 5c 41 5d 41 5e 41 5f e9 46 f7 b1 ff e8 41 f7 b1 ff 48 8b 7c 24 10 48 c7 c6 c0 1a 75 88 e8 f0 88 d9 ff 0f 0b e8 29 f7 b1 ff <0f> 0b e8 22 f7 b1 ff 48 8b 7c 24 10 48 c7 c6 20 1f 75 88 e8 d1 88 ieee802154 phy1 wpan1: encryption failed: -22 RSP: 0018:ffff88804ebd73c0 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90007938000 RDX: 00000000000058f5 RSI: ffffffff81b08e47 RDI: 0000000000000001 ieee802154 phy1 wpan1: encryption failed: -22 RBP: 0000000000000044 R08: 0000000000000044 R09: 0000000000000000 ieee802154 phy1 wpan1: encryption failed: -22 netlink: 'syz-executor.1': attribute type 10 has an invalid length. R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000044 bond0: team0 is up - this may be due to an out of date ifenslave ieee802154 phy1 wpan1: encryption failed: -22 netlink: 'syz-executor.1': attribute type 10 has an invalid length. ieee802154 phy1 wpan1: encryption failed: -22 bridge0: port 3(team0) entered blocking state R13: 0000000000000044 R14: ffffea00010dd580 R15: 0000000000000088 bridge0: port 3(team0) entered disabled state FS: 00007fedab821700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30624000 CR3: 00000000b2a08000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400