Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99900

published high CVSS 3.1 · 8.2

libceph: reject mismatched CRUSH weight-set sizes

Published
30 Nov 2026, 13:18:06 UTC
Updated
01 Dec 2026, 05:44:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux5cf9c4a9959b6273675310d14a834ef14fbca37c to < 0245389e84fba8153b0e72a0614b68c4947cfa76 · 5cf9c4a9959b6273675310d14a834ef14fbca37c to < b171d39221e8bd34dc5cd2ff75ed4e7a5048eb28 · 5cf9c4a9959b6273675310d14a834ef14fbca37c to < a905ddc897be89d8d77831123e8f47a9b1b13a0c · 5cf9c4a9959b6273675310d14a834ef14fbca37c to < 88ceddba900a928193fccfc86e9fda48d24161ec · 5cf9c4a9959b6273675310d14a834ef14fbca37c to < d14b7eb4a3b07289ca614050921c5c27521cb5cd · 5cf9c4a9959b6273675310d14a834ef14fbca37c to < 23e0bbd385b17c30ad5aa03f6b7663c6341f019d · 5cf9c4a9959b6273675310d14a834ef14fbca37c to < cab954c676687e2913b7042bc0cf294ce2e81336 · 5cf9c4a9959b6273675310d14a834ef14fbca37c to < d8fc89b5bfe4cb3aebe4c8a818247d11291b841c · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: libceph: reject mismatched CRUSH weight-set sizes A CEPH_MSG_OSD_MAP message can contain CRUSH choose args with replacement weight vectors for straw2 buckets. decode_choose_args() validates the optional IDs vector against the referenced bucket, but does not validate the size of any replacement-weight vector. The CRUSH mapper assumes that each replacement vector has exactly as many entries as the bucket. A zero-length vector for a nonempty bucket makes bucket_straw2_choose() dereference NULL, while a shorter nonzero vector causes an out-of-bounds read. An authenticated monitor or OSD can deliver such a map and crash a kernel client when it performs placement for an ordinary request. Reject a nonempty collection of weight sets for an absent bucket and require every replacement-weight vector to match its bucket size.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Scenarios
en: AV:N - The malformed weight-set vectors arrive inside the CRUSH map of a CEPH_MSG_OSD_MAP message from the monitor or an OSD. The path is mon dispatch() -> ceph_osdc_handle_map() -> crush_decode() -> decode_choose_args(), and the client receives the message over its TCP messenger connection. AC:L - The sender writes the whole CRUSH map: a straw2 bucket on the rule path and a choose_args entry at index -1, which do_crush() falls back to for every pool. Any request then runs calc_target() -> pg_to_raw_osds() -> bucket_straw2_choose() and reads the bad vector every time. No race and no outside state is needed. PR:N - mon dispatch() passes CEPH_MSG_OSD_MAP to ceph_osdc_handle_map() without checking whether authentication has finished. If the client has no fsid yet, ceph_check_fsid() adopts the one in the message. A malicious or compromised monitor or OSD needs no account on the client host. UI:N - The bug fires on map receipt plus the next placement calculation. Ordinary I/O by the already-mounted CephFS or mapped RBD client triggers it, and scan_requests() recalculates targets for in-flight requests when the new map arrives. No victim action beyond the existing client session is needed. S:U - The fault is a NULL dereference or out-of-bounds read inside the kernel's own CRUSH mapper, and it stays within the kernel's security authority. No VM, IOMMU or sandbox boundary is crossed. C:L - A short weight vector makes bucket_straw2_choose() read kmalloc memory past the end of weight_set[pos].weights. Those words only act as divisors in an argmax, and the function returns the in-bounds bucket->h.items[high]. The attacker sets the osd_addr entries in the same map, so they can see which OSD the client contacts. That is a limited, indirect leak. I:N - Nothing is written: the fix only adds size checks for weight_set[i].size against bucket->size. The mapper only reads the bad vector. Its result is an in-bounds item from the attacker's own map, so it gives no control the malicious cluster didn't already have. A:H - A zero-length vector leaves weights NULL, because decode_array_32_alloc() returns NULL for a length of 0. bucket_straw2_choose() then oopses on weights[0] inside calc_target() while osdc->lock is held, which hangs all Ceph I/O on the client or panics the host if panic_on_oops is set. The sender can resend the map on every reconnect.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 5cf9c4a9959b6273675310d14a834ef14fbca37c to < 0245389e84fba8153b0e72a0614b68c4947cfa76 (affected · git)5cf9c4a9959b6273675310d14a834ef14fbca37c to < b171d39221e8bd34dc5cd2ff75ed4e7a5048eb28 (affected · git)5cf9c4a9959b6273675310d14a834ef14fbca37c to < a905ddc897be89d8d77831123e8f47a9b1b13a0c (affected · git)5cf9c4a9959b6273675310d14a834ef14fbca37c to < 88ceddba900a928193fccfc86e9fda48d24161ec (affected · git)5cf9c4a9959b6273675310d14a834ef14fbca37c to < d14b7eb4a3b07289ca614050921c5c27521cb5cd (affected · git)5cf9c4a9959b6273675310d14a834ef14fbca37c to < 23e0bbd385b17c30ad5aa03f6b7663c6341f019d (affected · git)5cf9c4a9959b6273675310d14a834ef14fbca37c to < cab954c676687e2913b7042bc0cf294ce2e81336 (affected · git)5cf9c4a9959b6273675310d14a834ef14fbca37c to < d8fc89b5bfe4cb3aebe4c8a818247d11291b841c (affected · git)Default: unaffected Linux · cna
Linux Linux 4.13 (affected)0 to < 4.13 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

libceph: reject mismatched CRUSH weight-set sizes

Provenance

Schema
5.2
Searchable
yes
Content hash
6252eb3c94f0b3f5696ab94189537b0df4838300c37083526c9360952985e119
Ingested
01 Dec 2026, 05:47:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected