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

libceph: Fix multiplication overflow in decode_new_up_state_weight()

If a message of type CEPH_MSG_OSD_MAP contains a (maliciously) corrupted
osdmap, out-of-bounds memory accesses may occur in
decode_new_up_state_weight(). This happens because the bounds check for
the new_state part is based on calculating its length depending on a len
value read from the incoming message. This calculation may overflow
leading to an incorrect bounds check. Subsequently, out-of-bounds reads
may occur when decoding this part.

This patch switches the multiplication to use check_mul_overflow() to
abort processing the osdmap if an overflow occurred. Therefore,
osdmaps/messages containing large values for len that result in a
multiplication overflow are treated as invalid.

[ idryomov: rename new_state_len -> new_state_item_size, formatting ]
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability is an integer multiplication overflow in the Linux kernel’s libceph module when decoding CEPH_MSG_OSD_MAP messages; a maliciously crafted message can cause the length calculation for the new_state part to wrap, leading to an incorrect bounds check and subsequent out‑of‑bounds reads that could disclose kernel memory contents or cause a crash, resulting in potential information disclosure or denial of service.

Affected Systems

The flaw resides in the libceph component of the Linux kernel; any kernel build that includes libceph and processes CEPH_MSG_OSD_MAP messages may be affected, and no specific version is listed, so all kernels shipping libceph before the patch that switches to check_mul_overflow() are potentially vulnerable.

Risk and Exploitability

An attacker with network access to a Ceph cluster that a vulnerable kernel participates in can craft a CEPH_MSG_OSD_MAP message to trigger the overflow; while the kernel aborts processing upon detection, the vulnerability still permits information disclosure or denial of service, and the lack of an EPSS score and absence from the CISA KEV catalog suggest that widespread exploitation has not been reported.

Generated by OpenCVE AI on August 10, 2026 at 18:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the libceph patch using check_mul_overflow.
  • Reboot the system to use the updated kernel.
  • Until the update is available, block or restrict CEPH_MSG_OSD_MAP traffic from untrusted sources with a firewall or network segmentation.

Generated by OpenCVE AI on August 10, 2026 at 18:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-680

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: Fix multiplication overflow in decode_new_up_state_weight() If a message of type CEPH_MSG_OSD_MAP contains a (maliciously) corrupted osdmap, out-of-bounds memory accesses may occur in decode_new_up_state_weight(). This happens because the bounds check for the new_state part is based on calculating its length depending on a len value read from the incoming message. This calculation may overflow leading to an incorrect bounds check. Subsequently, out-of-bounds reads may occur when decoding this part. This patch switches the multiplication to use check_mul_overflow() to abort processing the osdmap if an overflow occurred. Therefore, osdmaps/messages containing large values for len that result in a multiplication overflow are treated as invalid. [ idryomov: rename new_state_len -> new_state_item_size, formatting ]
Title libceph: Fix multiplication overflow in decode_new_up_state_weight()
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:24.675Z

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

Link: CVE-2026-68158

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-680

    Integer Overflow to Buffer Overflow