# CVE-2026-80809: ocfs2: fix missing metadata reservation for large xattrs

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-09-04T15:13:29.769Z
- **Modified:** 2026-10-19T09:17:15.673Z

## Who should check

- Anyone running Linux \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 743ac908282ac97ef6e73ac3a92df2cc8ecb7479; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 04ba24bce61c917b5b3009f0db470cbb72e26a0d; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< b4663405ae29d36011cd712d243456f3f9ab700d; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 6a009f1e61b11d9e23d3c5aa1dacfb010945da45; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< b9eb5c9fdd81d82976d4d5be2b2458eb7d7e46ec; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 6176313622e34fa3e2b66b9d0682d1e1c6b365c5; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< a3ccb57086dd7652d5ecb826486144198a98a8e9; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 50f0cbec45b0f3fd7e1263d01916518dbf31eb3f; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 0cdc7dde00ec63ac714271fa8b2918d630b8da1a; 92f61d8a31e270f9391e7bcc0ac638bd4262a8e0; …
- Anyone running Linux 2.6.35

## Description

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

ocfs2: fix missing metadata reservation for large xattrs

\[BUG\]
lsetxattr() panics the kernel when setting a large xattr value on a
fragmented filesystem where the file already has an external xattr
block.

\[CAUSE\]
ocfs2\_calc\_xattr\_set\_need() never reserves metadata blocks for a new
xattr value's extent tree when the file already has an external xattr
block. The not\_found path leaves meta\_add at zero, so meta\_ac is NULL
when ocfs2\_xattr\_extend\_allocation() runs.

A new value root has room for a single extent record. On a fragmented
filesystem, the allocator cannot satisfy the xattr value in one
contiguous run, so each non-contiguous run requires its own extent
record. When the value root's extent list is full and meta\_ac is NULL,
ocfs2\_add\_clusters\_in\_btree() returns RESTART\_META, and
ocfs2\_xattr\_extend\_allocation() hits BUG\_ON(why == RESTART\_META).

\[FIX\]
The case where no xattr block exists yet already calls
ocfs2\_extend\_meta\_needed(&def\_xv.xv.xr\_list) to reserve value tree
metadata. Add the same reservation to the case where an xattr block
already exists, making the two cases consistent.

Replace the BUG\_ON with a -ENOSPC return so that if RESTART\_META is
returned despite the reservation, the error propagates to userspace
instead of panicking the kernel.

## Affected and fixed versions

- Linux: \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 743ac908282ac97ef6e73ac3a92df2cc8ecb7479; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 04ba24bce61c917b5b3009f0db470cbb72e26a0d; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< b4663405ae29d36011cd712d243456f3f9ab700d; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 6a009f1e61b11d9e23d3c5aa1dacfb010945da45; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< b9eb5c9fdd81d82976d4d5be2b2458eb7d7e46ec; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 6176313622e34fa3e2b66b9d0682d1e1c6b365c5; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< a3ccb57086dd7652d5ecb826486144198a98a8e9; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 50f0cbec45b0f3fd7e1263d01916518dbf31eb3f; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 0cdc7dde00ec63ac714271fa8b2918d630b8da1a; 92f61d8a31e270f9391e7bcc0ac638bd4262a8e0; … (cvelist)
- Linux: 2.6.35 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80809.md
Affected: Linux >= a78f9f4668949a6588b8872f162e86685c63d023, < 743ac908282ac97ef6e73ac3a92df2cc8ecb7479; >= a78f9f4668949a6588b8872f162e86685c63d023, < 04ba24bce61c917b5b3009f0db470cbb72e26a0d; >= a78f9f4668949a6588b8872f162e86685c63d023, < b4663405ae29d36011cd712d243456f3f9ab700d; >= a78f9f4668949a6588b8872…
Fixed in: Linux 743ac908282ac97ef6e73ac3a92df2cc8ecb7479, Linux 04ba24bce61c917b5b3009f0db470cbb72e26a0d, Linux 6a009f1e61b11d9e23d3c5aa1dacfb010945da45, Linux 6176313622e34fa3e2b66b9d0682d1e1c6b365c5, Linux 50f0cbec45b0f3fd7e1263d01916518dbf31eb3f, Linux 0cdc7dde00ec63ac714271fa8b2918d630b8da1a

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 743ac908282ac97ef6e73ac3a92df2cc8ecb7479; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 04ba24bce61c917b5b3009f0db470cbb72e26a0d; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< b4663405ae29d36011cd712d243456f3f9ab700d; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 6a009f1e61b11d9e23d3c5aa1dacfb010945da45; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< b9eb5c9fdd81d82976d4d5be2b2458eb7d7e46ec; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 6176313622e34fa3e2b66b9d0682d1e1c6b365c5; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< a3ccb57086dd7652d5ecb826486144198a98a8e9; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 50f0cbec45b0f3fd7e1263d01916518dbf31eb3f; \>= a78f9f4668949a6588b8872f162e86685c63d023, \< 0cdc7dde00ec63ac714271fa8b2918d630b8da1a; 92f61d8a31e270f9391e7bcc0ac638bd4262a8e0; …; Linux 2.6.35.

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

Yes. Fixed in Linux 743ac908282ac97ef6e73ac3a92df2cc8ecb7479, Linux 04ba24bce61c917b5b3009f0db470cbb72e26a0d, Linux 6a009f1e61b11d9e23d3c5aa1dacfb010945da45, Linux 6176313622e34fa3e2b66b9d0682d1e1c6b365c5, Linux 50f0cbec45b0f3fd7e1263d01916518dbf31eb3f, Linux 0cdc7dde00ec63ac714271fa8b2918d630b8da1a. No fix listed yet: follow the vendor advisory.

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

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/743ac908282ac97ef6e73ac3a92df2cc8ecb7479>
- other: <https://git.kernel.org/stable/c/04ba24bce61c917b5b3009f0db470cbb72e26a0d>
- other: <https://git.kernel.org/stable/c/b4663405ae29d36011cd712d243456f3f9ab700d>
- other: <https://git.kernel.org/stable/c/6a009f1e61b11d9e23d3c5aa1dacfb010945da45>
- other: <https://git.kernel.org/stable/c/b9eb5c9fdd81d82976d4d5be2b2458eb7d7e46ec>
- other: <https://git.kernel.org/stable/c/6176313622e34fa3e2b66b9d0682d1e1c6b365c5>
- other: <https://git.kernel.org/stable/c/a3ccb57086dd7652d5ecb826486144198a98a8e9>
- other: <https://git.kernel.org/stable/c/50f0cbec45b0f3fd7e1263d01916518dbf31eb3f>
- other: <https://git.kernel.org/stable/c/0cdc7dde00ec63ac714271fa8b2918d630b8da1a>

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

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