# CVE-2026-99895: libceph: fix out-of-bounds reads from repeated CRUSH bucket entries

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.38%, higher than 72% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:03.568Z
- Modified: 2026-12-01T06:17:56.320Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before b0aaa76def75180f640a734759ea896259750ded; from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before 4fde92e1589dfb637e242f6ad70f905975ce7504; from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before 5ed5fa697e0e5b4731f5307157ecd0b01de4fd56; from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before 6e1de78661794fc9f546766696faeee99285a079; from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before 367803db119e3f1aadb59869c43dbb2002d206c6; from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before e1cf4b41bfbe86f06f272e4c9e87e383d62014fa; from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before 3ac5e7f512efbadfffd2d13888dc23c43754a5dd; from c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 before 569a9bb1e5615c2b88b8d76f03a4ab82e65a673e; 4.13 (not affected: before 4.13; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750ded>
- <https://git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504>
- <https://git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56>
- <https://git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079>
- <https://git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6>
- <https://git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fa>
- <https://git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5dd>
- <https://git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673e>

## Sources

- CVE List: [CVE-2026-99895](https://www.cve.org/CVERecord?id=CVE-2026-99895), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-99895](https://nvd.nist.gov/vuln/detail/CVE-2026-99895), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-99895 · Whole record: https://cve.day/CVE-2026-99895.json · Rebuilt by cve.day 2026-12-01T06:32:27.503Z
