ghsa-mj4f-2wrx-xxwp
Vulnerability from github
Published
2025-09-15 15:31
Modified
2025-09-15 15:31
Details

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

ubifs: dirty_cow_znode: Fix memleak in error handling path

Following process will cause a memleak for copied up znode:

dirty_cow_znode zn = copy_znode(c, znode); err = insert_old_idx(c, zbr->lnum, zbr->offs); if (unlikely(err)) return ERR_PTR(err); // No one refers to zn.

Fix it by adding copied znode back to tnc, then it will be freed by ubifs_destroy_tnc_subtree() while closing tnc.

Fetch a reproducer in [Link].

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2023-53227"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-09-15T15:15:49Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nubifs: dirty_cow_znode: Fix memleak in error handling path\n\nFollowing process will cause a memleak for copied up znode:\n\ndirty_cow_znode\n  zn = copy_znode(c, znode);\n  err = insert_old_idx(c, zbr-\u003elnum, zbr-\u003eoffs);\n  if (unlikely(err))\n     return ERR_PTR(err);   // No one refers to zn.\n\nFix it by adding copied znode back to tnc, then it will be freed\nby ubifs_destroy_tnc_subtree() while closing tnc.\n\nFetch a reproducer in [Link].",
  "id": "GHSA-mj4f-2wrx-xxwp",
  "modified": "2025-09-15T15:31:29Z",
  "published": "2025-09-15T15:31:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-53227"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/011050fc471cd0b32410694facb47bac20e7262b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/10b6c359e374df1120b951768260083ef047d7fb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/122deabfe1428bffe95e2bf364ff8a5059bdf089"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/510b80abe8d2d89e4ff21d71f1804ba2e5d3a96b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5759076fc7c54614084002345a21bc2c578bf4a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/76c488e8a0e2783c6d8753cb7354a420593e8c30"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d4768523b092bfb9a9bfa6b1d903b968c8008cf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bbcf899036eeb98c3a938fb08946c6b52771f71c"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…