Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99965

published

ocfs2: reserve value tree metadata when moving an xattr into the inode

Published
30 Nov 2026, 13:18:42 UTC
Updated
30 Nov 2026, 13:18:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 3a2119720cb9a2b784b1efca7df7546703a80dbe · 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < f6953aed116d546aeeb5119faeb5f40bcfc867f9 · 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 2906b7db27d31c9f69bf94442a0c463a402455e5 · 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 1e23c37bfc56ba3d89a944ec7ce2ce0c4f4054e3 · 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < fa93db51c6b9de54770ed6715a0cb5d20934ffca · 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < aea3d821519b58c0ea4074734cb5cd1000a8cf65 · 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 38c3894b287317b39decc4ff97288e0a1145464e · 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < f5aee8ae5f85f8dfa78160e5c4963494319cdd64 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.29 (affected) · 0 to < 2.6.29 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 3a2119720cb9a2b784b1efca7df7546703a80dbe (affected · git)78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < f6953aed116d546aeeb5119faeb5f40bcfc867f9 (affected · git)78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 2906b7db27d31c9f69bf94442a0c463a402455e5 (affected · git)78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 1e23c37bfc56ba3d89a944ec7ce2ce0c4f4054e3 (affected · git)78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < fa93db51c6b9de54770ed6715a0cb5d20934ffca (affected · git)78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < aea3d821519b58c0ea4074734cb5cd1000a8cf65 (affected · git)78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < 38c3894b287317b39decc4ff97288e0a1145464e (affected · git)78f30c314a74b9dc5d7368d96fe4be883d9a3a04 to < f5aee8ae5f85f8dfa78160e5c4963494319cdd64 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.29 (affected)0 to < 2.6.29 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ocfs2: reserve value tree metadata when moving an xattr into the inode

Provenance

Schema
5.2
Searchable
yes
Content hash
ca04f312b2ed20b123af0384f230fe18d0ae453c7d6c2c0ed5f4b198a3e5f20b
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected