Re: [PATCH] ocfs2: validate xattr bucket count against extent size
From: Joseph Qi
Date: Wed Nov 04 2026 - 02:44:13 EST
On 10/28/26 1:02 PM, Jiale Yao wrote:
> The first xattr bucket stores the number of valid buckets in its extent.
> Lookup and iteration trust this on-disk value even when it exceeds the
> number of buckets covered by the extent record. A corrupted value can
> therefore make them read blocks beyond the extent.
>
> Validate the count against the extent cluster count before using it.
> Reject zero as well because every xattr extent contains at least its first
> bucket.
>
Please describe the user effect of this issue.
Thanks,
Joseph