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

libceph: Reject monmaps advertising zero monitors

A message of type CEPH_MSG_MON_MAP contains a monmap that is sent from a
monitor to the client. This monmap contains information about the
existing monitors in the cluster. Currently, a monmap indicating that
there are zero monitors in the cluster is treated as valid. However, it
is impossible to have zero monitors in the cluster and still receive a
valid monmap from a monitor. Therefore, such a monmap must be corrupted
and should be treated as invalid. Furthermore, a monmap with a monitor
count of zero can subsequently crash the client when attempting to open
a session with a monitor in __open_session(). This happens because the
"BUG_ON(monc->monmap->num_mon < 1)" assertion in pick_new_mon() is
triggered.

This patch extends a check in ceph_monmap_decode() to also reject
arriving mon_maps with num_mon == 0 rather than only with
num_mon > CEPH_MAX_MON.

[ idryomov: drop "log output for unusual values of num_mon" part ]
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A Ceph monmap that advertises zero monitors is incorrectly treated as valid by the Linux kernel’s libceph. When the client receives such a map it triggers a BUG_ON in the session‑opening path, causing the Ceph client to crash. The result is an immediate denial of service for any Ceph client that relies on the kernel’s Ceph stack.

Affected Systems

All Linux kernel distributions that include the Ceph client library are potentially affected. The flaw resides in libceph’s CEPH_MSG_MON_MAP processing, so any kernel compiled with Ceph support and not yet upgraded contains the issue. Version numbers are not specified, meaning all current releases lacking the patch are at risk.

Risk and Exploitability

The EPSS score is not available, suggesting a low probability of public exploitation. The vulnerability requires an attacker to control or compromise a Ceph monitor that sends a malformed monmap with a monitor count of zero. Since the failure occurs after establishing a connection to the monitor, the attack surface is limited to trusted monitors or local‑network exposed monitors. The CVE is not listed in CISA’s KEV catalog, but an unpatched client could crash when it receives the invalid monmap.

Generated by OpenCVE AI on August 10, 2026 at 19:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix for rejecting zero‑monitor monmaps in libceph
  • If a kernel upgrade cannot be performed immediately, disable Ceph client usage on the affected host or unmount any Ceph filesystems to avoid the crash
  • Monitor Ceph monitor logs for unexpected MON_MAP messages with a monitor count of zero and alert administrators

Generated by OpenCVE AI on August 10, 2026 at 19:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: libceph: Reject monmaps advertising zero monitors A message of type CEPH_MSG_MON_MAP contains a monmap that is sent from a monitor to the client. This monmap contains information about the existing monitors in the cluster. Currently, a monmap indicating that there are zero monitors in the cluster is treated as valid. However, it is impossible to have zero monitors in the cluster and still receive a valid monmap from a monitor. Therefore, such a monmap must be corrupted and should be treated as invalid. Furthermore, a monmap with a monitor count of zero can subsequently crash the client when attempting to open a session with a monitor in __open_session(). This happens because the "BUG_ON(monc->monmap->num_mon < 1)" assertion in pick_new_mon() is triggered. This patch extends a check in ceph_monmap_decode() to also reject arriving mon_maps with num_mon == 0 rather than only with num_mon > CEPH_MAX_MON. [ idryomov: drop "log output for unusual values of num_mon" part ]
Title libceph: Reject monmaps advertising zero monitors
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T11:59:21.200Z

Reserved: 2026-07-30T09:28:09.371Z

Link: CVE-2026-68155

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T19:45:04Z

Weaknesses
  • CWE-20

    Improper Input Validation