# CVE-2026-89650: ceph: bound num\_export\_targets array for mds info v2/v3

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

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.73% (percentile 50, 2026-11-26)
- **Published:** 2026-09-11T19:45:40.867Z
- **Modified:** 2026-10-30T13:20:24.510Z

## Who should check

- Anyone running Linux \>= d463a43d69f4af85887671d76182437775fd1631, \< a6eaf7bd229d0940ba8f126c684a663a680abef1; \>= d463a43d69f4af85887671d76182437775fd1631, \< 0c4bcc3ba7291d383b82ce1c2fe324f69a42da2d; \>= d463a43d69f4af85887671d76182437775fd1631, \< 55a06b32438c222765138727d0a8164b103e8f0d; \>= d463a43d69f4af85887671d76182437775fd1631, \< eb3e1a1cb1634c76d59c5a9cb1a026fc69d40911; \>= d463a43d69f4af85887671d76182437775fd1631, \< 3bf7dba8dba9a05774b846affec61a3624ddba38; \>= d463a43d69f4af85887671d76182437775fd1631, \< 58c2d3e954c13694ef6e820a5e9456461bb9e7df; \>= d463a43d69f4af85887671d76182437775fd1631, \< 332c444f4dc6fa1e8b8637c9e82d29e97f768656; \>= d463a43d69f4af85887671d76182437775fd1631, \< a3eb169ee297aa99670ba927c659990bd1e453f3
- Anyone running Linux 4.7

## Description

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

ceph: bound num\_export\_targets array for mds info v2/v3

ceph\_mdsmap\_decode() in fs/ceph/mdsmap.c reads num\_export\_targets from
each per-mds info record and advances the decode cursor by
num\_export\_targets \* sizeof(u32) without first checking that many bytes
remain. The only upper-bound check that catches a runaway cursor
(\*p \> info\_end) is gated on info\_v \>= 4, because info\_end is left NULL
for info\_v 2 and 3. When the monitor sends an MDS map whose per-mds
info version is 2 or 3 with an oversized num\_export\_targets, the cursor
moves past the message front buffer and the later export-targets loop
calls the unchecked ceph\_decode\_32() on out-of-bounds memory.

A kernel client processes CEPH\_MSG\_MDS\_MAP from its monitor session
(net/ceph/mon\_client.c dispatches it; fs/ceph/super.c routes it to
ceph\_mdsc\_handle\_mdsmap(), which sets end to the front buffer bound and
calls ceph\_mdsmap\_decode()). A malicious or compromised monitor, or an
on-path attacker on an unsigned/unencrypted messenger session, can
therefore drive an out-of-bounds read in the client kernel; on x86\_64
with KASAN it is reported as a slab-out-of-bounds read in
ceph\_mdsmap\_decode(). The decoded values land in the internal
info-\>export\_targets\[\] array, so the consequence is a kernel
out-of-bounds read, not an information leak to the attacker.

Impact: a malicious or compromised Ceph monitor sending an MDS map with
a per-mds info version of 2 or 3 and an oversized num\_export\_targets
field triggers an out-of-bounds read in the CephFS client kernel.

Add a ceph\_decode\_need() for the export-targets array before advancing
the cursor, so the bound is enforced for every info\_v \>= 2, not only
info\_v \>= 4. This mirrors the count-then-need idiom already used for
m\_data\_pg\_pools later in the same function.

Compute the export-targets byte count with size\_mul() and reuse that
checked length when advancing the cursor, so the attacker-controlled
num\_export\_targets multiplication fails closed on overflow rather than
relying on the later kcalloc() guard.

## Affected and fixed versions

- Linux: \>= d463a43d69f4af85887671d76182437775fd1631, \< a6eaf7bd229d0940ba8f126c684a663a680abef1; \>= d463a43d69f4af85887671d76182437775fd1631, \< 0c4bcc3ba7291d383b82ce1c2fe324f69a42da2d; \>= d463a43d69f4af85887671d76182437775fd1631, \< 55a06b32438c222765138727d0a8164b103e8f0d; \>= d463a43d69f4af85887671d76182437775fd1631, \< eb3e1a1cb1634c76d59c5a9cb1a026fc69d40911; \>= d463a43d69f4af85887671d76182437775fd1631, \< 3bf7dba8dba9a05774b846affec61a3624ddba38; \>= d463a43d69f4af85887671d76182437775fd1631, \< 58c2d3e954c13694ef6e820a5e9456461bb9e7df; \>= d463a43d69f4af85887671d76182437775fd1631, \< 332c444f4dc6fa1e8b8637c9e82d29e97f768656; \>= d463a43d69f4af85887671d76182437775fd1631, \< a3eb169ee297aa99670ba927c659990bd1e453f3 (cvelist)
- Linux: 4.7 (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-89650. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89650.md
Affected: Linux >= d463a43d69f4af85887671d76182437775fd1631, < a6eaf7bd229d0940ba8f126c684a663a680abef1; >= d463a43d69f4af85887671d76182437775fd1631, < 0c4bcc3ba7291d383b82ce1c2fe324f69a42da2d; >= d463a43d69f4af85887671d76182437775fd1631, < 55a06b32438c222765138727d0a8164b103e8f0d; >= d463a43d69f4af85887671d…
Fixed in: Linux 0c4bcc3ba7291d383b82ce1c2fe324f69a42da2d, Linux 55a06b32438c222765138727d0a8164b103e8f0d, Linux 3bf7dba8dba9a05774b846affec61a3624ddba38, Linux 58c2d3e954c13694ef6e820a5e9456461bb9e7df, Linux 332c444f4dc6fa1e8b8637c9e82d29e97f768656

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

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

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

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

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

Linux \>= d463a43d69f4af85887671d76182437775fd1631, \< a6eaf7bd229d0940ba8f126c684a663a680abef1; \>= d463a43d69f4af85887671d76182437775fd1631, \< 0c4bcc3ba7291d383b82ce1c2fe324f69a42da2d; \>= d463a43d69f4af85887671d76182437775fd1631, \< 55a06b32438c222765138727d0a8164b103e8f0d; \>= d463a43d69f4af85887671d76182437775fd1631, \< eb3e1a1cb1634c76d59c5a9cb1a026fc69d40911; \>= d463a43d69f4af85887671d76182437775fd1631, \< 3bf7dba8dba9a05774b846affec61a3624ddba38; \>= d463a43d69f4af85887671d76182437775fd1631, \< 58c2d3e954c13694ef6e820a5e9456461bb9e7df; \>= d463a43d69f4af85887671d76182437775fd1631, \< 332c444f4dc6fa1e8b8637c9e82d29e97f768656; \>= d463a43d69f4af85887671d76182437775fd1631, \< a3eb169ee297aa99670ba927c659990bd1e453f3; Linux 4.7.

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

Yes. Fixed in Linux 0c4bcc3ba7291d383b82ce1c2fe324f69a42da2d, Linux 55a06b32438c222765138727d0a8164b103e8f0d, Linux 3bf7dba8dba9a05774b846affec61a3624ddba38, Linux 58c2d3e954c13694ef6e820a5e9456461bb9e7df, Linux 332c444f4dc6fa1e8b8637c9e82d29e97f768656. No fix listed yet: follow the vendor advisory.

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

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/a6eaf7bd229d0940ba8f126c684a663a680abef1>
- other: <https://git.kernel.org/stable/c/0c4bcc3ba7291d383b82ce1c2fe324f69a42da2d>
- other: <https://git.kernel.org/stable/c/55a06b32438c222765138727d0a8164b103e8f0d>
- other: <https://git.kernel.org/stable/c/eb3e1a1cb1634c76d59c5a9cb1a026fc69d40911>
- other: <https://git.kernel.org/stable/c/3bf7dba8dba9a05774b846affec61a3624ddba38>
- other: <https://git.kernel.org/stable/c/58c2d3e954c13694ef6e820a5e9456461bb9e7df>
- other: <https://git.kernel.org/stable/c/332c444f4dc6fa1e8b8637c9e82d29e97f768656>
- other: <https://git.kernel.org/stable/c/a3eb169ee297aa99670ba927c659990bd1e453f3>

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

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