libceph: fix out-of-bounds reads from repeated CRUSH bucket entries
Summary
| CVE | CVE-2026-99895 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:24 UTC |
| Updated | 2026-12-01 06:17:56 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | CNA | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 b0aaa76def75180f640a734759ea896259750ded git | Not specified |
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 4fde92e1589dfb637e242f6ad70f905975ce7504 git | Not specified |
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 5ed5fa697e0e5b4731f5307157ecd0b01de4fd56 git | Not specified |
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 6e1de78661794fc9f546766696faeee99285a079 git | Not specified |
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 367803db119e3f1aadb59869c43dbb2002d206c6 git | Not specified |
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 e1cf4b41bfbe86f06f272e4c9e87e383d62014fa git | Not specified |
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 3ac5e7f512efbadfffd2d13888dc23c43754a5dd git | Not specified |
| CNA | Linux | Linux | affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 569a9bb1e5615c2b88b8d76f03a4ab82e65a673e git | Not specified |
| CNA | Linux | Linux | affected 4.13 | Not specified |
| CNA | Linux | Linux | unaffected 4.13 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.275 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.226 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.193 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.117 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.63 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.4 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750ded | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5dd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fa | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.