# CVE-2026-99896: ceph: fix 32-bit overflow in readdir reply count check

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:04.130Z
- Modified: 2026-12-01T06:17:56.497Z
- Assigned by: Linux

## Description

In 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before f344a1d12dc3b37603e25091c77fe06b0ba92c84; from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before dc8d89acc5642304a86bf5bdf78d08ee4064c4ae; from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before 020e6529e0ef945b22b08ca7cbfad1d676ac1e6f; from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before 254214600efb0be9815720661e16513861b752ef; from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before 238c0053d5ba919e414fc26bdd91b2079e819d86; from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before 813221c8bbc9ce0c22b8a190478f6718d9c69a31; from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before b898407535b1c5a9caa6b22aa35650e0a99d742e; from 54008399dc0ce511a07b87f1af3d1f5c791982a4 before 52913831ba56efceaafd80b501d68fa00f79bde6; 3.15 (not affected: before 3.15; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/f344a1d12dc3b37603e25091c77fe06b0ba92c84>
- <https://git.kernel.org/stable/c/dc8d89acc5642304a86bf5bdf78d08ee4064c4ae>
- <https://git.kernel.org/stable/c/020e6529e0ef945b22b08ca7cbfad1d676ac1e6f>
- <https://git.kernel.org/stable/c/254214600efb0be9815720661e16513861b752ef>
- <https://git.kernel.org/stable/c/238c0053d5ba919e414fc26bdd91b2079e819d86>
- <https://git.kernel.org/stable/c/813221c8bbc9ce0c22b8a190478f6718d9c69a31>
- <https://git.kernel.org/stable/c/b898407535b1c5a9caa6b22aa35650e0a99d742e>
- <https://git.kernel.org/stable/c/52913831ba56efceaafd80b501d68fa00f79bde6>

## Sources

- CVE List: [CVE-2026-99896](https://www.cve.org/CVERecord?id=CVE-2026-99896), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-99896](https://nvd.nist.gov/vuln/detail/CVE-2026-99896), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-99896 · Whole record: https://cve.day/CVE-2026-99896.json · Rebuilt by cve.day 2026-12-01T06:32:24.524Z
