VDB

CVE-2026-89646

CVE-2026-89646 PUBLISHED CVSS 7.8 HIGH

ceph: fix leaked inode reference on writeback abort at umount

Reported by linux · Published September 11, 2026

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.

EPSS 0.17% · 6.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-headersAmazon Linux1:6.18.51-120.162.amzn2023
perf6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-develAmazon Linux1:6.18.51-120.162.amzn2023
LinuxLinux6.15

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.17%
6.8th percentile

Affected products

VendorProductVersions
LinuxLinuxfd7449d937e7fb3144770592927cf452bf66dbd3, fd7449d937e7fb3144770592927cf452bf66dbd3, fd7449d937e7fb3144770592927cf452bf66dbd3
LinuxLinux6.15, 0, 6.18.50
amazon:2023kernel6.18-headers0
amazon:2023perf6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
LinuxLinux0, 6.15, *
amazon:2023bpftool6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel6.15, 6.15, 6.15
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023kernel6.18-modules-extra-common0

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (12 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89646
vulnetix vdb fixes CVE-2026-89646

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89646/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›