# CVE-2026-99694: ocfs2: do not index before the entry array when dividing an empty bucket

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-11-20T05:50:38.090Z
- **Modified:** 2026-11-23T08:18:10.507Z

## Who should check

- Anyone running Linux \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< da4c7fd9935904f53456ee4c902257732bafa61b; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 593d7d770b0cb43ec2706d0cc70e69936bd4bea0; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< f9c03a6b2d822b93e672f6e76c33a721d460dcda; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< b813e2771f1a52e06c70db1790c602f6e6929eaf; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 58308e76c036822c78947efbbdcb800c1df6f6b2; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 7148fa383fb000d3125989ff3e63f3458a33591d; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< b710975d07b049c957ba6b93985b1cf9b169ad6e; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 7133a0d0954c109f1764ebf8ab32d7e757a6c587
- Anyone running Linux 2.6.28

## Description

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

ocfs2: do not index before the entry array when dividing an empty bucket

ocfs2\_divide\_xattr\_bucket() appends an empty bucket carrying a sentinel
hash when the source bucket has no divide position, taking that hash
from xh\_entries\[start - 1\].  ocfs2\_xattr\_find\_divide\_pos() returns count
when every entry shares one hash, and its loop does not run at all for
count \< 2, so an empty bucket comes back with start == count == 0 and
the read is xh\_entries\[-1\].

That is outside the \_\_counted\_by\_le(xh\_count) bounds of xh\_entries\[\] and
lands on the header, so the value picked up is
xh\_count \| xh\_free\_start \<\< 16.  One above it is written into the new
bucket's xh\_entries\[0\] and committed, which leaves a bucket whose first
hash does not follow the bucket before it.  ocfs2\_xattr\_bucket\_find()
binary searches on xh\_entries\[0\], so the broken key hides the range the
sentinel was meant to cover: getxattr() answers -ENODATA for an
attribute that is stored, and an insert can go to the wrong bucket and
leave two copies of a name.  The cross cluster divide hands the same
value back as a tree record's e\_cpos, which then claims a hash range it
does not cover.

Read xh\_entries\[0\] instead.  The branch is only reached when every entry
shares one hash, so for a non-empty bucket it holds the same value, and
for an empty one it is the slot that carries the bucket key.

An empty bucket reaches the divide from
ocfs2\_check\_xattr\_bucket\_collision(), which reports no collision for
one, through ocfs2\_add\_new\_xattr\_bucket() and
ocfs2\_extend\_xattr\_bucket().  It does not take a failed set to get
there: a divide that finds no position is itself what leaves an empty
sentinel bucket behind, and a later extend can pick it as the target.

## Affected and fixed versions

- Linux: \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< da4c7fd9935904f53456ee4c902257732bafa61b; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 593d7d770b0cb43ec2706d0cc70e69936bd4bea0; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< f9c03a6b2d822b93e672f6e76c33a721d460dcda; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< b813e2771f1a52e06c70db1790c602f6e6929eaf; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 58308e76c036822c78947efbbdcb800c1df6f6b2; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 7148fa383fb000d3125989ff3e63f3458a33591d; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< b710975d07b049c957ba6b93985b1cf9b169ad6e; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 7133a0d0954c109f1764ebf8ab32d7e757a6c587 (cvelist)
- Linux: 2.6.28 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-99694.md
Affected: Linux >= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, < da4c7fd9935904f53456ee4c902257732bafa61b; >= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, < 593d7d770b0cb43ec2706d0cc70e69936bd4bea0; >= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, < f9c03a6b2d822b93e672f6e76c33a721d460dcda; >= 80bcaf3469b8aefd316d4ce…
Fixed in: Linux 593d7d770b0cb43ec2706d0cc70e69936bd4bea0, Linux 58308e76c036822c78947efbbdcb800c1df6f6b2, Linux 7148fa383fb000d3125989ff3e63f3458a33591d, Linux 7133a0d0954c109f1764ebf8ab32d7e757a6c587

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< da4c7fd9935904f53456ee4c902257732bafa61b; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 593d7d770b0cb43ec2706d0cc70e69936bd4bea0; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< f9c03a6b2d822b93e672f6e76c33a721d460dcda; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< b813e2771f1a52e06c70db1790c602f6e6929eaf; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 58308e76c036822c78947efbbdcb800c1df6f6b2; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 7148fa383fb000d3125989ff3e63f3458a33591d; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< b710975d07b049c957ba6b93985b1cf9b169ad6e; \>= 80bcaf3469b8aefd316d4ceb27d9af7cfbb0b913, \< 7133a0d0954c109f1764ebf8ab32d7e757a6c587; Linux 2.6.28.

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

Yes. Fixed in Linux 593d7d770b0cb43ec2706d0cc70e69936bd4bea0, Linux 58308e76c036822c78947efbbdcb800c1df6f6b2, Linux 7148fa383fb000d3125989ff3e63f3458a33591d, Linux 7133a0d0954c109f1764ebf8ab32d7e757a6c587. Upgrade Linux to 7133a0d0954c109f1764ebf8ab32d7e757a6c587 or later.

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

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/da4c7fd9935904f53456ee4c902257732bafa61b>
- other: <https://git.kernel.org/stable/c/593d7d770b0cb43ec2706d0cc70e69936bd4bea0>
- other: <https://git.kernel.org/stable/c/f9c03a6b2d822b93e672f6e76c33a721d460dcda>
- other: <https://git.kernel.org/stable/c/b813e2771f1a52e06c70db1790c602f6e6929eaf>
- other: <https://git.kernel.org/stable/c/58308e76c036822c78947efbbdcb800c1df6f6b2>
- other: <https://git.kernel.org/stable/c/7148fa383fb000d3125989ff3e63f3458a33591d>
- other: <https://git.kernel.org/stable/c/b710975d07b049c957ba6b93985b1cf9b169ad6e>
- other: <https://git.kernel.org/stable/c/7133a0d0954c109f1764ebf8ab32d7e757a6c587>

## 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-99694>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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