CVE-2026-89648
Last modified
CVE-2026-89648 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d4846487870897a5a149a3220c95bfd5728f9247, < c040e139f1a629b767f900bbbc3f9892c290ed85; >= d4846487870897a5a149a3220c95bfd5728f9247, < f341270ac5f5077804d7837ce77b0f0df1cea29d; >= d4846487870897a5a149a3220c95bfd5728f9247, < 4bd3158bd62466d57ed72a3f7bc5f205fedd6919 |
| Linux | Linux | 5.7 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89648?
How severe is CVE-2026-89648?
How do I fix CVE-2026-89648?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89642In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89643In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89644In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89645In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89646In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89647In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-89649In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-8965Information disclosure in the DOM: Security component. This …7.5
- CVE-2026-89650In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-89651In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89652In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89653In the Linux kernel, the following vulnerability has been re…9.8
Are you affected by CVE-2026-89648?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
