{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99900","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.443Z","datePublished":"2026-11-30T13:18:06.348Z","dateUpdated":"2026-12-01T05:44:11.951Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:11.951Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: reject mismatched CRUSH weight-set sizes\n\nA CEPH_MSG_OSD_MAP message can contain CRUSH choose args with replacement\nweight vectors for straw2 buckets.  decode_choose_args() validates the\noptional IDs vector against the referenced bucket, but does not validate\nthe size of any replacement-weight vector.\n\nThe CRUSH mapper assumes that each replacement vector has exactly as many\nentries as the bucket.  A zero-length vector for a nonempty bucket makes\nbucket_straw2_choose() dereference NULL, while a shorter nonzero vector\ncauses an out-of-bounds read.  An authenticated monitor or OSD can deliver\nsuch a map and crash a kernel client when it performs placement for an\nordinary request.\n\nReject a nonempty collection of weight sets for an absent bucket and\nrequire every replacement-weight vector to match its bucket size."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","baseScore":8.2,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"],"versions":[{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"0245389e84fba8153b0e72a0614b68c4947cfa76","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"b171d39221e8bd34dc5cd2ff75ed4e7a5048eb28","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"a905ddc897be89d8d77831123e8f47a9b1b13a0c","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"88ceddba900a928193fccfc86e9fda48d24161ec","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"d14b7eb4a3b07289ca614050921c5c27521cb5cd","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"23e0bbd385b17c30ad5aa03f6b7663c6341f019d","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"cab954c676687e2913b7042bc0cf294ce2e81336","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"d8fc89b5bfe4cb3aebe4c8a818247d11291b841c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"],"versions":[{"version":"4.13","status":"affected"},{"version":"0","lessThan":"4.13","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0245389e84fba8153b0e72a0614b68c4947cfa76"},{"url":"https://git.kernel.org/stable/c/b171d39221e8bd34dc5cd2ff75ed4e7a5048eb28"},{"url":"https://git.kernel.org/stable/c/a905ddc897be89d8d77831123e8f47a9b1b13a0c"},{"url":"https://git.kernel.org/stable/c/88ceddba900a928193fccfc86e9fda48d24161ec"},{"url":"https://git.kernel.org/stable/c/d14b7eb4a3b07289ca614050921c5c27521cb5cd"},{"url":"https://git.kernel.org/stable/c/23e0bbd385b17c30ad5aa03f6b7663c6341f019d"},{"url":"https://git.kernel.org/stable/c/cab954c676687e2913b7042bc0cf294ce2e81336"},{"url":"https://git.kernel.org/stable/c/d8fc89b5bfe4cb3aebe4c8a818247d11291b841c"}],"title":"libceph: reject mismatched CRUSH weight-set sizes","x_generator":{"engine":"bippy-1.2.0"}}}}