# CVE-2026-90321: ocfs2: validate inline xattrs during inode block validation

> 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-28)
- **Published:** 2026-09-17T16:08:38.138Z
- **Modified:** 2026-10-21T13:20:49.437Z

## Who should check

- Anyone running Linux \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 7dec19f6bafe4e1503007141c9f5eb7eb10e5578; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 8138d06e7a1d9a0b0481dc015c67b34e8bb60a58; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 3fd45b24879fa4885b66a582a6e47eda67f11310; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 8914a3330b72378136c2c02d6328a826f6abdad7
- Anyone running Linux 2.6.28

## Description

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

ocfs2: validate inline xattrs during inode block validation

Patch series "ocfs2: validate xattr entry bounds", v7.

This series validates OCFS2 xattr entry name/value bounds when xattr
metadata is read and validated, before getxattr() or listxattr() can walk
out-of-range entry arrays or offsets from corrupted metadata.


This patch (of 2):

ocfs2\_validate\_inode\_block() verifies a dinode before OCFS2 users walk
metadata from it, but inline xattr metadata is still checked only in
operation-specific consumers.  The existing ibody lookup helper validates
inline header placement and entry count, but inode block validation does
not reject entry name/value bounds.

Add a flat xattr entry validator and call it from inode block validation
for inline xattrs.  Keep the operation paths on their existing
header/count lookup checks; the full entry bounds check now runs when the
inode block is validated at read time.

Reject corrupted inline xattr metadata before ocfs2\_xattr\_ibody\_get() or
listxattr() can walk past the inline storage.

Validation reproduced this kernel report:
BUG: KASAN: use-after-free in ocfs2\_xattr\_find\_entry+0x5a/0x170
Read of size 2 at addr ffff8881242a2000 by task python3/529
Call Trace:
  dump\_stack\_lvl+0x66/0xa0
  print\_report+0xce/0x630
  kasan\_report+0xe0/0x110
  ocfs2\_xattr\_find\_entry+0x5a/0x170
  ocfs2\_xattr\_get\_nolock+0x20a/0x820
  ocfs2\_xattr\_get+0x10c/0x1e0
  \_\_vfs\_getxattr+0xe2/0x130
  vfs\_getxattr+0x185/0x1b0

## Affected and fixed versions

- Linux: \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 7dec19f6bafe4e1503007141c9f5eb7eb10e5578; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 8138d06e7a1d9a0b0481dc015c67b34e8bb60a58; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 3fd45b24879fa4885b66a582a6e47eda67f11310; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 8914a3330b72378136c2c02d6328a826f6abdad7 (cvelist)
- Linux: 2.6.28 (cvelist)

## Mitigation

- Upgrade Linux to 8914a3330b72378136c2c02d6328a826f6abdad7 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-90321. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90321.md
Affected: Linux >= cf1d6c763fbcb115263114302485ad17e7933d87, < 7dec19f6bafe4e1503007141c9f5eb7eb10e5578; >= cf1d6c763fbcb115263114302485ad17e7933d87, < 8138d06e7a1d9a0b0481dc015c67b34e8bb60a58; >= cf1d6c763fbcb115263114302485ad17e7933d87, < 3fd45b24879fa4885b66a582a6e47eda67f11310; >= cf1d6c763fbcb1152631143…
Fixed in: Linux 7dec19f6bafe4e1503007141c9f5eb7eb10e5578, Linux 8138d06e7a1d9a0b0481dc015c67b34e8bb60a58, Linux 3fd45b24879fa4885b66a582a6e47eda67f11310, Linux 8914a3330b72378136c2c02d6328a826f6abdad7

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-90321 being exploited?

There is no confirmed exploitation: CVE-2026-90321 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-28).

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

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-90321?

Linux \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 7dec19f6bafe4e1503007141c9f5eb7eb10e5578; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 8138d06e7a1d9a0b0481dc015c67b34e8bb60a58; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 3fd45b24879fa4885b66a582a6e47eda67f11310; \>= cf1d6c763fbcb115263114302485ad17e7933d87, \< 8914a3330b72378136c2c02d6328a826f6abdad7; Linux 2.6.28.

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

Yes. Fixed in Linux 7dec19f6bafe4e1503007141c9f5eb7eb10e5578, Linux 8138d06e7a1d9a0b0481dc015c67b34e8bb60a58, Linux 3fd45b24879fa4885b66a582a6e47eda67f11310, Linux 8914a3330b72378136c2c02d6328a826f6abdad7. Upgrade Linux to 8914a3330b72378136c2c02d6328a826f6abdad7 or later.

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

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/7dec19f6bafe4e1503007141c9f5eb7eb10e5578>
- other: <https://git.kernel.org/stable/c/8138d06e7a1d9a0b0481dc015c67b34e8bb60a58>
- other: <https://git.kernel.org/stable/c/3fd45b24879fa4885b66a582a6e47eda67f11310>
- other: <https://git.kernel.org/stable/c/8914a3330b72378136c2c02d6328a826f6abdad7>

## 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-90321>

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