{"id":"CVE-2026-99896","summary":"ceph: fix 32-bit overflow in readdir reply count check","details":"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.","modified":"2026-12-01T07:00:43.565726993Z","published":"2026-11-30T13:18:04.130Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99896.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/020e6529e0ef945b22b08ca7cbfad1d676ac1e6f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/238c0053d5ba919e414fc26bdd91b2079e819d86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/254214600efb0be9815720661e16513861b752ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52913831ba56efceaafd80b501d68fa00f79bde6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/813221c8bbc9ce0c22b8a190478f6718d9c69a31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b898407535b1c5a9caa6b22aa35650e0a99d742e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc8d89acc5642304a86bf5bdf78d08ee4064c4ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f344a1d12dc3b37603e25091c77fe06b0ba92c84"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99896.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99896"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"54008399dc0ce511a07b87f1af3d1f5c791982a4"},{"fixed":"f344a1d12dc3b37603e25091c77fe06b0ba92c84"},{"fixed":"dc8d89acc5642304a86bf5bdf78d08ee4064c4ae"},{"fixed":"020e6529e0ef945b22b08ca7cbfad1d676ac1e6f"},{"fixed":"254214600efb0be9815720661e16513861b752ef"},{"fixed":"238c0053d5ba919e414fc26bdd91b2079e819d86"},{"fixed":"813221c8bbc9ce0c22b8a190478f6718d9c69a31"},{"fixed":"b898407535b1c5a9caa6b22aa35650e0a99d742e"},{"fixed":"52913831ba56efceaafd80b501d68fa00f79bde6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99896.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.15.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99896.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}