# CVE-2026-89651: ceph: bound MDSCapAuth path and fs\_name decode in handle\_session()

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-26)
- **Published:** 2026-09-11T19:45:41.620Z
- **Modified:** 2026-10-19T09:18:02.547Z

## Who should check

- Anyone running Linux \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< dc5c7dffda92ef372fa587c444a1c537373df824; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< c37db86d2b5e9b57001ccae7e7a727e95a4f9c02; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< 5f892c767b30e4fb0c744c59f9235c717383d2cd; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< 77933e22adfe813be2bd10be08d6e950103c3967
- Anyone running Linux 6.10

## Description

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

ceph: bound MDSCapAuth path and fs\_name decode in handle\_session()

handle\_session() decodes the MDSCapAuth records carried by a
CEPH\_SESSION\_OPEN message (msg\_version \>= 6). For each record the
match.path and match.fs\_name byte strings are read by first decoding a
32-bit length and then copying that many bytes with the bare
ceph\_decode\_copy(). Unlike the surrounding fields, which all use the
\_safe decode variants, these two copies are not preceded by a
ceph\_decode\_need() bounds check, and the enclosing MDSCapAuth and
MDSCapMatch struct\_len fields are skipped rather than enforced as an
upper bound. A length larger than the bytes remaining in the message
front makes ceph\_decode\_copy() read past the end of the front buffer.

The message front is a dedicated allocation (ceph\_msg\_new2() -\>
kvmalloc), so the over-read runs off that object. A malicious or
compromised MDS can trigger this with the first post-connect message on
mount, with no client-side user interaction; under KASAN it is reported
as a slab-out-of-bounds read in handle\_session().

Impact: a malicious MDS can force the kernel client to read up to 4 GiB
past the message front allocation during session setup, crashing the
client (out-of-bounds read).

Switch both copies to ceph\_decode\_copy\_safe(), which performs the
ceph\_decode\_need() bounds check before the copy and branches to the
existing bad label, matching the rest of the decoder and the error path
that frees the partially decoded cap\_auths array.

## Affected and fixed versions

- Linux: \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< dc5c7dffda92ef372fa587c444a1c537373df824; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< c37db86d2b5e9b57001ccae7e7a727e95a4f9c02; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< 5f892c767b30e4fb0c744c59f9235c717383d2cd; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< 77933e22adfe813be2bd10be08d6e950103c3967 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 77933e22adfe813be2bd10be08d6e950103c3967 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-89651. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89651.md
Affected: Linux >= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, < dc5c7dffda92ef372fa587c444a1c537373df824; >= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, < c37db86d2b5e9b57001ccae7e7a727e95a4f9c02; >= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, < 5f892c767b30e4fb0c744c59f9235c717383d2cd; >= 1d17de9534cb5a4c4c380d1…
Fixed in: Linux 5f892c767b30e4fb0c744c59f9235c717383d2cd, Linux 77933e22adfe813be2bd10be08d6e950103c3967

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

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< dc5c7dffda92ef372fa587c444a1c537373df824; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< c37db86d2b5e9b57001ccae7e7a727e95a4f9c02; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< 5f892c767b30e4fb0c744c59f9235c717383d2cd; \>= 1d17de9534cb5a4c4c380d174cc2f9281b34f89e, \< 77933e22adfe813be2bd10be08d6e950103c3967; Linux 6.10.

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

Yes. Fixed in Linux 5f892c767b30e4fb0c744c59f9235c717383d2cd, Linux 77933e22adfe813be2bd10be08d6e950103c3967. Upgrade Linux to 77933e22adfe813be2bd10be08d6e950103c3967 or later.

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

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/dc5c7dffda92ef372fa587c444a1c537373df824>
- other: <https://git.kernel.org/stable/c/c37db86d2b5e9b57001ccae7e7a727e95a4f9c02>
- other: <https://git.kernel.org/stable/c/5f892c767b30e4fb0c744c59f9235c717383d2cd>
- other: <https://git.kernel.org/stable/c/77933e22adfe813be2bd10be08d6e950103c3967>

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

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