{"id":"CVE-2025-68283","state":"PUBLISHED","title":"libceph: replace BUG_ON with bounds check for map->max_osd","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: replace BUG_ON with bounds check for map->max_osd\n\nOSD indexes come from untrusted network packets. Boundary checks are\nadded to validate these against map->max_osd.\n\n[ idryomov: drop BUG_ON in ceph_get_primary_affinity(), minor cosmetic\n  edits ]","publishedAt":"2025-12-16T15:06:05.355Z","updatedAt":"2026-10-15T22:02:48.629Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"57f5fbae9f1024aba17ff75e00433324115c548a","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"becc488a4d864db338ebd4e313aa3c77da24b604","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"b4368b7f97014e1015445d61abd0b27c4c6e8424","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"ec3797f043756a94ea2d0f106022e14ac4946c02","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":"6.1.159","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.119","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.61","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.11","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","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/57f5fbae9f1024aba17ff75e00433324115c548a","https://git.kernel.org/stable/c/becc488a4d864db338ebd4e313aa3c77da24b604","https://git.kernel.org/stable/c/e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d","https://git.kernel.org/stable/c/b4368b7f97014e1015445d61abd0b27c4c6e8424","https://git.kernel.org/stable/c/ec3797f043756a94ea2d0f106022e14ac4946c02"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68283.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68283","state":"PUBLISHED","datePublished":"2025-12-16T15:06:05.355Z","dateUpdated":"2026-10-15T22:02:48.629Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T14:48:05.291Z"},"containers":{"cna":{"title":"libceph: replace BUG_ON with bounds check for map->max_osd","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: replace BUG_ON with bounds check for map->max_osd\n\nOSD indexes come from untrusted network packets. Boundary checks are\nadded to validate these against map->max_osd.\n\n[ idryomov: drop BUG_ON in ceph_get_primary_affinity(), minor cosmetic\n  edits ]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"57f5fbae9f1024aba17ff75e00433324115c548a","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"becc488a4d864db338ebd4e313aa3c77da24b604","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"b4368b7f97014e1015445d61abd0b27c4c6e8424","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","status":"affected","lessThan":"ec3797f043756a94ea2d0f106022e14ac4946c02","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":"6.1.159","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.119","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.61","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.11","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","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/57f5fbae9f1024aba17ff75e00433324115c548a"},{"url":"https://git.kernel.org/stable/c/becc488a4d864db338ebd4e313aa3c77da24b604"},{"url":"https://git.kernel.org/stable/c/e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d"},{"url":"https://git.kernel.org/stable/c/b4368b7f97014e1015445d61abd0b27c4c6e8424"},{"url":"https://git.kernel.org/stable/c/ec3797f043756a94ea2d0f106022e14ac4946c02"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - An attacker-controlled Ceph monitor or OSD can deliver a crafted CEPH_MSG_OSD_MAP over TCP to an active kernel CephFS or RBD client.\nAC:L - The attacker controls both map->max_osd and the decoded OSD index, making the BUG_ON reliably reachable without a race or unpredictable condition.\nPR:N - The default legacy messenger monitor path dispatches OSD-map messages before Ceph authentication completes, so an attacker controlling the selected endpoint needs no credentials.\nUI:N - An active Ceph client automatically receives and applies map updates without any user action at exploitation time.\nS:U - The failure occurs within the host kernel and does not cross a separate security authority such as a hypervisor boundary.\nC:N - The BUG_ON executes before the invalid index is used for an out-of-bounds access, providing no information-disclosure primitive.\nI:N - The vulnerable paths terminate at BUG_ON before performing an out-of-bounds write, so the defect does not provide memory corruption or code execution.\nA:H - The crafted index triggers a kernel BUG, which can panic or reboot the host or leave the Ceph workqueue and locked subsystem unusable."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:10:36.982Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.1.159"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.6.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.12.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.17.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-68283","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-15T22:00:41.515317Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T22:02:48.629Z"}}]}}}