libceph: Fix unsafe decode in ceph_redirect_decode()

Summary

CVECVE-2026-99902
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:25 UTC
Updated2026-12-01 06:17:57 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: libceph: Fix unsafe decode in ceph_redirect_decode() ceph_redirect_decode handles unchecked data received over the network from an OSD. Currently, there is only a bounds check covering the first three decode operations. After decoding the first len field from the message, the only remaining check ensures there is enough buffer space to hold len bytes. However, there is no guarantee that this value is large enough to hold the subsequently decoded fields. The decoding of the second len field is missing an explicit bounds check. Consequently, a corrupted message can trigger an out-of-bounds read. This patch fixes the issue by switching the decoding from ceph_decode_32() to the bounds-checked version ceph_decode_32_safe().

Risk And Classification

Primary CVSS: v3.1 8.2 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
3.1CNADECLARED8.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 98378484378bf617031d237af3ff9afaea19815f git Not specified
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 d8127a2822275c75ad1791536032924f08259282 git Not specified
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 87623b0571ebd12e19780924031501075f264ca1 git Not specified
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 e2ee7eb32de39433b5603b13abafcdb8774a2d36 git Not specified
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 0e6985d7662f782dbceef0c24a28cbed902e78e2 git Not specified
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4 git Not specified
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 762860805a1414060f232fd74060fc09ec429fbf git Not specified
CNA Linux Linux affected 205ee1187a671c3b067d7f1e974903b44036f270 0405670e50f213594366ab7eddc07002bd7f84c0 git Not specified
CNA Linux Linux affected 3.14 Not specified
CNA Linux Linux unaffected 3.14 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0405670e50f213594366ab7eddc07002bd7f84c0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/87623b0571ebd12e19780924031501075f264ca1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d8127a2822275c75ad1791536032924f08259282 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/762860805a1414060f232fd74060fc09ec429fbf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0e6985d7662f782dbceef0c24a28cbed902e78e2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/98378484378bf617031d237af3ff9afaea19815f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e2ee7eb32de39433b5603b13abafcdb8774a2d36 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report