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

libceph: reject zero bucket types in crush_decode

CRUSH bucket type 0 is reserved for devices. The mapper relies on
that invariant and uses type 0 to identify leaf devices.

If crush_decode() accepts a bucket with type 0, a malformed CRUSH map
can make the mapper treat a negative bucket ID as a device and pass it
to is_out(), which then indexes the OSD weight array with a negative
value.

Reject zero bucket types while decoding the CRUSH map so the invalid
state never reaches the mapper.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in libceph’s crush_decode function. CRUSH bucket type 0 is reserved for device nodes, but the function currently accepts bucket entries with type 0. A crafted CRUSH map can pass a negative bucket ID to the mapper, which then calls is_out() and indexes the OSD weight array with a negative value. This out‑of‑bounds access can corrupt kernel memory, potentially allowing an attacker to execute arbitrary code or gain kernel privileges. The weakness is an array index out‑of‑bounds error, classified as CWE‑129.

Affected Systems

All Linux kernel releases that include the libceph module before the patched commit are potentially affected. No specific kernel version ranges are listed, so any distribution kernel containing libceph code that has not incorporated the fix remains vulnerable.

Risk and Exploitability

The CVSS score and EPSS probability are not published, and the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, the flaw permits kernel memory corruption, a high‑impact security issue. An attacker must be able to supply a malformed CRUSH map – typically through a Ceph administrator interface or by compromising a Ceph client – implying a local or privileged attacker can exploit the issue. The lack of public exploit metrics does not diminish the inherent risk of the vulnerability.

Generated by OpenCVE AI on August 10, 2026 at 14:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the libceph crush_decode patch.
  • If an upgrade cannot be applied immediately, disable the Ceph client or the libceph kernel module until the fix is available.
  • Restrict creation and modification of CRUSH maps to trusted administrators and enforce validation to reject bucket type 0.
  • Monitor system logs for unusual Ceph map activity and apply the patch as soon as possible.

Generated by OpenCVE AI on August 10, 2026 at 14:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-129

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 zero bucket types in crush_decode CRUSH bucket type 0 is reserved for devices. The mapper relies on that invariant and uses type 0 to identify leaf devices. If crush_decode() accepts a bucket with type 0, a malformed CRUSH map can make the mapper treat a negative bucket ID as a device and pass it to is_out(), which then indexes the OSD weight array with a negative value. Reject zero bucket types while decoding the CRUSH map so the invalid state never reaches the mapper.
Title libceph: reject zero bucket types in crush_decode
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:20.250Z

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

Link: CVE-2026-68154

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T14:15:03Z

Weaknesses
  • CWE-129

    Improper Validation of Array Index