[PATCH 0/2] ocfs2: validate active orphan slots during inode read
ZhengYuan Huang <[email protected]> Mon, 3 Aug 2026 11:00:05 +0800
| Newsgroups | dev.linux.lists.ocfs2-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> fs/ocfs2/inode.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.43.0