CVE-2026-99965
Last modified
CVE-2026-99965 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: ocfs2: reserve value tree metadata when moving an xattr into the inode ocfs2_calc_xattr_set_need() charges no metadata for the case where an xattr living in an xattr block or bucket moves back into the inode: if (old_in_xb) { if (ocfs2_xattr_can_be_in_inode(inode, xi, xis)) { clusters_add += new_clusters; credits += ...; if (!ocfs2_xattr_is_local(xe)) credits += ocfs2_calc_extend_credits(...); goto out; } } The credits for extending a value tree are there but the matching blocks are not, so meta_add stays 0, ocfs2_init_xattr_set_ctxt() skips ocfs2_reserve_new_metadata_blocks() and ctxt->meta_ac is left NULL. This is the shape commit 0cdc7dde00ec ("ocfs2: fix missing metadata reservation for large xattrs") fixed for the xattr block case, and it is reached the same way: namevalue_size() charges a value larger than OCFS2_XATTR_INLINE_SIZE as only OCFS2_XATTR_ROOT_SIZE, so ocfs2_xattr_can_be_in_inode() accepts a new value that will be stored outside. ocfs2_xa_prepare_entry() installs a value root from def_xv and grows it, and once the cluster allocator is fragmented enough to need a second extent ocfs2_add_clusters_in_btree() finds the root full with no meta_ac at all and answers RESTART_META.
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: reserve value tree metadata when moving an xattr into the inode ocfs2_calc_xattr_set_need() charges no metadata for the case where an xattr living in an xattr block or bucket moves back into the inode: if (old_in_xb) { if (ocfs2_xattr_can_be_in_inode(inode, xi, xis)) { clusters_add += new_clusters; credits += ...; if (!ocfs2_xattr_is_local(xe)) credits += ocfs2_calc_extend_credits(...); goto out; } } The credits for extending a value tree are there but the matching blocks are not, so meta_add stays 0, ocfs2_init_xattr_set_ctxt() skips ocfs2_reserve_new_metadata_blocks() and ctxt->meta_ac is left NULL. This is the shape commit 0cdc7dde00ec ("ocfs2: fix missing metadata reservation for large xattrs") fixed for the xattr block case, and it is reached the same way: namevalue_size() charges a value larger than OCFS2_XATTR_INLINE_SIZE as only OCFS2_XATTR_ROOT_SIZE, so ocfs2_xattr_can_be_in_inode() accepts a new value that will be stored outside. ocfs2_xa_prepare_entry() installs a value root from def_xv and grows it, and once the cluster allocator is fragmented enough to need a second extent ocfs2_add_clusters_in_btree() finds the root full with no meta_ac at all and answers RESTART_META. ocfs2_xattr_extend_allocation() turns that into -ENOSPC, or into a BUG_ON() without that commit, and ocfs2_xa_cleanup_value_truncate() takes its !orig_clusters arm, dropping the entry and leaking the clusters already handed out until fsck.ocfs2 reclaims them. Reserve for the value tree here too. The entry moves back into the inode rather than into a new xattr block, so unlike the create side of meta_guess this needs no block of its own.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < 3a2119720cb9a2b784b1efca7df7546703a80dbe; >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < f6953aed116d546aeeb5119faeb5f40bcfc867f9; >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < 2906b7db27d31c9f69bf94442a0c463a402455e5; >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < 1e23c37bfc56ba3d89a944ec7ce2ce0c4f4054e3; >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < fa93db51c6b9de54770ed6715a0cb5d20934ffca; >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < aea3d821519b58c0ea4074734cb5cd1000a8cf65; >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < 38c3894b287317b39decc4ff97288e0a1145464e; >= 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, < f5aee8ae5f85f8dfa78160e5c4963494319cdd64 |
| Linux | Linux | 2.6.29 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99965?
How severe is CVE-2026-99965?
How do I fix CVE-2026-99965?
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-9996Out of bounds read in WebRTC in Google Chrome on Mac prior t…6.5
- CVE-2026-99960In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99961In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99962In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99963In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99964In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99966In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99967In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99968In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99969In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9997Use after free in Input in Google Chrome prior to 148.0.7778…8.3
- CVE-2026-99970In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99965?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
