Re: [PATCH] ext4: xattr: fix out-of-bounds access in ext4_xattr_set_entry

From: Greg KH

Date: Wed Mar 18 2026 - 04:13:57 EST


On Wed, Mar 18, 2026 at 03:58:42PM +0800, ZhengYuan Huang wrote:
> [BUG]
> KASAN reports show out-of-bounds and use-after-free memory accesses when
> ext4_xattr_set_entry() processes corrupted on-disk xattr entries:

Does runing fsck on the disk image before mounting it catch this error?

thanks,

greg k-h