# CVE-2026-90320: ocfs2: validate external xattr entries when reading metadata

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **Published:** 2026-09-17T16:08:37.497Z
- **Modified:** 2026-10-21T13:20:49.123Z

## Who should check

- Anyone running Linux \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< dc5778dbd0b6c411107a0e37e913a94b3c2f2728; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< ee4ef26927e967ea699b3f0d7ecf97ce044fbc79; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 9f4129b6905b7d638bbc9eb8013c3989cbe30b7e; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6
- Anyone running Linux 2.6.28

## Description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: validate external xattr entries when reading metadata

ocfs2\_validate\_xattr\_block() checks the xattr block header before the
block reaches higher-level xattr users, but it does not verify that a
non-indexed block's xh\_count and entry offsets fit inside the block. 
Indexed buckets likewise reach list/get consumers after ECC without an
entry-bounds check.

Use the flat xattr entry validator for non-indexed external xattr blocks,
and use a bucket-specific validator for indexed buckets at metadata read
time.  The bucket validator keeps the entry array bounded by the first
bucket block while checking name/value offsets against the bucket block
they target.

Reject corrupted external xattr metadata before listxattr() or getxattr()
can walk out-of-range entry arrays or name/value offsets.

Validation reproduced this kernel report:
BUG: KASAN: use-after-free in ocfs2\_xattr\_list\_entries+0xd7/0x190
Read of size 1 at addr ffff88810a654007 by task ocfs2\_xattr\_lis/630
Call Trace:
  dump\_stack\_lvl+0x66/0xa0
  print\_report+0xce/0x630
  kasan\_report+0xe0/0x110
  ocfs2\_xattr\_list\_entries+0xd7/0x190
  ocfs2\_listxattr+0x3f6/0x610
  listxattr+0x90/0xe0
  path\_listxattrat+0xed/0x220
  do\_syscall\_64+0x115/0x6a0
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

## Affected and fixed versions

- Linux: \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< dc5778dbd0b6c411107a0e37e913a94b3c2f2728; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< ee4ef26927e967ea699b3f0d7ecf97ce044fbc79; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 9f4129b6905b7d638bbc9eb8013c3989cbe30b7e; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6 (cvelist)
- Linux: 2.6.28 (cvelist)

## Mitigation

- Upgrade Linux to 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90320. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90320.md
Affected: Linux >= cf1d6c763fbcb115263114302485ad17e7933d87, < dc5778dbd0b6c411107a0e37e913a94b3c2f2728; >= cf1d6c763fbcb115263114302485ad17e7933d87, < ee4ef26927e967ea699b3f0d7ecf97ce044fbc79; >= cf1d6c763fbcb115263114302485ad17e7933d87, < 9f4129b6905b7d638bbc9eb8013c3989cbe30b7e; >= cf1d6c763fbcb1152631143…
Fixed in: Linux 9f4129b6905b7d638bbc9eb8013c3989cbe30b7e, Linux 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90320 being exploited?

There is no confirmed exploitation: CVE-2026-90320 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90320?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-90320?

Linux \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< dc5778dbd0b6c411107a0e37e913a94b3c2f2728; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< ee4ef26927e967ea699b3f0d7ecf97ce044fbc79; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 9f4129b6905b7d638bbc9eb8013c3989cbe30b7e; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6; Linux 2.6.28.

### Is there a fix for CVE-2026-90320?

Yes. Fixed in Linux 9f4129b6905b7d638bbc9eb8013c3989cbe30b7e, Linux 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6. Upgrade Linux to 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6 or later.

### How do I check if I'm affected by CVE-2026-90320?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/dc5778dbd0b6c411107a0e37e913a94b3c2f2728>
- other: <https://git.kernel.org/stable/c/ee4ef26927e967ea699b3f0d7ecf97ce044fbc79>
- other: <https://git.kernel.org/stable/c/9f4129b6905b7d638bbc9eb8013c3989cbe30b7e>
- other: <https://git.kernel.org/stable/c/2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90320>

HTML: <https://flawdb.com/CVE-2026-90320> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90320>
