CVE-2026-99896
8.8high
ceph: fix 32-bit overflow in readdir reply count check
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99896 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-99896 changed 2026-12-01 | Public domain |