{
  "id": "CVE-2026-89646",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89646",
  "published_at": "2026-09-11T19:45:37.767Z",
  "title": "ceph: fix leaked inode reference on writeback abort at umount",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix leaked inode reference on writeback abort at umount\n\nceph_dirty_folio() takes a wrbuffer claim on each newly dirtied folio: it\nbumps i_wrbuffer_ref (taking an ihold() on the 0-\u003e1 transition) and\nattaches the snap_context to folio-\u003eprivate.  That claim is released only\nby ceph_put_wrbuffer_cap_refs(), which for a submitted write runs from\nwritepages_finish().\n\nIn ceph_submit_write(), if ceph_inc_osd_stopping_blocker() fails -- which\nhappens during umount -- the request is aborted before submission: the\nalready-collected folios are only redirtied and unlocked, so\nwritepages_finish() never runs and the claim is leaked.\nredirty_page_for_writepage() -\u003e folio_redirty_for_writepage() -\u003e\nfilemap_dirty_folio() sets PG_dirty directly and does not go through\n-\u003edirty_folio, so ceph_dirty_folio() is not re-entered to rebalance it.\nBecause every subsequent writeback also fails the osd_stopping_blocker,\ni_wrbuffer_ref never returns to 0, the ihold() is never dropped, and the\ninode cannot be evicted:\n\n  VFS: Busy inodes after unmount of ceph\n  kernel BUG at fs/super.c:650!\n\nRelease the orphaned claim in the abort path before redirtying, via\nceph_undo_wrbuffer_claim(): detach the snap_context, drop the wrbuffer\nreference (letting i_wrbuffer_ref reach 0 and iput() the inode), and drop\nthe snap_context reference -- i.e. do what writepages_finish() would have\ndone for these never-submitted folios.\n\nOnly the locked_pages entries are undone; folios still in the fbatch were\nnever dirty-cleared by this call (folio_clear_dirty_for_io() is the\nownership-transfer point, and a successful move NULLs the fbatch slot), so\nthey hold no claim this call owns.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= fd7449d937e7fb3144770592927cf452bf66dbd3, \u003c ec32015a955c5d326c5e26610edfdcccd52f2314",
          "\u003e= fd7449d937e7fb3144770592927cf452bf66dbd3, \u003c ac7a5a5385762df458d10cccc086a4e079be7409",
          "\u003e= fd7449d937e7fb3144770592927cf452bf66dbd3, \u003c c25aee9c630fb86f98d79eccb75765067079b972"
        ],
        "fixed_in": [
          "ec32015a955c5d326c5e26610edfdcccd52f2314",
          "ac7a5a5385762df458d10cccc086a4e079be7409",
          "c25aee9c630fb86f98d79eccb75765067079b972"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.15"
        ],
        "fixed_in": [
          "0",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ec32015a955c5d326c5e26610edfdcccd52f2314 or ac7a5a5385762df458d10cccc086a4e079be7409 or c25aee9c630fb86f98d79eccb75765067079b972 or later.",
      "Upgrade Linux to 0 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
