mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ocfs2: validate active orphan slots during inode read
@ 2026-08-03  3:00 ZhengYuan Huang
  2026-08-03  3:00 ` [PATCH 1/2] ocfs2: validate orphan slot " ZhengYuan Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: ZhengYuan Huang @ 2026-08-03  3:00 UTC (permalink / raw)
  To: mark, jlbec, joseph.qi, akpm
  Cc: ocfs2-devel, linux-kernel, baijiaju1990, r33s3n6, zzzccc427,
	tom442288, ZhengYuan Huang

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@gmail.com>

 fs/ocfs2/inode.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

-- 
2.43.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-04 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03  3:00 [PATCH 0/2] ocfs2: validate active orphan slots during inode read ZhengYuan Huang
2026-08-03  3:00 ` [PATCH 1/2] ocfs2: validate orphan slot " ZhengYuan Huang
2026-08-04  7:16   ` Joseph Qi
2026-08-03  3:00 ` [PATCH 2/2] ocfs2: validate DIO " ZhengYuan Huang
2026-08-04  7:17   ` Joseph Qi
2026-08-04 20:41 ` [PATCH 0/2] ocfs2: validate active orphan slots " Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®