{"api_version":"1","generated_at":"2026-12-01T06:50:18+00:00","cve":"CVE-2026-99895","urls":{"html":"https://cve.report/CVE-2026-99895","api":"https://cve.report/api/cve/CVE-2026-99895.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99895","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99895"},"summary":{"title":"libceph: fix out-of-bounds reads from repeated CRUSH bucket entries","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: fix out-of-bounds reads from repeated CRUSH bucket entries\n\ndecode_choose_arg() assumes that its destination is zero-initialized.\nAlthough decode_choose_args() zeroes the argument array, it does not reject\na repeated bucket_index and can decode into an already populated entry.\n\nRepeating a bucket with weight_set_size=0 preserves its existing weight_set\npointer but clears the count. Placement then reads weight_set[-1].weights\nand dereferences the resulting pointer.\n\nA malformed monitor OSDMap triggers this during RBD placement:\n\n  BUG: KASAN: slab-out-of-bounds in crush_bucket_choose+0xdd1/0xf90\n  Read of size 8 at addr ffff88800290df70 by task init/75\n\nReject populated arguments before decoding another entry, so the error\npath can free their original allocations.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:24","updated_at":"2026-12-01 06:17:56"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","data":{"baseScore":9.1,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750ded","name":"https://git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750ded","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5dd","name":"https://git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5dd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504","name":"https://git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079","name":"https://git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6","name":"https://git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fa","name":"https://git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56","name":"https://git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673e","name":"https://git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99895","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99895","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 b0aaa76def75180f640a734759ea896259750ded git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 4fde92e1589dfb637e242f6ad70f905975ce7504 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 5ed5fa697e0e5b4731f5307157ecd0b01de4fd56 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 6e1de78661794fc9f546766696faeee99285a079 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 367803db119e3f1aadb59869c43dbb2002d206c6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 e1cf4b41bfbe86f06f272e4c9e87e383d62014fa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 3ac5e7f512efbadfffd2d13888dc23c43754a5dd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5 569a9bb1e5615c2b88b8d76f03a4ab82e65a673e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ceph/osdmap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b0aaa76def75180f640a734759ea896259750ded","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"},{"lessThan":"4fde92e1589dfb637e242f6ad70f905975ce7504","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"},{"lessThan":"5ed5fa697e0e5b4731f5307157ecd0b01de4fd56","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"},{"lessThan":"6e1de78661794fc9f546766696faeee99285a079","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"},{"lessThan":"367803db119e3f1aadb59869c43dbb2002d206c6","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"},{"lessThan":"e1cf4b41bfbe86f06f272e4c9e87e383d62014fa","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"},{"lessThan":"3ac5e7f512efbadfffd2d13888dc23c43754a5dd","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"},{"lessThan":"569a9bb1e5615c2b88b8d76f03a4ab82e65a673e","status":"affected","version":"c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ceph/osdmap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.13"},{"lessThan":"4.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: fix out-of-bounds reads from repeated CRUSH bucket entries\n\ndecode_choose_arg() assumes that its destination is zero-initialized.\nAlthough decode_choose_args() zeroes the argument array, it does not reject\na repeated bucket_index and can decode into an already populated entry.\n\nRepeating a bucket with weight_set_size=0 preserves its existing weight_set\npointer but clears the count. Placement then reads weight_set[-1].weights\nand dereferences the resulting pointer.\n\nA malformed monitor OSDMap triggers this during RBD placement:\n\n  BUG: KASAN: slab-out-of-bounds in crush_bucket_choose+0xdd1/0xf90\n  Read of size 8 at addr ffff88800290df70 by task init/75\n\nReject populated arguments before decoding another entry, so the error\npath can free their original allocations."}],"metrics":[{"cvssV3_1":{"baseScore":9.1,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:N - The repeated bucket_index with weight_set_size=0 is carried inside the CRUSH map of a CEPH_MSG_OSD_MAP message, sent over the client's TCP messenger connection by a monitor or OSD. The path is mon_dispatch()/osd_dispatch() -> ceph_osdc_handle_map() -> handle_one_map() -> crush_decode() -> decode_choose_args() -> decode_choose_arg().\nAC:L - The sender writes the whole map: a straw2 bucket on the rule path and a choose_args entry at index -1, which do_crush() uses for every pool. The entry lists the bucket twice, the second time with weight_set_size=0. get_choose_arg_weights() then clamps position to -1 on every calc_target(). Grooming the neighbouring slab object with its own u32 arrays is the attacker's own work, and no race is involved.\nPR:N - ceph_osdc_handle_map() checks only ceph_check_fsid(), which adopts the message's fsid if the client has none yet. mon dispatch passes CEPH_MSG_OSD_MAP on without checking authentication state. A malicious or compromised monitor or OSD therefore needs no account or privilege on the client host.\nUI:N - The map can be pushed without a request. handle_one_map() -> scan_requests() -> recalc_linger_target() -> calc_target() -> do_crush() runs for the linger request behind the always-registered RBD header watch. The read therefore fires on map receipt, with no victim I/O or other action.\nS:U - The out-of-bounds read and the wild-pointer dereference happen in the client kernel's own CRUSH mapper, bucket_straw2_choose(). They stay inside the kernel's security authority and cross no VM, IOMMU or sandbox boundary.\nC:H - bucket_straw2_choose() reads the 8-byte weight_set[-1].weights pointer from the adjacent slab object, then reads h.size u32 values through it. If the neighbour is groomed, that pointer is attacker-chosen. Because the values drive the straw2 argmax, the OSD the client contacts acts as a repeatable oracle on memory at an arbitrary address: more than a few bytes.\nI:N - Nothing is written. A repeated entry only overwrites arg->ids or arg->weight_set and leaks the old allocations. free_choose_arg_map() loops over weight_set_size=0, so there is no double free. The mapper returns an in-bounds bucket->h.items[high] from the attacker's own map.\nA:H - The leftover weight_set[-1].weights value is garbage, such as a SLUB free pointer or attacker u32 data. Dereferencing it faults in crush_bucket_choose() inside calc_target() while osdc->lock is held for write. That oopses the client, stalls all Ceph I/O and panics with panic_on_oops, and the sender can resend the map on every reconnect."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:44:08.869Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b0aaa76def75180f640a734759ea896259750ded"},{"url":"https://git.kernel.org/stable/c/4fde92e1589dfb637e242f6ad70f905975ce7504"},{"url":"https://git.kernel.org/stable/c/5ed5fa697e0e5b4731f5307157ecd0b01de4fd56"},{"url":"https://git.kernel.org/stable/c/6e1de78661794fc9f546766696faeee99285a079"},{"url":"https://git.kernel.org/stable/c/367803db119e3f1aadb59869c43dbb2002d206c6"},{"url":"https://git.kernel.org/stable/c/e1cf4b41bfbe86f06f272e4c9e87e383d62014fa"},{"url":"https://git.kernel.org/stable/c/3ac5e7f512efbadfffd2d13888dc23c43754a5dd"},{"url":"https://git.kernel.org/stable/c/569a9bb1e5615c2b88b8d76f03a4ab82e65a673e"}],"title":"libceph: fix out-of-bounds reads from repeated CRUSH bucket entries","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99895","datePublished":"2026-11-30T13:18:03.568Z","dateReserved":"2026-09-25T10:25:14.443Z","dateUpdated":"2026-12-01T05:44:08.869Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:24","lastModifiedDate":"2026-12-01 06:17:56","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99895","Ordinal":"1","Title":"libceph: fix out-of-bounds reads from repeated CRUSH bucket entr","CVE":"CVE-2026-99895","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99895","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: fix out-of-bounds reads from repeated CRUSH bucket entries\n\ndecode_choose_arg() assumes that its destination is zero-initialized.\nAlthough decode_choose_args() zeroes the argument array, it does not reject\na repeated bucket_index and can decode into an already populated entry.\n\nRepeating a bucket with weight_set_size=0 preserves its existing weight_set\npointer but clears the count. Placement then reads weight_set[-1].weights\nand dereferences the resulting pointer.\n\nA malformed monitor OSDMap triggers this during RBD placement:\n\n  BUG: KASAN: slab-out-of-bounds in crush_bucket_choose+0xdd1/0xf90\n  Read of size 8 at addr ffff88800290df70 by task init/75\n\nReject populated arguments before decoding another entry, so the error\npath can free their original allocations.","Type":"Description","Title":"libceph: fix out-of-bounds reads from repeated CRUSH bucket entr"}]}}}