Re: [PATCH 0/2] ocfs2: validate active orphan slots during inode read
From: Joseph Qi
Date: Mon Aug 31 2026 - 02:33:48 EST
On 8/5/26 4:41 AM, Andrew Morton wrote:
> On Mon, 3 Aug 2026 11:00:05 +0800 ZhengYuan Huang <gality369@xxxxxxxxx> wrote:
>
>> OCFS2 trusts active ordinary and append-DIO orphan slots read from dinodes.
>> A corrupted slot can therefore index osb_orphan_wipes or the slot-local
>> system-inode cache outside their allocations before the corruption is
>> reported.
>
> Thanks. AI review raised several possible issues, all pre-existing.
> "out of bound access", "crash the kernel", "out-of-bounds heap access",
> "triggering this crash", etc. All the usual things (seriously!).
>
> https://sashiko.dev/#/patchset/20260803030007.3993199-1-gality369@xxxxxxxxx
>
> None of which stands in the way of your fixes.
>
> The best I can do with this onslaught is to make maintainers aware then
> move on.
>
> I do wish that Sashiko was more organized about these drive-by bug
> reports. Retain them in some lookable-uppable way for maintainers to
> look at when they have time. This has been suggested to the Sashiko
> developers. Perhaps one day...
Addressed in:
https://lore.kernel.org/ocfs2-devel/20260831062848.2743436-1-joseph.qi@xxxxxxxxxxxxxxxxx/T/#u
Thanks,
Joseph