FKIE_CVE-2026-99965

Vulnerability from fkie_nvd - Published: 2026-11-30 14:20 - Updated: 2026-11-30 14:20
Severity
Summary
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.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ocfs2/xattr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3a2119720cb9a2b784b1efca7df7546703a80dbe",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            },
            {
              "lessThan": "f6953aed116d546aeeb5119faeb5f40bcfc867f9",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            },
            {
              "lessThan": "2906b7db27d31c9f69bf94442a0c463a402455e5",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            },
            {
              "lessThan": "1e23c37bfc56ba3d89a944ec7ce2ce0c4f4054e3",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            },
            {
              "lessThan": "fa93db51c6b9de54770ed6715a0cb5d20934ffca",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            },
            {
              "lessThan": "aea3d821519b58c0ea4074734cb5cd1000a8cf65",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            },
            {
              "lessThan": "38c3894b287317b39decc4ff97288e0a1145464e",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            },
            {
              "lessThan": "f5aee8ae5f85f8dfa78160e5c4963494319cdd64",
              "status": "affected",
              "version": "78f30c314a74b9dc5d7368d96fe4be883d9a3a04",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ocfs2/xattr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.29"
            },
            {
              "lessThan": "2.6.29",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: reserve value tree metadata when moving an xattr into the inode\n\nocfs2_calc_xattr_set_need() charges no metadata for the case where an\nxattr living in an xattr block or bucket moves back into the inode:\n\n        if (old_in_xb) {\n                if (ocfs2_xattr_can_be_in_inode(inode, xi, xis)) {\n                        clusters_add += new_clusters;\n                        credits += ...;\n                        if (!ocfs2_xattr_is_local(xe))\n                                credits += ocfs2_calc_extend_credits(...);\n                        goto out;\n                }\n        }\n\nThe credits for extending a value tree are there but the matching blocks\nare not, so meta_add stays 0, ocfs2_init_xattr_set_ctxt() skips\nocfs2_reserve_new_metadata_blocks() and ctxt-\u003emeta_ac is left NULL.\n\nThis is the shape commit 0cdc7dde00ec (\"ocfs2: fix missing metadata\nreservation for large xattrs\") fixed for the xattr block case, and it is\nreached the same way: namevalue_size() charges a value larger than\nOCFS2_XATTR_INLINE_SIZE as only OCFS2_XATTR_ROOT_SIZE, so\nocfs2_xattr_can_be_in_inode() accepts a new value that will be stored\noutside.  ocfs2_xa_prepare_entry() installs a value root from def_xv and\ngrows it, and once the cluster allocator is fragmented enough to need a\nsecond extent ocfs2_add_clusters_in_btree() finds the root full with no\nmeta_ac at all and answers RESTART_META.  ocfs2_xattr_extend_allocation()\nturns that into -ENOSPC, or into a BUG_ON() without that commit, and\nocfs2_xa_cleanup_value_truncate() takes its !orig_clusters arm, dropping\nthe entry and leaking the clusters already handed out until fsck.ocfs2\nreclaims them.\n\nReserve for the value tree here too.  The entry moves back into the inode\nrather than into a new xattr block, so unlike the create side of\nmeta_guess this needs no block of its own."
    }
  ],
  "id": "CVE-2026-99965",
  "lastModified": "2026-11-30T14:20:35.507",
  "metrics": {},
  "published": "2026-11-30T14:20:35.507",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1e23c37bfc56ba3d89a944ec7ce2ce0c4f4054e3"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2906b7db27d31c9f69bf94442a0c463a402455e5"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/38c3894b287317b39decc4ff97288e0a1145464e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/3a2119720cb9a2b784b1efca7df7546703a80dbe"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/aea3d821519b58c0ea4074734cb5cd1000a8cf65"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f5aee8ae5f85f8dfa78160e5c4963494319cdd64"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f6953aed116d546aeeb5119faeb5f40bcfc867f9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/fa93db51c6b9de54770ed6715a0cb5d20934ffca"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.