CVE-2026-99696
Last modified
CVE-2026-99696 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: ocfs2: find the xattr entry again after defragmenting a bucket ocfs2_xattr_set_entry_bucket() hands loc.xl_entry to ocfs2_xa_set() twice: once for the bucket as it stands, and, if that reports -ENOSPC, once more after ocfs2_defrag_xattr_bucket() has packed the name/value pairs down. Defragmenting ends by sorting the entry array on xe_name_hash. Buckets are kept sorted, so the sort only permutes entries that share a hash, but lib/sort.c is an unstable heapsort and it does permute them. 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 defragmenting a bucket ocfs2_xattr_set_entry_bucket() hands loc.xl_entry to ocfs2_xa_set() twice: once for the bucket as it stands, and, if that reports -ENOSPC, once more after ocfs2_defrag_xattr_bucket() has packed the name/value pairs down. Defragmenting ends by sorting the entry array on xe_name_hash. Buckets are kept sorted, so the sort only permutes entries that share a hash, but lib/sort.c is an unstable heapsort and it does permute them. loc.xl_entry is an address inside xh_entries[], so afterwards it denotes whichever entry landed in that slot rather than the one the search found. The second ocfs2_xa_set() then works on the wrong entry. Nothing on that path compares the entry's name with xi->xi_name, so what happens depends on how the two entries compare in size: ocfs2_xa_reuse_entry() trips its BUG_ON() when the padded name sizes differ, and otherwise the new value is written into the neighbouring attribute's value slot while the attribute being set is left untouched. setxattr() reports success either way. Remember the entry's hash before defragmenting and look the entry up again afterwards, the way ocfs2_xattr_bucket_find() does. An entry that cannot be found again means the bucket no longer holds what the search found, so fail with -EFSCORRUPTED rather than writing through the stale pointer.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < f8e08be071ccc88fdf6b72f48d8f0455b7a340f0; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < cd5b1b2c797ba1672d126c238314de0effcee9a9; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 145f999a6c585ee68a6f573f727377c98caebe1d; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 10976cdcd61075eb51799a56ac99de1acda8b84c; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < b839d9913b56f0d769dced34cdfbe02a009b3bf1; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 89ef9cb4da160b5572e0e5b9cf930335117d561b; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 8c107f10fe63fdec081c2ae471fc90b4d3376db6; >= 012255961c9ecfe22b7a1df47ac26ab37818cb1e, < 9a40c050f58344615a0604701b5d299519833163 |
| Linux | Linux | 2.6.28 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99696?
How severe is CVE-2026-99696?
How do I fix CVE-2026-99696?
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-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-99695In 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…
- CVE-2026-99701In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99696?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
