Skip to content

ext4: fix syzbot report: kernel BUG in ext4_get_group_info

Theodore Ts'o linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ext4: allow ext4_get_group_info() to failfs/ext4/balloc.c fs/ext4/ext4.h fs/ext4/ialloc.c +2 more+91 -292 replies
2/2ext4: remove a BUG_ON in ext4_mb_release_group_pa()fs/ext4/mballoc.c+5 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ext4: fix syzbot report: kernel BUG in ext4_get_group_info

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/[email protected]

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(-)
Signature · 1 line
2.31.0