libceph: fix out-of-bounds reads from repeated CRUSH bucket entries

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: fix out-of-bounds reads from repeated CRUSH bucket entries

decode_choose_arg() assumes that its destination is zero-initialized. Although decode_choose_args() zeroes the argument array, it does not reject a repeated bucket_index and can decode into an already populated entry.

Repeating a bucket with weight_set_size=0 preserves its existing weight_set pointer but clears the count. Placement then reads weight_set[-1].weights and dereferences the resulting pointer.

A malformed monitor OSDMap triggers this during RBD placement:

BUG: KASAN: slab-out-of-bounds in crush_bucket_choose+0xdd1/0xf90 Read of size 8 at addr ffff88800290df70 by task init/75

Reject populated arguments before decoding another entry, so the error path can free their original allocations.

ProductVersions
Linux Linuxc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before b0aaa76def75180f640a734759ea896259750ded Affectedc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before 4fde92e1589dfb637e242f6ad70f905975ce7504 Affectedc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before 5ed5fa697e0e5b4731f5307157ecd0b01de4fd56 Affectedc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before 6e1de78661794fc9f546766696faeee99285a079 Affectedc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before 367803db119e3f1aadb59869c43dbb2002d206c6 Affectedc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before e1cf4b41bfbe86f06f272e4c9e87e383d62014fa Affectedc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before 3ac5e7f512efbadfffd2d13888dc23c43754a5dd Affectedc7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 to before 569a9bb1e5615c2b88b8d76f03a4ab82e65a673e 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.