{"id":"CVE-2026-90205","aliases":["CVE-2026-90205"],"related":[],"kind":"vulnerability","state":"published","title":"ocfs2: validate orphan slot during inode read","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-17T16:07:21.521Z","modified":"2026-10-30T13:20:46.223Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b4df6ed8db0c387d38292e31f00adc4cd297ed5a","fixed":"edd76be702c0f8702472888425237fb9219e1c43","status":"affected"},{"type":"git","introduced":"b4df6ed8db0c387d38292e31f00adc4cd297ed5a","fixed":"f535a34831f8325950933b401c76bfa99624419c","status":"affected"},{"type":"git","introduced":"b4df6ed8db0c387d38292e31f00adc4cd297ed5a","fixed":"dea50e8049b0db2eb3d468e2505034962e81d8cd","status":"affected"},{"type":"git","introduced":"b4df6ed8db0c387d38292e31f00adc4cd297ed5a","fixed":"c6c908f9b4edfb04534b15573168ae038f7a9cbf","status":"affected"},{"type":"git","introduced":"b4df6ed8db0c387d38292e31f00adc4cd297ed5a","fixed":"3d7c4b7ce7b4baedfd8699fa692cd95f77d332de","status":"affected"},{"type":"git","introduced":"b4df6ed8db0c387d38292e31f00adc4cd297ed5a","fixed":"b2d31acbd3b182755b019183fb46949ba5e39b9f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.16","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/edd76be702c0f8702472888425237fb9219e1c43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f535a34831f8325950933b401c76bfa99624419c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dea50e8049b0db2eb3d468e2505034962e81d8cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6c908f9b4edfb04534b15573168ae038f7a9cbf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d7c4b7ce7b4baedfd8699fa692cd95f77d332de","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2d31acbd3b182755b019183fb46949ba5e39b9f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90205","url":"https://www.cve.org/CVERecord?id=CVE-2026-90205","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:45.443Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90205","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90205","licence":"Public domain","modified":"2026-10-30T13:20:46.223Z"}],"updatedAt":"2026-11-25T22:59:39.341Z","epss":{"score":0.00172,"percentile":0.06876,"date":"2026-12-01T12:00:22.000Z"}}