Re: [PATCH 0/2] ocfs2: validate active orphan slots during inode read
From: Andrew Morton
Date: Tue Aug 04 2026 - 16:47:49 EST
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...