{"id":"CVE-2026-99895","aliases":["CVE-2026-99895"],"related":[],"kind":"vulnerability","state":"published","title":"libceph: fix out-of-bounds reads from repeated CRUSH bucket entries","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:18:03.568Z","modified":"2026-12-01T06:17:56.320Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"b0aaa76def75180f640a734759ea896259750ded","status":"affected"},{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"4fde92e1589dfb637e242f6ad70f905975ce7504","status":"affected"},{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"5ed5fa697e0e5b4731f5307157ecd0b01de4fd56","status":"affected"},{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"6e1de78661794fc9f546766696faeee99285a079","status":"affected"},{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"367803db119e3f1aadb59869c43dbb2002d206c6","status":"affected"},{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"e1cf4b41bfbe86f06f272e4c9e87e383d62014fa","status":"affected"},{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"3ac5e7f512efbadfffd2d13888dc23c43754a5dd","status":"affected"},{"type":"git","introduced":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","fixed":"569a9bb1e5615c2b88b8d76f03a4ab82e65a673e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.13","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750ded","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5dd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99895","url":"https://www.cve.org/CVERecord?id=CVE-2026-99895","licence":"CVE Terms of Use","modified":"2026-12-01T05:44:08.869Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99895","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99895","licence":"Public domain","modified":"2026-12-01T06:17:56.320Z"}],"updatedAt":"2026-12-01T06:32:27.503Z","epss":{"score":0.01384,"percentile":0.72981,"date":"2026-12-01T12:00:22.000Z"}}