{"id":"CVE-2026-90320","aliases":["CVE-2026-90320"],"related":[],"kind":"vulnerability","state":"published","title":"ocfs2: validate external xattr entries when reading metadata","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate external xattr entries when reading metadata\n\nocfs2_validate_xattr_block() checks the xattr block header before the\nblock reaches higher-level xattr users, but it does not verify that a\nnon-indexed block's xh_count and entry offsets fit inside the block. \nIndexed buckets likewise reach list/get consumers after ECC without an\nentry-bounds check.\n\nUse the flat xattr entry validator for non-indexed external xattr blocks,\nand use a bucket-specific validator for indexed buckets at metadata read\ntime.  The bucket validator keeps the entry array bounded by the first\nbucket block while checking name/value offsets against the bucket block\nthey target.\n\nReject corrupted external xattr metadata before listxattr() or getxattr()\ncan walk out-of-range entry arrays or name/value offsets.\n\nValidation reproduced this kernel report:\nBUG: KASAN: use-after-free in ocfs2_xattr_list_entries+0xd7/0x190\nRead of size 1 at addr ffff88810a654007 by task ocfs2_xattr_lis/630\nCall Trace:\n  dump_stack_lvl+0x66/0xa0\n  print_report+0xce/0x630\n  kasan_report+0xe0/0x110\n  ocfs2_xattr_list_entries+0xd7/0x190\n  ocfs2_listxattr+0x3f6/0x610\n  listxattr+0x90/0xe0\n  path_listxattrat+0xed/0x220\n  do_syscall_64+0x115/0x6a0\n  entry_SYSCALL_64_after_hwframe+0x77/0x7f","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate external xattr entries when reading metadata\n\nocfs2_validate_xattr_block() checks the xattr block header before the\nblock reaches higher-level xattr users, but it does not verify that a\nnon-indexed block's xh_count and entry offsets fit inside the block. \nIndexed buckets likewise reach list/get consumers after ECC without an\nentry-bounds check.\n\nUse the flat xattr entry validator for non-indexed external xattr blocks,\nand use a bucket-specific validator for indexed buckets at metadata read\ntime.  The bucket validator keeps the entry array bounded by the first\nbucket block while checking name/value offsets against the bucket block\nthey target.\n\nReject corrupted external xattr metadata before listxattr() or getxattr()\ncan walk out-of-range entry arrays or name/value offsets.\n\nValidation reproduced this kernel report:\nBUG: KASAN: use-after-free in ocfs2_xattr_list_entries+0xd7/0x190\nRead of size 1 at addr ffff88810a654007 by task ocfs2_xattr_lis/630\nCall Trace:\n  dump_stack_lvl+0x66/0xa0\n  print_report+0xce/0x630\n  kasan_report+0xe0/0x110\n  ocfs2_xattr_list_entries+0xd7/0x190\n  ocfs2_listxattr+0x3f6/0x610\n  listxattr+0x90/0xe0\n  path_listxattrat+0xed/0x220\n  do_syscall_64+0x115/0x6a0\n  entry_SYSCALL_64_after_hwframe+0x77/0x7f","source":"cvelist"}],"published":"2026-09-17T16:08:37.497Z","modified":"2026-10-21T13:20:49.123Z","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":"cf1d6c763fbcb115263114302485ad17e7933d87","fixed":"dc5778dbd0b6c411107a0e37e913a94b3c2f2728","status":"affected"},{"type":"git","introduced":"cf1d6c763fbcb115263114302485ad17e7933d87","fixed":"ee4ef26927e967ea699b3f0d7ecf97ce044fbc79","status":"affected"},{"type":"git","introduced":"cf1d6c763fbcb115263114302485ad17e7933d87","fixed":"9f4129b6905b7d638bbc9eb8013c3989cbe30b7e","status":"affected"},{"type":"git","introduced":"cf1d6c763fbcb115263114302485ad17e7933d87","fixed":"2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6","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.28","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.28","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":"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/dc5778dbd0b6c411107a0e37e913a94b3c2f2728","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee4ef26927e967ea699b3f0d7ecf97ce044fbc79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f4129b6905b7d638bbc9eb8013c3989cbe30b7e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90320","url":"https://www.cve.org/CVERecord?id=CVE-2026-90320","licence":"CVE Terms of Use","modified":"2026-10-21T12:50:55.685Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90320","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90320","licence":"Public domain","modified":"2026-10-21T13:20:49.123Z"}],"updatedAt":"2026-11-25T22:59:39.381Z","epss":{"score":0.00167,"percentile":0.06269,"date":"2026-12-01T12:00:22.000Z"}}