These two patches address this syzbot report[1]. See also the discussion here[2]. [1] https://syzkaller.appspot.com/bug?id=69b28112e098b070f639efb356393af3ffec4220 [2] https://lore.kernel.org/r/ZE3YkAiGVLXMbHmb@xxxxxxx Theodore Ts'o (2): ext4: allow ext4_get_group_info() to fail ext4: remove a BUG_ON in ext4_mb_release_group_pa() fs/ext4/balloc.c | 19 +++++++++++- fs/ext4/ext4.h | 15 ++------- fs/ext4/ialloc.c | 12 +++++--- fs/ext4/mballoc.c | 78 +++++++++++++++++++++++++++++++++++++++-------- fs/ext4/super.c | 2 ++ 5 files changed, 96 insertions(+), 30 deletions(-) -- 2.31.0