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

From: Theodore Tso

Date: Wed Mar 18 2026 - 11:11:19 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:

Can you send us a pointer to the reproducer? And does the reproducer
involve actively modifying the mounted file system image, either via
the block device or the underlying file (if a loop device is being used)?

- Ted