ceph: fix 32-bit overflow in readdir reply count check

Summary

CVECVE-2026-99896
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:24 UTC
Updated2026-12-01 06:17:56 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: ceph: fix 32-bit overflow in readdir reply count check parse_reply_info_readdir() checks how many entries are in a readdir reply by computing the end pointer of the decoded array. That pointer addition can wrap on 32-bit kernels and let an oversized count pass the check. For example, a count of 0x40000000 with 156-byte entries wraps to a zero offset, so the decoder can write past the preallocated buffer. Check the count against the number of entries that fit in the allocation before publishing dir_nr. Reject oversized replies through the existing error path.

Risk And Classification

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

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


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

CVSS v3.1 Breakdown

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

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 f344a1d12dc3b37603e25091c77fe06b0ba92c84 git Not specified
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 dc8d89acc5642304a86bf5bdf78d08ee4064c4ae git Not specified
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 020e6529e0ef945b22b08ca7cbfad1d676ac1e6f git Not specified
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 254214600efb0be9815720661e16513861b752ef git Not specified
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 238c0053d5ba919e414fc26bdd91b2079e819d86 git Not specified
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 813221c8bbc9ce0c22b8a190478f6718d9c69a31 git Not specified
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 b898407535b1c5a9caa6b22aa35650e0a99d742e git Not specified
CNA Linux Linux affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 52913831ba56efceaafd80b501d68fa00f79bde6 git Not specified
CNA Linux Linux affected 3.15 Not specified
CNA Linux Linux unaffected 3.15 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/238c0053d5ba919e414fc26bdd91b2079e819d86 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f344a1d12dc3b37603e25091c77fe06b0ba92c84 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/254214600efb0be9815720661e16513861b752ef 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/813221c8bbc9ce0c22b8a190478f6718d9c69a31 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b898407535b1c5a9caa6b22aa35650e0a99d742e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/52913831ba56efceaafd80b501d68fa00f79bde6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/020e6529e0ef945b22b08ca7cbfad1d676ac1e6f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dc8d89acc5642304a86bf5bdf78d08ee4064c4ae 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