{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99902","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.443Z","datePublished":"2026-11-30T13:18:07.455Z","dateUpdated":"2026-12-01T05:44:14.696Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:14.696Z"},"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":{"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"},"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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osd_client.c"],"versions":[{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"98378484378bf617031d237af3ff9afaea19815f","status":"affected","versionType":"git"},{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"d8127a2822275c75ad1791536032924f08259282","status":"affected","versionType":"git"},{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"87623b0571ebd12e19780924031501075f264ca1","status":"affected","versionType":"git"},{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"e2ee7eb32de39433b5603b13abafcdb8774a2d36","status":"affected","versionType":"git"},{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"0e6985d7662f782dbceef0c24a28cbed902e78e2","status":"affected","versionType":"git"},{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4","status":"affected","versionType":"git"},{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"762860805a1414060f232fd74060fc09ec429fbf","status":"affected","versionType":"git"},{"version":"205ee1187a671c3b067d7f1e974903b44036f270","lessThan":"0405670e50f213594366ab7eddc07002bd7f84c0","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/osd_client.c"],"versions":[{"version":"3.14","status":"affected"},{"version":"0","lessThan":"3.14","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.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","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":"3.14","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"7.4-rc1"}]}]}],"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"}}}}