libceph: reject mismatched CRUSH weight-set sizes

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

libceph: reject mismatched CRUSH weight-set sizes

A CEPH_MSG_OSD_MAP message can contain CRUSH choose args with replacement weight vectors for straw2 buckets. decode_choose_args() validates the optional IDs vector against the referenced bucket, but does not validate the size of any replacement-weight vector.

The CRUSH mapper assumes that each replacement vector has exactly as many entries as the bucket. A zero-length vector for a nonempty bucket makes bucket_straw2_choose() dereference NULL, while a shorter nonzero vector causes an out-of-bounds read. An authenticated monitor or OSD can deliver such a map and crash a kernel client when it performs placement for an ordinary request.

Reject a nonempty collection of weight sets for an absent bucket and require every replacement-weight vector to match its bucket size.

ProductVersions
Linux Linux5cf9c4a9959b6273675310d14a834ef14fbca37c to before 0245389e84fba8153b0e72a0614b68c4947cfa76 Affected5cf9c4a9959b6273675310d14a834ef14fbca37c to before b171d39221e8bd34dc5cd2ff75ed4e7a5048eb28 Affected5cf9c4a9959b6273675310d14a834ef14fbca37c to before a905ddc897be89d8d77831123e8f47a9b1b13a0c Affected5cf9c4a9959b6273675310d14a834ef14fbca37c to before 88ceddba900a928193fccfc86e9fda48d24161ec Affected5cf9c4a9959b6273675310d14a834ef14fbca37c to before d14b7eb4a3b07289ca614050921c5c27521cb5cd Affected5cf9c4a9959b6273675310d14a834ef14fbca37c to before 23e0bbd385b17c30ad5aa03f6b7663c6341f019d Affected5cf9c4a9959b6273675310d14a834ef14fbca37c to before cab954c676687e2913b7042bc0cf294ce2e81336 Affected5cf9c4a9959b6273675310d14a834ef14fbca37c to before d8fc89b5bfe4cb3aebe4c8a818247d11291b841c Affected
Linux Linux4.13 Affectedbefore 4.13 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.