# CVE-2026-89646: ceph: fix leaked inode reference on writeback abort at umount

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:45:37.767Z
- **Modified:** 2026-11-23T08:17:20.637Z

## Who should check

- Anyone running Linux \>= 567d799f59b7e285c87719e7056219f752e3bd51, \< cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< ec32015a955c5d326c5e26610edfdcccd52f2314; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< ac7a5a5385762df458d10cccc086a4e079be7409; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< c25aee9c630fb86f98d79eccb75765067079b972
- Anyone running Linux 6.15

## 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.

## Affected and fixed versions

- Linux: \>= 567d799f59b7e285c87719e7056219f752e3bd51, \< cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< ec32015a955c5d326c5e26610edfdcccd52f2314; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< ac7a5a5385762df458d10cccc086a4e079be7409; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< c25aee9c630fb86f98d79eccb75765067079b972 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89646. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89646.md
Affected: Linux >= 567d799f59b7e285c87719e7056219f752e3bd51, < cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a; >= fd7449d937e7fb3144770592927cf452bf66dbd3, < ec32015a955c5d326c5e26610edfdcccd52f2314; >= fd7449d937e7fb3144770592927cf452bf66dbd3, < ac7a5a5385762df458d10cccc086a4e079be7409; >= fd7449d937e7fb314477059…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89646 being exploited?

There is no confirmed exploitation: CVE-2026-89646 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89646?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89646?

Linux \>= 567d799f59b7e285c87719e7056219f752e3bd51, \< cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< ec32015a955c5d326c5e26610edfdcccd52f2314; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< ac7a5a5385762df458d10cccc086a4e079be7409; \>= fd7449d937e7fb3144770592927cf452bf66dbd3, \< c25aee9c630fb86f98d79eccb75765067079b972; Linux 6.15.

### Is there a fix for CVE-2026-89646?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89646?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cfbbb5bb6f2e5e907dd0dd25e282b6184861eb9a>
- other: <https://git.kernel.org/stable/c/ec32015a955c5d326c5e26610edfdcccd52f2314>
- other: <https://git.kernel.org/stable/c/ac7a5a5385762df458d10cccc086a4e079be7409>
- other: <https://git.kernel.org/stable/c/c25aee9c630fb86f98d79eccb75765067079b972>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89646>

HTML: <https://flawdb.com/CVE-2026-89646> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89646>
