{"id":"CVE-2026-90205","published":"2026-09-17T16:07:21Z","modified":"2026-10-30T12:34:45Z","title":"ocfs2: validate orphan slot during inode read","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate orphan slot during inode read\n\nPatch series \"ocfs2: validate active orphan slots during inode read\".\n\nOCFS2 trusts active ordinary and append-DIO orphan slots read from dinodes.\nA corrupted slot can therefore index osb_orphan_wipes or the slot-local\nsystem-inode cache outside their allocations before the corruption is\nreported.\n\nPatch 1 validates the ordinary orphan slot used by inode wipe processing.\nPatch 2 validates the append-DIO orphan slot used by DIO completion and\norphan recovery.  Both checks reject corrupt metadata at the existing inode\nvalidation boundary.\n\n\nThis patch (of 2):\n\n[BUG]\nA corrupted dinode with OCFS2_ORPHANED_FL can carry an\ni_orphaned_slot outside the mounted filesystem slot range.\nocfs2_wipe_inode() uses it to index osb_orphan_wipes before looking\nup the orphan directory, causing an out-of-bounds memory access.\n\nBUG: KASAN: slab-use-after-free in ocfs2_get_system_file_inode+0x780/0x820 fs/ocfs2/sysfile.c:102\nRead of size 8 at addr ffff88800b767c00 by task kworker/u8:3/85\nCall Trace:\n ...\n ocfs2_get_system_file_inode+0x780/0x820 fs/ocfs2/sysfile.c:102\n ocfs2_wipe_inode+0x292/0xf70 fs/ocfs2/inode.c:840\n ocfs2_delete_inode fs/ocfs2/inode.c:1155 [inline]\n ocfs2_evict_inode+0x6c9/0x1170 fs/ocfs2/inode.c:1295\n evict+0x38e/0x8f0 fs/inode.c:810\n iput_final fs/inode.c:1914 [inline]\n iput fs/inode.c:1966 [inline]\n iput+0x55b/0x8b0 fs/inode.c:1926\n ocfs2_recover_orphans+0x610/0xe40 fs/ocfs2/journal.c:2374\n ocfs2_complete_recovery+0x5af/0xd00 fs/ocfs2/journal.c:1373\n ...\n\n[CAUSE]\nocfs2_validate_inode_block() validates i_suballoc_slot but leaves\nthe active ordinary orphan slot unchecked. Downstream consumers\nassume that the value is smaller than osb->max_slots.\n\n[FIX]\nReject an active i_orphaned_slot outside the slot range during\ndinode validation, before the inode reaches orphan wipe processing.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00181,"percentile":0.07695,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/edd76be702c0f8702472888425237fb9219e1c43","tags":[]},{"url":"https://git.kernel.org/stable/c/f535a34831f8325950933b401c76bfa99624419c","tags":[]},{"url":"https://git.kernel.org/stable/c/dea50e8049b0db2eb3d468e2505034962e81d8cd","tags":[]},{"url":"https://git.kernel.org/stable/c/c6c908f9b4edfb04534b15573168ae038f7a9cbf","tags":[]},{"url":"https://git.kernel.org/stable/c/3d7c4b7ce7b4baedfd8699fa692cd95f77d332de","tags":[]},{"url":"https://git.kernel.org/stable/c/b2d31acbd3b182755b019183fb46949ba5e39b9f","tags":[]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":1.54},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b4df6ed8db0c387d38292e31f00adc4cd297ed5a, < edd76be702c0f8702472888425237fb9219e1c43",">= b4df6ed8db0c387d38292e31f00adc4cd297ed5a, < f535a34831f8325950933b401c76bfa99624419c",">= b4df6ed8db0c387d38292e31f00adc4cd297ed5a, < dea50e8049b0db2eb3d468e2505034962e81d8cd",">= b4df6ed8db0c387d38292e31f00adc4cd297ed5a, < c6c908f9b4edfb04534b15573168ae038f7a9cbf",">= b4df6ed8db0c387d38292e31f00adc4cd297ed5a, < 3d7c4b7ce7b4baedfd8699fa692cd95f77d332de",">= b4df6ed8db0c387d38292e31f00adc4cd297ed5a, < b2d31acbd3b182755b019183fb46949ba5e39b9f"]},{"vendor":"Linux","product":"Linux","versions":["2.6.16"]}],"euvd":{"id":"EUVD-2026-81798","exploited":false,"provenance":"source"}}