CVE-2026-99965
ocfs2: reserve value tree metadata when moving an xattr into the inode
Check your servers for CVE-2026-99965
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99965 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.33%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before 3a2119720cb9a2b784b1efca7df7546703a80dbe affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before f6953aed116d546aeeb5119faeb5f40bcfc867f9 affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before 2906b7db27d31c9f69bf94442a0c463a402455e5 affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before 1e23c37bfc56ba3d89a944ec7ce2ce0c4f4054e3 affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before fa93db51c6b9de54770ed6715a0cb5d20934ffca affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before aea3d821519b58c0ea4074734cb5cd1000a8cf65 affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before 38c3894b287317b39decc4ff97288e0a1145464e affected from 78f30c314a74b9dc5d7368d96fe4be883d9a3a04, before f5aee8ae5f85f8dfa78160e5c4963494319cdd64
Other versions: unaffected
|
| Linux |
affected 2.6.29 unaffected before 2.6.29 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99965 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99965
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99965
trivy image --scanners vuln IMAGE | grep CVE-2026-99965
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3a2119720cb9a2b784b1efca7df7546703a80dbe git.kernel.org
- https://git.kernel.org/stable/c/f6953aed116d546aeeb5119faeb5f40bcfc867f9 git.kernel.org
- https://git.kernel.org/stable/c/2906b7db27d31c9f69bf94442a0c463a402455e5 git.kernel.org
- https://git.kernel.org/stable/c/1e23c37bfc56ba3d89a944ec7ce2ce0c4f4054e3 git.kernel.org
- https://git.kernel.org/stable/c/fa93db51c6b9de54770ed6715a0cb5d20934ffca git.kernel.org
- https://git.kernel.org/stable/c/aea3d821519b58c0ea4074734cb5cd1000a8cf65 git.kernel.org
- https://git.kernel.org/stable/c/38c3894b287317b39decc4ff97288e0a1145464e git.kernel.org
- https://git.kernel.org/stable/c/f5aee8ae5f85f8dfa78160e5c4963494319cdd64 git.kernel.org
Source: the record CVE-2026-99965 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse