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

libceph: guard missing CRUSH type name lookup

Localized read selection can walk a parent bucket whose name exists in
the CRUSH map while its type has no matching entry in type_names.
get_immediate_parent() then dereferences a NULL type_cn and passes an
invalid pointer into strcmp(), causing a null-ptr-deref.

Skip such malformed parent buckets unless both the bucket name and type
name metadata are present. This keeps malformed hierarchy data from
crashing locality lookup and safely falls back to "not local".

[ idryomov: add WARN_ON_ONCE ]
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in the libceph component of the Linux kernel, where a missing guard allows a NULL pointer dereference during CRUSH map traversal. When a parent bucket has a name present in the map but lacks a matching type entry, the lookup returns a null type name. The code then dereferences this null pointer and calls strcmp(), causing a kernel crash. This represents a classic denial‑of‑service condition that can be triggered by malformed hierarchy metadata.

Affected Systems

Affected systems are Linux kernels that include the libceph module. The vulnerability does not specify particular releases, so any kernel version prior to the commit that introduced the guard is potentially vulnerable. This includes most distributions using the stock upstream kernel.

Risk and Exploitability

Because the flaw requires the presence of a malformed CRUSH map entry, an attacker would need to influence the Ceph filesystem configuration or otherwise supply malicious metadata. The attack surface is therefore limited to environments where the kernel has access to Ceph metadata that can be manipulated. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, indicating that current exploitation is unlikely. The CVSS score is not provided in the available data. Nonetheless the crash nature warrants concern for affected deployments.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the fix introduced by the commit that added a null‑pointer guard in libceph
  • Restrict who can edit CRUSH maps or Ceph configuration files to trusted administrators to prevent injection of malformed bucket entries
  • If an immediate kernel update is not feasible, apply the WARN_ON_ONCE patch that logs a warning when the bug is triggered, and configure alerting on kernel logs to detect accidental misuse
  • Periodically audit CRUSH map definitions for missing type names and remove or correct any that lack clear type metadata

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-476

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: guard missing CRUSH type name lookup Localized read selection can walk a parent bucket whose name exists in the CRUSH map while its type has no matching entry in type_names. get_immediate_parent() then dereferences a NULL type_cn and passes an invalid pointer into strcmp(), causing a null-ptr-deref. Skip such malformed parent buckets unless both the bucket name and type name metadata are present. This keeps malformed hierarchy data from crashing locality lookup and safely falls back to "not local". [ idryomov: add WARN_ON_ONCE ]
Title libceph: guard missing CRUSH type name lookup
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:23.692Z

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

Link: CVE-2026-68157

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T19:15:17Z

Weaknesses