GHSA-Q94M-6M6J-5498

Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:30
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

f2fs: release a removed xattr node in roll-forward recovery

When xattrs shrink enough to fit in the inline xattr area, write_all_xattrs() truncates the xattr node and clears i_xattr_nid. If the file is then fsynced without a checkpoint, only the inode block is written, with i_xattr_nid of 0.

Roll-forward recovery starts from the checkpointed inode, whose i_xattr_nid still points to the old xattr node. f2fs_recover_inline_xattr() copies only the inline xattr area, and f2fs_update_inode() writes the old i_xattr_nid back. So the inode keeps the stale xattr node:

  • The node block is never released, and fsck reports "nonzero bytes in xattr space after end of list".
  • If the inline xattr list ends exactly at the end of the inline area, its terminator is read from the stale node, and the removed xattrs come back after recovery.

When the fsynced inode has no xattr node but the checkpointed one has, release the old xattr node as truncate_node() does: check its block address, invalidate the block and drop its node cache, which may still be dirty.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99569"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-20T06:17:47Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: release a removed xattr node in roll-forward recovery\n\nWhen xattrs shrink enough to fit in the inline xattr area,\nwrite_all_xattrs() truncates the xattr node and clears i_xattr_nid. If\nthe file is then fsynced without a checkpoint, only the inode block is\nwritten, with i_xattr_nid of 0.\n\nRoll-forward recovery starts from the checkpointed inode, whose\ni_xattr_nid still points to the old xattr node.\nf2fs_recover_inline_xattr() copies only the inline xattr area, and\nf2fs_update_inode() writes the old i_xattr_nid back. So the inode keeps\nthe stale xattr node:\n\n - The node block is never released, and fsck reports \"nonzero bytes in\n   xattr space after end of list\".\n - If the inline xattr list ends exactly at the end of the inline area,\n   its terminator is read from the stale node, and the removed xattrs\n   come back after recovery.\n\nWhen the fsynced inode has no xattr node but the checkpointed one has,\nrelease the old xattr node as truncate_node() does: check its block\naddress, invalidate the block and drop its node cache, which may still\nbe dirty.",
  "id": "GHSA-q94m-6m6j-5498",
  "modified": "2026-11-23T09:30:49Z",
  "published": "2026-11-20T06:32:01Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99569"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1b3f12d3b5799a81d70f23e74d1dfff7b3002ff2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/246a50b23bf2042c77b167272db121d03c8dd473"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6d20439d101e1574801b05349451e87cf1447a39"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6d9c89d6dd18c0cfec33bdb468bf4b86c0ca7cea"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9dde888b2260612d05f1077042a12538187afaa4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bf2acd50ae2bf721f97ed108a22139078f3b60e2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c06cfda3b67692651438876663ae7cdc187eb214"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f5924de8867c09206ba631b9faed63862ec00a10"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…