{"api_version":"1","generated_at":"2026-12-01T06:50:20+00:00","cve":"CVE-2026-99902","urls":{"html":"https://cve.report/CVE-2026-99902","api":"https://cve.report/api/cve/CVE-2026-99902.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99902","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99902"},"summary":{"title":"libceph: Fix unsafe decode in ceph_redirect_decode()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix unsafe decode in ceph_redirect_decode()\n\nceph_redirect_decode handles unchecked data received over the network\nfrom an OSD. Currently, there is only a bounds check covering the first\nthree decode operations. After decoding the first len field from the\nmessage, the only remaining check ensures there is enough buffer space\nto hold len bytes. However, there is no guarantee that this value is\nlarge enough to hold the subsequently decoded fields. The decoding of\nthe second len field is missing an explicit bounds check. Consequently,\na corrupted message can trigger an out-of-bounds read.\n\nThis patch fixes the issue by switching the decoding from\nceph_decode_32() to the bounds-checked version ceph_decode_32_safe().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:25","updated_at":"2026-12-01 06:17:57"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","data":{"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","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","data":{"baseScore":8.2,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/0405670e50f213594366ab7eddc07002bd7f84c0","name":"https://git.kernel.org/stable/c/0405670e50f213594366ab7eddc07002bd7f84c0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/87623b0571ebd12e19780924031501075f264ca1","name":"https://git.kernel.org/stable/c/87623b0571ebd12e19780924031501075f264ca1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d8127a2822275c75ad1791536032924f08259282","name":"https://git.kernel.org/stable/c/d8127a2822275c75ad1791536032924f08259282","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4","name":"https://git.kernel.org/stable/c/7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/762860805a1414060f232fd74060fc09ec429fbf","name":"https://git.kernel.org/stable/c/762860805a1414060f232fd74060fc09ec429fbf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0e6985d7662f782dbceef0c24a28cbed902e78e2","name":"https://git.kernel.org/stable/c/0e6985d7662f782dbceef0c24a28cbed902e78e2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/98378484378bf617031d237af3ff9afaea19815f","name":"https://git.kernel.org/stable/c/98378484378bf617031d237af3ff9afaea19815f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e2ee7eb32de39433b5603b13abafcdb8774a2d36","name":"https://git.kernel.org/stable/c/e2ee7eb32de39433b5603b13abafcdb8774a2d36","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99902","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99902","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 98378484378bf617031d237af3ff9afaea19815f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 d8127a2822275c75ad1791536032924f08259282 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 87623b0571ebd12e19780924031501075f264ca1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 e2ee7eb32de39433b5603b13abafcdb8774a2d36 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 0e6985d7662f782dbceef0c24a28cbed902e78e2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 762860805a1414060f232fd74060fc09ec429fbf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 205ee1187a671c3b067d7f1e974903b44036f270 0405670e50f213594366ab7eddc07002bd7f84c0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.14 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/osd_client.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"98378484378bf617031d237af3ff9afaea19815f","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"},{"lessThan":"d8127a2822275c75ad1791536032924f08259282","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"},{"lessThan":"87623b0571ebd12e19780924031501075f264ca1","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"},{"lessThan":"e2ee7eb32de39433b5603b13abafcdb8774a2d36","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"},{"lessThan":"0e6985d7662f782dbceef0c24a28cbed902e78e2","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"},{"lessThan":"7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"},{"lessThan":"762860805a1414060f232fd74060fc09ec429fbf","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"},{"lessThan":"0405670e50f213594366ab7eddc07002bd7f84c0","status":"affected","version":"205ee1187a671c3b067d7f1e974903b44036f270","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ceph/osd_client.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.14"},{"lessThan":"3.14","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":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix unsafe decode in ceph_redirect_decode()\n\nceph_redirect_decode handles unchecked data received over the network\nfrom an OSD. Currently, there is only a bounds check covering the first\nthree decode operations. After decoding the first len field from the\nmessage, the only remaining check ensures there is enough buffer space\nto hold len bytes. However, there is no guarantee that this value is\nlarge enough to hold the subsequently decoded fields. The decoding of\nthe second len field is missing an explicit bounds check. Consequently,\na corrupted message can trigger an out-of-bounds read.\n\nThis patch fixes the issue by switching the decoding from\nceph_decode_32() to the bounds-checked version ceph_decode_32_safe()."}],"metrics":[{"cvssV3_1":{"baseScore":8.2,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:N - The malformed bytes arrive in a CEPH_MSG_OSD_OPREPLY (MOSDOpReply with hdr.version >= 6) that the OSD sends over the TCP messenger. The path is osd_dispatch() -> handle_reply() -> decode_MOSDOpReply() -> ceph_redirect_decode(), and the peer controls both hdr.front_len and the redirect encoding at the end of the front.\nAC:L - The OSD sets front_len to a 2 MiB multiple above 4 MiB, so get_reply() reallocates via ceph_msg_new() and kvmalloc falls back to vmalloc. The buffer then ends on the guard page. Oid padding puts a 16-byte v4 oloc exactly at the end, so the bare ceph_decode_32() of object_name len reads past the end every time. No race and no outside state is involved.\nPR:N - The reply only has to carry the tid of a request the client already sent to that OSD, and handle_reply() decodes it with no client-side credential check. A malicious or compromised OSD signs with its own session key, which passes osd_check_message_signature(), and needs no account on the client host.\nUI:N - A mounted CephFS or mapped RBD client sends OSD ops on its own for ordinary I/O and writeback, and the OSD can answer any of them with the crafted reply. Nothing is needed from a victim beyond the existing session.\nS:U - Both the out-of-bounds read and the resulting fault stay inside the client kernel's libceph osd_client state. No VM, IOMMU or sandbox boundary is crossed.\nC:L - When the front comes from kmalloc, the u32 past the end only decides whether object_name len is non-zero. The attacker sees that bit: zero means the client follows the redirect, and redirecting to the same pool sends the request back to the same OSD, while non-zero means -EIO. That is a bounded 1-bit oracle, and no bytes are copied out.\nI:N - ceph_redirect_decode() only compares the out-of-bounds u32 against zero and writes nothing. The redirect it can trigger is one the OSD could already request with a well-formed reply.\nA:H - With the vmalloc-backed front, the read hits the unmapped guard page and oopses in the ceph-msgr kworker while osdc->lock and osd->lock are held. Ceph I/O on the client then hangs in D state, or the host panics under panic_on_oops, and it recurs whenever the client talks to that OSD again."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:44:14.696Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/98378484378bf617031d237af3ff9afaea19815f"},{"url":"https://git.kernel.org/stable/c/d8127a2822275c75ad1791536032924f08259282"},{"url":"https://git.kernel.org/stable/c/87623b0571ebd12e19780924031501075f264ca1"},{"url":"https://git.kernel.org/stable/c/e2ee7eb32de39433b5603b13abafcdb8774a2d36"},{"url":"https://git.kernel.org/stable/c/0e6985d7662f782dbceef0c24a28cbed902e78e2"},{"url":"https://git.kernel.org/stable/c/7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4"},{"url":"https://git.kernel.org/stable/c/762860805a1414060f232fd74060fc09ec429fbf"},{"url":"https://git.kernel.org/stable/c/0405670e50f213594366ab7eddc07002bd7f84c0"}],"title":"libceph: Fix unsafe decode in ceph_redirect_decode()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99902","datePublished":"2026-11-30T13:18:07.455Z","dateReserved":"2026-09-25T10:25:14.443Z","dateUpdated":"2026-12-01T05:44:14.696Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:25","lastModifiedDate":"2026-12-01 06:17:57","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:L/I:N/A:H","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":4.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99902","Ordinal":"1","Title":"libceph: Fix unsafe decode in ceph_redirect_decode()","CVE":"CVE-2026-99902","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99902","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix unsafe decode in ceph_redirect_decode()\n\nceph_redirect_decode handles unchecked data received over the network\nfrom an OSD. Currently, there is only a bounds check covering the first\nthree decode operations. After decoding the first len field from the\nmessage, the only remaining check ensures there is enough buffer space\nto hold len bytes. However, there is no guarantee that this value is\nlarge enough to hold the subsequently decoded fields. The decoding of\nthe second len field is missing an explicit bounds check. Consequently,\na corrupted message can trigger an out-of-bounds read.\n\nThis patch fixes the issue by switching the decoding from\nceph_decode_32() to the bounds-checked version ceph_decode_32_safe().","Type":"Description","Title":"libceph: Fix unsafe decode in ceph_redirect_decode()"}]}}}