CVE-2026-99695
Last modified
CVE-2026-99695 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 049ded9e088fa206be3148f116ef9c914fd1c979; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < b38342e173b6011b38349618d4925567e71d949c; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < dc5ed4e05de2c0c05bb0a4cec7b5b50d18978646; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < f3e86037f2ac33ad13d84d46158e04580bbae24e; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 49820bda28134ab0f6748e66cb104c9adcc2e116; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 1ca9787e733a29aea926f8956dffc41bf553c5ca; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 2bd2ca4f70570f08992ba38dbf2570f8def4288e; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 9c191a7a44882487e291e09f095d2ae4d7cca146 |
| Linux | Linux | 2.6.28 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99695?
How severe is CVE-2026-99695?
How do I fix CVE-2026-99695?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9969Insufficient validation of untrusted input in ANGLE in Googl…8.8
- CVE-2026-99690In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99691In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99692In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99693In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99694In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99696In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99697In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99698In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99699In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9970Use after free in WebGL in Google Chrome prior to 148.0.7778…8.3
- CVE-2026-99700In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99695?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
