{"id":25730,"date":"2026-09-18T04:31:48","date_gmt":"2026-09-17T20:31:48","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90321"},"modified":"2026-09-18T04:31:48","modified_gmt":"2026-09-17T20:31:48","slug":"cve-2026-90321","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90321","title":{"rendered":"CVE-2026-90321 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate inlin"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ocfs2: validate inline xattrs during inode block validation<\/p>\n<p>Patch series &#8220;ocfs2: validate xattr entry bounds&#8221;, v7.<\/p>\n<p>This series validates OCFS2 xattr entry name\/value bounds when xattr<br \/>\nmetadata is read and validated, before getxattr() or listxattr() can walk<br \/>\nout-of-range entry arrays or offsets from corrupted metadata.<\/p>\n<p>This patch (of 2):<\/p>\n<p>ocfs2_validate_inode_block() verifies a dinode before OCFS2 users walk<br \/>\nmetadata from it, but inline xattr metadata is still checked only in<br \/>\noperation-specific consumers.  The existing ibody lookup helper validates<br \/>\ninline header placement and entry count, but inode block validation does<br \/>\nnot reject entry name\/value bounds.<\/p>\n<p>Add a flat xattr entry validator and call it from inode block validation<br \/>\nfor inline xattrs.  Keep the operation paths on their existing<br \/>\nheader\/count lookup checks; the full entry bounds check now runs when the<br \/>\ninode block is validated at read time.<\/p>\n<p>Reject corrupted inline xattr metadata before ocfs2_xattr_ibody_get() or<br \/>\nlistxattr() can walk past the inline storage.<\/p>\n<p>Validation reproduced this kernel report:<br \/>\nBUG: KASAN: use-after-free in ocfs2_xattr_find_entry+0x5a\/0x170<br \/>\nRead of size 2 at addr ffff8881242a2000 by task python3\/529<br \/>\nCall Trace:<br \/>\n  dump_stack_lvl+0x66\/0xa0<br \/>\n  print_report+0xce\/0x630<br \/>\n  kasan_report+0xe0\/0x110<br \/>\n  ocfs2_xattr_find_entry+0x5a\/0x170<br \/>\n  ocfs2_xattr_get_nolock+0x20a\/0x820<br \/>\n  ocfs2_xattr_get+0x10c\/0x1e0<br \/>\n  __vfs_getxattr+0xe2\/0x130<br \/>\n  vfs_getxattr+0x185\/0x1b0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ocfs2: validate inline xattrs during inode block validation<\/p>\n<p>Patch series &#8220;ocfs2: validate xattr entry bounds&#8221;, v7.<\/p>\n<p>This series va<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25730","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}