Re: [PATCH 5.10 0/3] Fix kernel crash caused by ext4/054

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 20, 2021 at 10:36:56AM -0500, Theodore Ts'o wrote:
> 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(-)
> 
> -- 
> 2.31.0
> 

I also had to apply them to 5.15.y as you do not want people to upgrade
and have a regression.

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux