{"id":"CVE-2026-68154","state":"PUBLISHED","title":"libceph: reject zero bucket types in crush_decode","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: reject zero bucket types in crush_decode\n\nCRUSH bucket type 0 is reserved for devices.  The mapper relies on\nthat invariant and uses type 0 to identify leaf devices.\n\nIf crush_decode() accepts a bucket with type 0, a malformed CRUSH map\ncan make the mapper treat a negative bucket ID as a device and pass it\nto is_out(), which then indexes the OSD weight array with a negative\nvalue.\n\nReject zero bucket types while decoding the CRUSH map so the invalid\nstate never reaches the mapper.","publishedAt":"2026-08-10T11:59:20.250Z","updatedAt":"2026-10-19T20:58:54.485Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"952ca5dc99913d169263f59fd689f586729a13c1","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"146461f09565afe3665e65b0423d3d6b0fe806c5","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"80fc40e11cda1b5d990a3f69c6efa344fb5cd987","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"b8a9fb6bf806f9c4891e71ae1beab0c07c23a877","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"826cd1de5802fd392922785f9b64d76e65d2a100","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"70998f91030ee083ecb336a1dff0701c20a38081","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"05f90284223381005d6bcddab3fda4a97f9c3401","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.34","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]}],"references":["https://git.kernel.org/stable/c/952ca5dc99913d169263f59fd689f586729a13c1","https://git.kernel.org/stable/c/146461f09565afe3665e65b0423d3d6b0fe806c5","https://git.kernel.org/stable/c/80fc40e11cda1b5d990a3f69c6efa344fb5cd987","https://git.kernel.org/stable/c/b8a9fb6bf806f9c4891e71ae1beab0c07c23a877","https://git.kernel.org/stable/c/826cd1de5802fd392922785f9b64d76e65d2a100","https://git.kernel.org/stable/c/3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56","https://git.kernel.org/stable/c/70998f91030ee083ecb336a1dff0701c20a38081","https://git.kernel.org/stable/c/05f90284223381005d6bcddab3fda4a97f9c3401"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68154.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68154","state":"PUBLISHED","datePublished":"2026-08-10T11:59:20.250Z","dateUpdated":"2026-10-19T20:58:54.485Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.371Z"},"containers":{"cna":{"title":"libceph: reject zero bucket types in crush_decode","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: reject zero bucket types in crush_decode\n\nCRUSH bucket type 0 is reserved for devices.  The mapper relies on\nthat invariant and uses type 0 to identify leaf devices.\n\nIf crush_decode() accepts a bucket with type 0, a malformed CRUSH map\ncan make the mapper treat a negative bucket ID as a device and pass it\nto is_out(), which then indexes the OSD weight array with a negative\nvalue.\n\nReject zero bucket types while decoding the CRUSH map so the invalid\nstate never reaches the mapper."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"952ca5dc99913d169263f59fd689f586729a13c1","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"146461f09565afe3665e65b0423d3d6b0fe806c5","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"80fc40e11cda1b5d990a3f69c6efa344fb5cd987","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"b8a9fb6bf806f9c4891e71ae1beab0c07c23a877","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"826cd1de5802fd392922785f9b64d76e65d2a100","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"70998f91030ee083ecb336a1dff0701c20a38081","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"05f90284223381005d6bcddab3fda4a97f9c3401","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.34","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/952ca5dc99913d169263f59fd689f586729a13c1"},{"url":"https://git.kernel.org/stable/c/146461f09565afe3665e65b0423d3d6b0fe806c5"},{"url":"https://git.kernel.org/stable/c/80fc40e11cda1b5d990a3f69c6efa344fb5cd987"},{"url":"https://git.kernel.org/stable/c/b8a9fb6bf806f9c4891e71ae1beab0c07c23a877"},{"url":"https://git.kernel.org/stable/c/826cd1de5802fd392922785f9b64d76e65d2a100"},{"url":"https://git.kernel.org/stable/c/3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56"},{"url":"https://git.kernel.org/stable/c/70998f91030ee083ecb336a1dff0701c20a38081"},{"url":"https://git.kernel.org/stable/c/05f90284223381005d6bcddab3fda4a97f9c3401"}],"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 flaw is reached when the in-kernel Ceph client decodes a crafted CRUSH map inside CEPH_MSG_OSD_MAP received over TCP from a Ceph monitor or OSD, which is a standard network-delivered cluster control message on connected storage clients.\nAC:L - An attacker can reliably craft a CRUSH map with a bucket whose type field is zero and controlled hierarchy/items so crush_do_rule() later calls is_out() with a negative index, without races, victim-specific memory layout, or rare kernel build options.\nPR:N - No local privileges on the victim host are required; a remote attacker who controls, compromises, or MITMs the authenticated Ceph monitor/OSD peer can deliver the malicious OSD map over the established client cluster connection.\nUI:N - No additional victim action is needed at exploit time because poisoned OSD maps are processed automatically and CRUSH placement is recalculated during routine map updates, request rescanning, and normal Ceph client I/O.\nS:U - The vulnerability corrupts or reads kernel memory on the host running the Ceph client, affecting that kernel security domain rather than crossing a VM, container sandbox, or IOMMU boundary.\nC:H - When a type-0 bucket makes the mapper treat a negative bucket ID as a device, is_out() indexes osd_weight[] with a negative value, causing an out-of-bounds read of adjacent kernel memory beyond the OSD weight array.\nI:H - This out-of-bounds kernel heap access during CRUSH placement is memory corruption in a privileged parser/mapper path that can be leveraged for further kernel memory control and arbitrary code execution, not only information disclosure.\nA:H - The invalid negative indexing during CRUSH mapping can dereference unmapped or non-resident memory and trigger a kernel oops or panic, causing complete loss of availability on affected Ceph client hosts."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:30:20.481Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"5.10.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-68154","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:45:00.533524Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","type":"CWE","description":"CWE-20 Improper Input Validation"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T20:58:54.485Z"}}]}}}