{"api_version":"1","generated_at":"2026-12-01T06:50:17+00:00","cve":"CVE-2026-99896","urls":{"html":"https://cve.report/CVE-2026-99896","api":"https://cve.report/api/cve/CVE-2026-99896.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99896","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99896"},"summary":{"title":"ceph: fix 32-bit overflow in readdir reply count check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix 32-bit overflow in readdir reply count check\n\nparse_reply_info_readdir() checks how many entries are in a readdir\nreply by computing the end pointer of the decoded array. That pointer\naddition can wrap on 32-bit kernels and let an oversized count pass the\ncheck. For example, a count of 0x40000000 with 156-byte entries wraps\nto a zero offset, so the decoder can write past the preallocated buffer.\n\nCheck the count against the number of entries that fit in the allocation\nbefore publishing dir_nr. Reject oversized replies through the existing\nerror path.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:24","updated_at":"2026-12-01 06:17:56"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/238c0053d5ba919e414fc26bdd91b2079e819d86","name":"https://git.kernel.org/stable/c/238c0053d5ba919e414fc26bdd91b2079e819d86","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f344a1d12dc3b37603e25091c77fe06b0ba92c84","name":"https://git.kernel.org/stable/c/f344a1d12dc3b37603e25091c77fe06b0ba92c84","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/254214600efb0be9815720661e16513861b752ef","name":"https://git.kernel.org/stable/c/254214600efb0be9815720661e16513861b752ef","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/813221c8bbc9ce0c22b8a190478f6718d9c69a31","name":"https://git.kernel.org/stable/c/813221c8bbc9ce0c22b8a190478f6718d9c69a31","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b898407535b1c5a9caa6b22aa35650e0a99d742e","name":"https://git.kernel.org/stable/c/b898407535b1c5a9caa6b22aa35650e0a99d742e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/52913831ba56efceaafd80b501d68fa00f79bde6","name":"https://git.kernel.org/stable/c/52913831ba56efceaafd80b501d68fa00f79bde6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/020e6529e0ef945b22b08ca7cbfad1d676ac1e6f","name":"https://git.kernel.org/stable/c/020e6529e0ef945b22b08ca7cbfad1d676ac1e6f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dc8d89acc5642304a86bf5bdf78d08ee4064c4ae","name":"https://git.kernel.org/stable/c/dc8d89acc5642304a86bf5bdf78d08ee4064c4ae","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99896","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99896","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 f344a1d12dc3b37603e25091c77fe06b0ba92c84 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 dc8d89acc5642304a86bf5bdf78d08ee4064c4ae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 020e6529e0ef945b22b08ca7cbfad1d676ac1e6f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 254214600efb0be9815720661e16513861b752ef git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 238c0053d5ba919e414fc26bdd91b2079e819d86 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 813221c8bbc9ce0c22b8a190478f6718d9c69a31 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 b898407535b1c5a9caa6b22aa35650e0a99d742e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 54008399dc0ce511a07b87f1af3d1f5c791982a4 52913831ba56efceaafd80b501d68fa00f79bde6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.15 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":["fs/ceph/mds_client.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f344a1d12dc3b37603e25091c77fe06b0ba92c84","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"},{"lessThan":"dc8d89acc5642304a86bf5bdf78d08ee4064c4ae","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"},{"lessThan":"020e6529e0ef945b22b08ca7cbfad1d676ac1e6f","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"},{"lessThan":"254214600efb0be9815720661e16513861b752ef","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"},{"lessThan":"238c0053d5ba919e414fc26bdd91b2079e819d86","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"},{"lessThan":"813221c8bbc9ce0c22b8a190478f6718d9c69a31","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"},{"lessThan":"b898407535b1c5a9caa6b22aa35650e0a99d742e","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"},{"lessThan":"52913831ba56efceaafd80b501d68fa00f79bde6","status":"affected","version":"54008399dc0ce511a07b87f1af3d1f5c791982a4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ceph/mds_client.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.15"},{"lessThan":"3.15","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.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"3.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"3.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"3.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix 32-bit overflow in readdir reply count check\n\nparse_reply_info_readdir() checks how many entries are in a readdir\nreply by computing the end pointer of the decoded array. That pointer\naddition can wrap on 32-bit kernels and let an oversized count pass the\ncheck. For example, a count of 0x40000000 with 156-byte entries wraps\nto a zero offset, so the decoder can write past the preallocated buffer.\n\nCheck the count against the number of entries that fit in the allocation\nbefore publishing dir_nr. Reject oversized replies through the existing\nerror path."}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:N - The count comes off the wire as the __le32 num in the extra section of a CEPH_MSG_CLIENT_REPLY. A hostile or compromised MDS sends that reply over the Ceph messenger on TCP, and handle_reply -> parse_reply_info -> parse_reply_info_extra -> parse_reply_info_readdir decodes it.\nAC:L - On 32-bit kernels num=0x80000000 makes num*sizeof wrap to 0, so the dir_entries+num pointer check always passes. The MDS also sizes the buffer through the i_files/i_subdirs it reports. dir_nr is an int, so it becomes negative and destroy_reply_info skips its loop. No race and no forced crash.\nPR:N - The attacker is the MDS peer and needs no account or privilege on the client. After lookup_get_request() matches the tid and the session, handle_reply() parses the readdir payload with no further check on who sent it.\nUI:R - handle_reply only parses replies to a registered tid, and dir_entries is only allocated for a READDIR/LSSNAP issued by ceph_readdir. A victim must have mounted the attacker's or compromised cluster, and a process must call getdents on a directory. The MDS cannot push this reply unsolicited.\nS:U - The out-of-bounds write corrupts the client kernel's own lowmem pages next to the __get_free_pages buffer from ceph_alloc_readdir_reply_buffer. The impact stays inside the kernel that parses the reply, with no VM, IOMMU or sandbox boundary crossed.\nC:H - The write places pointers and attacker-chosen 32/64-bit fields from parse_reply_info_in (change_attr, btime, quota, lengths) into adjacent kernel pages, up to megabytes past the buffer. Corrupting neighbouring objects this way can be leveraged to read kernel memory.\nI:H - parse_reply_info_readdir keeps writing struct ceph_mds_reply_dir_entry records at dir_entries+i, past dir_buf_size, for as many entries as the MDS packs into a reply of up to 16 MiB. That is a controlled-length out-of-bounds write into adjacent physical pages, usable to hijack control flow.\nA:H - Overwriting the neighbouring lowmem pages (slab, page cache or other kernel objects) crashes the client kernel. A count like 0x40000000 also makes destroy_reply_info kfree garbage across the whole address space. On 64-bit the same oversized count hit WARN_ON(1)."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:44:10.418Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f344a1d12dc3b37603e25091c77fe06b0ba92c84"},{"url":"https://git.kernel.org/stable/c/dc8d89acc5642304a86bf5bdf78d08ee4064c4ae"},{"url":"https://git.kernel.org/stable/c/020e6529e0ef945b22b08ca7cbfad1d676ac1e6f"},{"url":"https://git.kernel.org/stable/c/254214600efb0be9815720661e16513861b752ef"},{"url":"https://git.kernel.org/stable/c/238c0053d5ba919e414fc26bdd91b2079e819d86"},{"url":"https://git.kernel.org/stable/c/813221c8bbc9ce0c22b8a190478f6718d9c69a31"},{"url":"https://git.kernel.org/stable/c/b898407535b1c5a9caa6b22aa35650e0a99d742e"},{"url":"https://git.kernel.org/stable/c/52913831ba56efceaafd80b501d68fa00f79bde6"}],"title":"ceph: fix 32-bit overflow in readdir reply count check","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99896","datePublished":"2026-11-30T13:18:04.130Z","dateReserved":"2026-09-25T10:25:14.443Z","dateUpdated":"2026-12-01T05:44:10.418Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:24","lastModifiedDate":"2026-12-01 06:17:56","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:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99896","Ordinal":"1","Title":"ceph: fix 32-bit overflow in readdir reply count check","CVE":"CVE-2026-99896","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99896","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix 32-bit overflow in readdir reply count check\n\nparse_reply_info_readdir() checks how many entries are in a readdir\nreply by computing the end pointer of the decoded array. That pointer\naddition can wrap on 32-bit kernels and let an oversized count pass the\ncheck. For example, a count of 0x40000000 with 156-byte entries wraps\nto a zero offset, so the decoder can write past the preallocated buffer.\n\nCheck the count against the number of entries that fit in the allocation\nbefore publishing dir_nr. Reject oversized replies through the existing\nerror path.","Type":"Description","Title":"ceph: fix 32-bit overflow in readdir reply count check"}]}}}