# CVE-2026-99695: ocfs2: find the xattr entry again after converting a block to a bucket

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

## Who should check

- Anyone running Linux \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 049ded9e088fa206be3148f116ef9c914fd1c979; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< b38342e173b6011b38349618d4925567e71d949c; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< dc5ed4e05de2c0c05bb0a4cec7b5b50d18978646; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< f3e86037f2ac33ad13d84d46158e04580bbae24e; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 49820bda28134ab0f6748e66cb104c9adcc2e116; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 1ca9787e733a29aea926f8956dffc41bf553c5ca; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 2bd2ca4f70570f08992ba38dbf2570f8def4288e; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 9c191a7a44882487e291e09f095d2ae4d7cca146
- Anyone running Linux 2.6.28

## Description

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

ocfs2: find the xattr entry again after converting a block to a bucket

ocfs2\_xattr\_create\_index\_block() turns a non-indexed xattr block into a
tree by copying it into a bucket, and the copy sorts the entries: a
block holds them in insertion order, a bucket by name hash.
ocfs2\_xattr\_update\_xattr\_search() nevertheless relocates the caller's
search by the index the entry had in the block, so unless the two orders
agreed it points at an unrelated entry, and nothing between there and
the write compares that entry's name with the one being set.

Setting an xattr whose new value no longer fits the block arrives here
with xs-\>not\_found clear.  The block gave up because
ocfs2\_xa\_block\_can\_reuse() wants an exact namevalue size match, while
ocfs2\_xa\_bucket\_can\_reuse() only wants an entry at least as large as the
new one, so the bucket accepts a pair the block rejected and the update
lands on whichever entry the sort left at that index.  Equal padded name
lengths get that other attribute's value replaced in place and its name
left alone, so setxattr returns success while the attribute asked for
keeps its old value.  A longer one trips ocfs2\_xa\_reuse\_entry()'s
BUG\_ON, and a shorter one is refused by the bucket as well, so
ocfs2\_xa\_prepare\_entry() wipes the entry and writes the new name over
it, leaving xe\_name\_hash describing a name that is no longer there.

Find the entry again by the name being set, matching the type as well.
The copy carries every entry and every name over unchanged, and (type,
name) pairs are unique within a block, so the match is exact.  The type
matters because the handlers strip their prefix before calling
ocfs2\_xattr\_set(), so user.foo and trusted.foo share a stored name, a
stored length and a hash, and both can sit in the same block.

The name has to come from xi rather than from xs-\>here: a failed set can
remove the entry xs-\>here names, and only the "growing" caller sets
ctxt-\>set\_abort, which is what stops the conversion.  Scan every entry
rather than narrowing on the hash the way ocfs2\_find\_xe\_in\_bucket()
does, since an existing entry keeps the hash it was stored under, which
a kernel that sign-extended the name bytes made different from the one
computed now.  An empty result means the entry did not survive the
failed set and this has become an insert; leaving xs-\>here alone would
keep it pointing into the block, which is rewritten as a tree root
before the caller reads it again.

## Affected and fixed versions

- Linux: \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 049ded9e088fa206be3148f116ef9c914fd1c979; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< b38342e173b6011b38349618d4925567e71d949c; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< dc5ed4e05de2c0c05bb0a4cec7b5b50d18978646; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< f3e86037f2ac33ad13d84d46158e04580bbae24e; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 49820bda28134ab0f6748e66cb104c9adcc2e116; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 1ca9787e733a29aea926f8956dffc41bf553c5ca; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 2bd2ca4f70570f08992ba38dbf2570f8def4288e; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 9c191a7a44882487e291e09f095d2ae4d7cca146 (cvelist)
- Linux: 2.6.28 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-99695.md
Affected: Linux >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 049ded9e088fa206be3148f116ef9c914fd1c979; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < b38342e173b6011b38349618d4925567e71d949c; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < dc5ed4e05de2c0c05bb0a4cec7b5b50d18978646; >= 012255961c9ecfe22b7a1df…
Fixed in: Linux 049ded9e088fa206be3148f116ef9c914fd1c979, Linux 49820bda28134ab0f6748e66cb104c9adcc2e116, Linux 1ca9787e733a29aea926f8956dffc41bf553c5ca, Linux 2bd2ca4f70570f08992ba38dbf2570f8def4288e, Linux 9c191a7a44882487e291e09f095d2ae4d7cca146

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

There is no confirmed exploitation: CVE-2026-99695 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-99695?

It has no CVSS score yet. Unknown.

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

Linux \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 049ded9e088fa206be3148f116ef9c914fd1c979; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< b38342e173b6011b38349618d4925567e71d949c; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< dc5ed4e05de2c0c05bb0a4cec7b5b50d18978646; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< f3e86037f2ac33ad13d84d46158e04580bbae24e; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 49820bda28134ab0f6748e66cb104c9adcc2e116; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 1ca9787e733a29aea926f8956dffc41bf553c5ca; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 2bd2ca4f70570f08992ba38dbf2570f8def4288e; \>= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, \< 9c191a7a44882487e291e09f095d2ae4d7cca146; Linux 2.6.28.

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

Yes. Fixed in Linux 049ded9e088fa206be3148f116ef9c914fd1c979, Linux 49820bda28134ab0f6748e66cb104c9adcc2e116, Linux 1ca9787e733a29aea926f8956dffc41bf553c5ca, Linux 2bd2ca4f70570f08992ba38dbf2570f8def4288e, Linux 9c191a7a44882487e291e09f095d2ae4d7cca146. Upgrade Linux to 9c191a7a44882487e291e09f095d2ae4d7cca146 or later.

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

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/049ded9e088fa206be3148f116ef9c914fd1c979>
- other: <https://git.kernel.org/stable/c/b38342e173b6011b38349618d4925567e71d949c>
- other: <https://git.kernel.org/stable/c/dc5ed4e05de2c0c05bb0a4cec7b5b50d18978646>
- other: <https://git.kernel.org/stable/c/f3e86037f2ac33ad13d84d46158e04580bbae24e>
- other: <https://git.kernel.org/stable/c/49820bda28134ab0f6748e66cb104c9adcc2e116>
- other: <https://git.kernel.org/stable/c/1ca9787e733a29aea926f8956dffc41bf553c5ca>
- other: <https://git.kernel.org/stable/c/2bd2ca4f70570f08992ba38dbf2570f8def4288e>
- other: <https://git.kernel.org/stable/c/9c191a7a44882487e291e09f095d2ae4d7cca146>

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

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