CVE-2026-89646
High 7.8No known exploitationFix availableceph: fix leaked inode reference on writeback abort at umount
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 7% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix leaked inode reference on writeback abort at umount ceph_dirty_folio() takes a wrbuffer claim on each newly dirtied folio: it bumps i_wrbuffer_ref (taking an ihold() on the 0->1 transition) and attaches the snap_context to folio->private. That claim is released only by ceph_put_wrbuffer_cap_refs(), which for a submitted write runs from writepages_finish(). In ceph_submit_write(), if ceph_inc_osd_stopping_blocker() fails -- which happens during umount -- the request is aborted before submission: the already-collected folios are only redirtied and unlocked, so writepages_finish() never runs and the claim is leaked. redirty_page_for_writepage() -> folio_redirty_for_writepage() -> filemap_dirty_folio() sets PG_dirty directly and does not go through ->dirty_folio, so ceph_dirty_folio() is not re-entered to rebalance it. Because every subsequent writeback also fails the osd_stopping_blocker, i_wrbuffer_ref never returns to 0, the ihold() is never dropped, and the inode cannot be evicted: VFS: Busy inodes after unmount of ceph kernel BUG at fs/super.c:650! Release the orphaned claim in the abort path before redirtying, via ceph_undo_wrbuffer_claim(): detach the snap_context, drop the wrbuffer reference (letting i_wrbuffer_ref reach 0 and iput() the inode), and drop the snap_context reference -- i.e. do what writepages_finish() would have done for these never-submitted folios. Only the locked_pages entries are undone; folios still in the fbatch were never dirty-cleared by this call (folio_clear_dirty_for_io() is the ownership-transfer point, and a successful move NULLs the fbatch slot), so they hold no claim this call owns.
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 567d799f59b7e285c87719e7056219f752e3bd51 before cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a | cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a | CVE Program |
| Linux | Linux | from fd7449d937e7fb3144770592927cf452bf66dbd3 before ec32015a955c5d326c5e26610edfdcccd52f2314 | ec32015a955c5d326c5e26610edfdcccd52f2314 | CVE Program |
| Linux | Linux | from fd7449d937e7fb3144770592927cf452bf66dbd3 before ac7a5a5385762df458d10cccc086a4e079be7409 | ac7a5a5385762df458d10cccc086a4e079be7409 | CVE Program |
| Linux | Linux | from fd7449d937e7fb3144770592927cf452bf66dbd3 before c25aee9c630fb86f98d79eccb75765067079b972 | c25aee9c630fb86f98d79eccb75765067079b972 | CVE Program |
| Linux | Linux | 6.15 | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.50 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.4 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 6.15 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/ac7a5a5385762df458d10cccc086a4e079be7409 (opens in a new tab)
- https://git.kernel.org/stable/c/c25aee9c630fb86f98d79eccb75765067079b972 (opens in a new tab)
- https://git.kernel.org/stable/c/cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a (opens in a new tab)
- https://git.kernel.org/stable/c/ec32015a955c5d326c5e26610edfdcccd52f2314 (opens in a new tab)