Skip to content

Fix kernel crash caused by ext4/054

Theodore Ts'o stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ext4: prevent partial update of the extent blocksfs/ext4/extents.c+15 -20 replies
2/3ext4: check for out-of-order index extents in ext4_valid_extent_entries()fs/ext4/extents.c+12 -50 replies
3/3ext4: check for inconsistent extents between index and leaf blockfs/ext4/extents.c+36 -230 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchTheodore Ts'o
1/3R-b
2/3R-b
3/3

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 5.10 0/3] Fix kernel crash caused by ext4/054

The following commits were cherry-picked from upstream to fix a crash in ext4/054. There was a minor fix-up needed in the first patch, although no other changes were needed for the 2nd and 3rd patches.

Ext4/054 will cause older LTS kernels to crash, but unfortunately these patches will need further back-porting to apply to 5.4, never mind older LTS kernels. But at least here are the fixes for 5.10....

Zhang Yi (3):
ext4: prevent partial update of the extent blocks
ext4: check for out-of-order index extents in
ext4_valid_extent_entries()
ext4: check for inconsistent extents between index and leaf block

 fs/ext4/extents.c | 93 ++++++++++++++++++++++++++++++++---------------
 1 file changed, 63 insertions(+), 30 deletions(-)
Signature · 1 line
2.31.0