# CVE-2026-89648: ceph: cap delegated inode count in ceph\_parse\_deleg\_inos()

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **Published:** 2026-09-11T19:45:39.375Z
- **Modified:** 2026-10-30T13:20:24.330Z

## Who should check

- Anyone running Linux \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 4606d76748affb378f9d15a5d77c128793f4b996; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 8194d8e61ef0b49baddf660c7e88fc1c563a5e55; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 7fc55e8e6b6b50f217b1728415578704baf4d0a2; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< c040e139f1a629b767f900bbbc3f9892c290ed85; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< f341270ac5f5077804d7837ce77b0f0df1cea29d; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 4bd3158bd62466d57ed72a3f7bc5f205fedd6919
- Anyone running Linux 5.7

## Description

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

ceph: cap delegated inode count in ceph\_parse\_deleg\_inos()

ceph\_parse\_deleg\_inos() decodes interval sets of delegated inode numbers
from an MDS create-with-delegation reply. For each set it reads a 64-bit
start and a 64-bit len with ceph\_decode\_64\_safe(), which only validates
that the eight bytes are present in the message, not the value, and then
loops over len while inserting entries into s\_delegated\_inos.

len is fully attacker controlled. A malicious or compromised MDS can send
one huge interval, many intervals in one reply, duplicate intervals, or
repeated replies that accumulate delegated inodes on the same session.
The original code bounded none of these and could spin the insert loop or
grow the xarray without limit.

Bound both dimensions with a single enforcement point. Track the number
of delegated inodes held by each MDS session in an atomic counter and
grow it only in ceph\_insert\_deleg\_ino(), which uses atomic\_add\_unless()
to refuse to push the count past CEPH\_MAX\_DELEG\_INOS. Because that helper
is the only place the counter grows, the per-session population can never
exceed the cap, so no separate per-session pre-check is needed. The
counter is decremented when async create consumes a delegated inode or
when an insert fails, incremented when a delegated inode is restored,
initialized with the session xarray, and reset when reconnect destroys
the xarray.

A per-session cap alone still lets one reply spin the insert loop on
duplicate ranges without growing the counter, so also cap the aggregate
interval length accepted from a single reply. Together these bound both
the loop trip count per reply and the xarray population across replies.

The cap is a fixed, client-chosen constant rather than a value derived
from the MDS. mds\_client\_prealloc\_inos is a userspace MDS configuration
option; it is never sent to the kernel client on the wire, and a
server-supplied bound could not be trusted for a defensive limit in any
case. The constant is set well above that option's documented default of
1000 (a generous multiple), so legitimate refill behavior is unaffected
while the CPU and xarray memory a malformed delegation stream can consume
stays bounded.

Impact: a malicious or compromised Ceph MDS can no longer make a client
spin through an unbounded delegated-inode interval or grow one session's
delegated-inode xarray without limit.

## Affected and fixed versions

- Linux: \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 4606d76748affb378f9d15a5d77c128793f4b996; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 8194d8e61ef0b49baddf660c7e88fc1c563a5e55; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 7fc55e8e6b6b50f217b1728415578704baf4d0a2; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< c040e139f1a629b767f900bbbc3f9892c290ed85; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< f341270ac5f5077804d7837ce77b0f0df1cea29d; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 4bd3158bd62466d57ed72a3f7bc5f205fedd6919 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 4bd3158bd62466d57ed72a3f7bc5f205fedd6919 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89648.md
Affected: Linux >= d4846487870897a5a149a3220c95bfd5728f9247, < 4606d76748affb378f9d15a5d77c128793f4b996; >= d4846487870897a5a149a3220c95bfd5728f9247, < 8194d8e61ef0b49baddf660c7e88fc1c563a5e55; >= d4846487870897a5a149a3220c95bfd5728f9247, < 7fc55e8e6b6b50f217b1728415578704baf4d0a2; >= d4846487870897a5a149a32…
Fixed in: Linux 4606d76748affb378f9d15a5d77c128793f4b996, Linux 8194d8e61ef0b49baddf660c7e88fc1c563a5e55, Linux 7fc55e8e6b6b50f217b1728415578704baf4d0a2, Linux 4bd3158bd62466d57ed72a3f7bc5f205fedd6919

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-89648 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 4606d76748affb378f9d15a5d77c128793f4b996; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 8194d8e61ef0b49baddf660c7e88fc1c563a5e55; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 7fc55e8e6b6b50f217b1728415578704baf4d0a2; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< c040e139f1a629b767f900bbbc3f9892c290ed85; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< f341270ac5f5077804d7837ce77b0f0df1cea29d; \>= d4846487870897a5a149a3220c95bfd5728f9247, \< 4bd3158bd62466d57ed72a3f7bc5f205fedd6919; Linux 5.7.

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

Yes. Fixed in Linux 4606d76748affb378f9d15a5d77c128793f4b996, Linux 8194d8e61ef0b49baddf660c7e88fc1c563a5e55, Linux 7fc55e8e6b6b50f217b1728415578704baf4d0a2, Linux 4bd3158bd62466d57ed72a3f7bc5f205fedd6919. Upgrade Linux to 4bd3158bd62466d57ed72a3f7bc5f205fedd6919 or later.

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

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/4606d76748affb378f9d15a5d77c128793f4b996>
- other: <https://git.kernel.org/stable/c/8194d8e61ef0b49baddf660c7e88fc1c563a5e55>
- other: <https://git.kernel.org/stable/c/7fc55e8e6b6b50f217b1728415578704baf4d0a2>
- other: <https://git.kernel.org/stable/c/c040e139f1a629b767f900bbbc3f9892c290ed85>
- other: <https://git.kernel.org/stable/c/f341270ac5f5077804d7837ce77b0f0df1cea29d>
- other: <https://git.kernel.org/stable/c/4bd3158bd62466d57ed72a3f7bc5f205fedd6919>

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

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