[PATCH 0/2] ocfs2: validate active orphan slots during inode read
From: ZhengYuan Huang
Date: Sun Aug 02 2026 - 23:00:57 EST
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.
Patch 1 validates the ordinary orphan slot used by inode wipe processing.
Patch 2 validates the append-DIO orphan slot used by DIO completion and
orphan recovery. Both checks reject corrupt metadata at the existing inode
validation boundary.
ZhengYuan Huang (2):
ocfs2: validate orphan slot during inode read
ocfs2: validate DIO orphan slot during inode read
Signed-off-by: ZhengYuan Huang <gality369@xxxxxxxxx>
fs/ocfs2/inode.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
--
2.43.0