CVE-2026-99895
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.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6nvd
- git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5ddnvd
- git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504nvd
- git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673envd
- git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56nvd
- git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079nvd
- git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750dednvd
- git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fanvd
News mentions
0No linked articles in our index yet.