{"id":"CVE-2026-99895","summary":"libceph: fix out-of-bounds reads from repeated CRUSH bucket entries","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: fix out-of-bounds reads from repeated CRUSH bucket entries\n\ndecode_choose_arg() assumes that its destination is zero-initialized.\nAlthough decode_choose_args() zeroes the argument array, it does not reject\na repeated bucket_index and can decode into an already populated entry.\n\nRepeating a bucket with weight_set_size=0 preserves its existing weight_set\npointer but clears the count. Placement then reads weight_set[-1].weights\nand dereferences the resulting pointer.\n\nA malformed monitor OSDMap triggers this during RBD placement:\n\n  BUG: KASAN: slab-out-of-bounds in crush_bucket_choose+0xdd1/0xf90\n  Read of size 8 at addr ffff88800290df70 by task init/75\n\nReject populated arguments before decoding another entry, so the error\npath can free their original allocations.","modified":"2026-11-30T15:02:32.723552199Z","published":"2026-11-30T13:18:03.568Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99895.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504"},{"type":"WEB","url":"https://git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750ded"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99895.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99895"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5"},{"fixed":"b0aaa76def75180f640a734759ea896259750ded"},{"fixed":"4fde92e1589dfb637e242f6ad70f905975ce7504"},{"fixed":"5ed5fa697e0e5b4731f5307157ecd0b01de4fd56"},{"fixed":"6e1de78661794fc9f546766696faeee99285a079"},{"fixed":"367803db119e3f1aadb59869c43dbb2002d206c6"},{"fixed":"e1cf4b41bfbe86f06f272e4c9e87e383d62014fa"},{"fixed":"3ac5e7f512efbadfffd2d13888dc23c43754a5dd"},{"fixed":"569a9bb1e5615c2b88b8d76f03a4ab82e65a673e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99895.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99895.json"}}],"schema_version":"1.9.2"}