{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99894","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.442Z","datePublished":"2026-11-30T13:18:03.009Z","dateUpdated":"2026-12-01T05:44:07.345Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:07.345Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: initialize CRUSH choose argument weights\n\nInitialize the CRUSH choose argument weight-set array before decoding so\nentries start in a defined state while the decoder fills them."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - The malformed choose_args data (weight_set_size and a truncated weights array) arrives in a CEPH_MSG_OSD_MAP message over TCP from a Ceph monitor or OSD. mon_dispatch()/osd_dispatch() -> ceph_osdc_handle_map() -> ceph_osdmap_decode()/osdmap_apply_incremental() -> crush_decode() -> decode_choose_args() -> decode_choose_arg().\nAC:L - The peer sets weight_set_size to N and malforms weight array k < N-1, so decode_array_32_alloc() returns -EINVAL every time. free_choose_arg_map() then kfree()s the uninitialised weight_set[k+1..N-1].weights. N picks the slab size class, and pre-filling that slot with the peer's own u32 weights arrays is the attacker's own grooming. No race.\nPR:N - The attacker needs no account or privilege on the client host. It only has to be, or have compromised, a mon or OSD the client talks to. ceph_check_fsid() is the only check before decoding, and a cluster peer knows the fsid.\nUI:N - mon_dispatch() and osd_dispatch() process an unsolicited CEPH_MSG_OSD_MAP with no subscription or client-request check. A compromised mon or OSD can push the map to already-connected CephFS/RBD clients at will, and no victim read, write or lookup is needed to trigger it.\nS:U - The invalid kfree() happens in the client host's own kernel slab allocator. No hypervisor, VM or IOMMU boundary is crossed.\nC:H - kfree() on a stale weight_set[j].weights pointer frees whatever object the leftover or attacker-sprayed value points to while it is still live. The resulting use-after-free gives read primitives into reallocated kernel heap objects.\nI:H - The decode error path in free_choose_arg_map() becomes an arbitrary or double free whose target can be chosen by spraying the slot with weights arrays. That allows overlapping live kernel objects and corrupting heap memory, a known route to code execution.\nA:H - Freeing a garbage or still-live pointer in slab_free/virt_to_folio oopses or corrupts the heap and crashes the client kernel. The peer can resend the malformed OSD 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":"a1af8ec987813d5157c100460528a4c4a30dc6ff","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"66cdf9dd254bc1b8be9a78fccabe578927cc512c","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"b911040ef2f3e2cba55514c7cc228b24e58d2dbd","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"3de15855d5d86e42ebfb2fb5756253d4d83a9b61","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"26205ea74ec133b4f3669823f921e54330309e55","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"0f7e90374f3649b31efb1847736fb25ca6faa5ff","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"458e9e2930168757bb387b68cc44206b72bddbf3","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"c3a995ff0782587789333c621e1f6bd5e574371e","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.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","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.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.65"},{"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/a1af8ec987813d5157c100460528a4c4a30dc6ff"},{"url":"https://git.kernel.org/stable/c/66cdf9dd254bc1b8be9a78fccabe578927cc512c"},{"url":"https://git.kernel.org/stable/c/b911040ef2f3e2cba55514c7cc228b24e58d2dbd"},{"url":"https://git.kernel.org/stable/c/3de15855d5d86e42ebfb2fb5756253d4d83a9b61"},{"url":"https://git.kernel.org/stable/c/26205ea74ec133b4f3669823f921e54330309e55"},{"url":"https://git.kernel.org/stable/c/0f7e90374f3649b31efb1847736fb25ca6faa5ff"},{"url":"https://git.kernel.org/stable/c/458e9e2930168757bb387b68cc44206b72bddbf3"},{"url":"https://git.kernel.org/stable/c/c3a995ff0782587789333c621e1f6bd5e574371e"}],"title":"libceph: initialize CRUSH choose argument weights","x_generator":{"engine":"bippy-1.2.0"}}}}