ceph: fix 32-bit overflow in readdir reply count check
CVE-2026-99896Published 30 Nov 2026, 13:18 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 3.15 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 47), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.7 × threat 0.855.950
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
No weakness type given.
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
- CVE-2026-99896 on CVE.org