Re: [PATCH v2] hfs: clamp catalog key name lengths during comparison
From: Kyuwon Cho
Date: Fri Dec 04 2026 - 20:47:14 EST
On Fri, Dec 04, 2026 at 02:34:42PM -0800, Viacheslav Dubeyko wrote:
> Could you please confirm that the reproducer doesn't trigger the KASAN
> report anymore with v2 applied?
>
> Also, I think the KASAN trace from v1 is worth keeping in the commit
> message, because it helps people searching for the same crash to find
> the fix.
I ran the exact v1 reproducer three times on the v2 KASAN kernel. All three
runs completed without a KASAN report. The valid multi-leaf catalog test also
completed normally.
I will keep the KASAN trace in the v3 commit message, add Cc: stable, and add
a ratelimited corruption message when an embedded name length exceeds
HFS_NAMELEN so a damaged catalog does not fail silently during comparison.