VDB

CVE-2026-89648

CVE-2026-89648 PUBLISHED CVSS 7.5 HIGH

ceph: cap delegated inode count in ceph_parse_deleg_inos()

Reported by linux · Published September 11, 2026

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.

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.51-120.162.amzn2023
kernel-modules-extraAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.18-develAmazon Linux1:6.18.51-120.162.amzn2023
bpftool6.12Amazon Linux1:6.12.113-138.209.amzn2023
python3-perf6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
kernel-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel-livepatch-6.18.51-120.162Amazon Linux1:1.0-0.amzn2023
python3-perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel-toolsAmazon Linux1:6.1.189-236.399.amzn2023

15 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxd4846487870897a5a149a3220c95bfd5728f9247, d4846487870897a5a149a3220c95bfd5728f9247, d4846487870897a5a149a3220c95bfd5728f9247
LinuxLinux5.7, 0, 6.1.191
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.120
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023python3-perf6.120
amazon:2023microvm-kernel6.180
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-modules-extra0

…and 19 more

Timeline

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

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89648
vulnetix vdb fixes CVE-2026-89648

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-89648/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 ›