When a CephFS client lists a directory, the metadata server answers with an array of entries and a count, and parse_reply_info_readdir() in fs/ceph/mds_client.c validated that count “by computing the end pointer of the decoded array”. The record explains the flaw: “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.” The kernel CNA scores it 8.8 as a network bug needing user interaction; Red Hat rates it Important at 8.1 and notes that its 64-bit kernels are not susceptible to the wrap. If a 32-bit host mounts CephFS, upgrade it to a kernel at or above 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 or 7.3.4 and reboot; 64-bit clients should take the same fix in their next window.
CVE-2026-99896 at a glance.
| Component | Linux kernel, CephFS client: parse_reply_info_readdir() in fs/ceph/mds_client.c, the ceph filesystem module, on the path that decodes a metadata server’s reply to a directory listing |
| Affected versions | mainline 3.15 up to 7.4-rc1 (from commit 54008399); 5.10.x below 5.10.275, 5.15.x below 5.15.226, 6.1.x below 6.1.193, 6.6.x below 6.6.163, 6.12.x below 6.12.117, 6.18.x below 6.18.63, 7.3.x below 7.3.4. Kernels before 3.15 are not affected; the wrap the record describes is a 32-bit one |
| Fixed in | mainline 7.4-rc1 (commit 52913831, the one Debian cites as upstream) and stable 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4; eight fix commits in the record. The fix checks “the count against the number of entries that fit in the allocation before publishing dir_nr” and rejects oversized replies through the existing error path |
| Severity | kernel CNA CVSS 3.1 8.8 High (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, the user interaction being the directory listing that requests the reply); NVD Received with no score, CWE or CPE of its own. Red Hat Important, 8.1 with high attack complexity and no user interaction (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), CWE-787 (out-of-bounds write), score marked draft; Ubuntu and SUSE not reachable; Alpine not consulted. The two readings place the difficulty in different metrics and the box carries both |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30, released 30 November). EPSS: no score yet on 1 December 2026 |
| Who is exposed | 32-bit hosts that mount CephFS from a metadata server they do not fully trust (armhf and i386 clients, which the Ceph client supports); Red Hat’s position is that a compromised metadata server can cause out-of-bounds kernel writes over the network, that RHEL is typically 64-bit and not susceptible to the 32-bit wrap, and that exploitation needs an active CephFS mount. The reply arrives over the authenticated MDS session, so the attacker is a metadata server or whoever controls one. 64-bit clients carry the same code and the fix applies to them, but the record describes no 64-bit trigger |
| Published | CVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 1 December 2026, last updated 1 December 2026 |
What it is
A readdir reply from the MDS carries a count and then that many fixed-size entries, which the client decodes into a buffer it allocated for the request. To make sure the array fits, parse_reply_info_readdir() multiplied the count by the entry size and added it to the start of the array to get an end pointer, then compared that against the end of the message. On a 64-bit kernel the arithmetic has room; on a 32-bit kernel “that pointer addition can wrap” and a large count produces an end pointer that lands back inside, or before, the buffer.
The record’s example is precise: “a count of 0x40000000 with 156-byte entries wraps to a zero offset”, so the check passes and the decoder starts writing entries past the preallocated buffer, with content the server chose. The CNA scores that as full compromise with user interaction, since a process on the client has to list the directory; Red Hat scores the same outcome with high complexity and no interaction, and limits its own exposure by pointing out that RHEL kernels are 64-bit. For a 32-bit client the two readings describe the same event from different angles.
The fix changes the check rather than the arithmetic: “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.” It is one file, fs/ceph/mds_client.c. The same day’s burst fixed a second 32-bit wrap in the CephFS xattr decoder (CVE-2026-99889) and two bounds checks in libceph; all are in related reading. git.kernel.org refused our reader, so the diff is described from the CNA’s copy of the commit message.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | Fixed in trixie (6.12.117-1), trixie’s security update, forky and sid; bookworm’s 6.1 kernel (6.1.192-3) vulnerable; no DSA or DLA on 1 December 2026 | trixie 6.12.117-1 (security 6.12.118-1); forky and sid 7.3.6-1; nothing for bookworm |
| Ubuntu | Tracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred | — |
| RHEL, Rocky, Alma, CentOS Stream | Important, 8.1, CWE-787 (bug 2586394); affected on RHEL 7, 8, 9 and 10 (kernel and kernel-rt) and the OpenShift RHCOS images, with the statement that 64-bit RHEL is not susceptible to the wrap; RHEL 6 not affected; no errata | not yet |
| openSUSE/SLE | Tracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.117 / 6.18.63 / 7.3.4 or later |
How to check
Three questions, in order: which kernel is running, is it a 32-bit kernel, and does it mount CephFS and from whom. Only a 32-bit client matches the record’s description; a 64-bit client takes the fix on its normal schedule.
# 1. the running kernel (compare with the fixed stable version for its series)
uname -r
# 2. word size: the wrap the record describes happens only on 32-bit kernels
uname -m; getconf LONG_BIT
# 3. is the CephFS client loaded, and which metadata servers it talks to
lsmod | grep -E '^(ceph|libceph)\b'
grep -E ' ceph ' /proc/mounts
cat /sys/kernel/debug/ceph/*/mdsc 2>/dev/null | headA kernel at or above the fixed stable version for its series is done. A host with no ceph mount is not reachable by this bug. A 32-bit host with a CephFS mount (an armhf board, an i386 appliance) is the case the score is about, and if its metadata servers are run by someone else it should reboot first. A 64-bit client carries the code but not the wrap the record reproduced, and can take the fixed kernel in its next window.
How to fix it
Install the fixed kernel and reboot; a mounted CephFS keeps the old module in memory until the host boots the new image. Debian trixie’s point release and security update both carry it; Ubuntu, Red Hat and SUSE were pending or unreachable on 1 December 2026.
# Debian trixie / forky / sid
apt update && apt install linux-image-amd64 && systemctl reboot # or linux-image-arm64, linux-image-armmp
# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf upgrade kernel && systemctl reboot
zypper patch && systemctl reboot
uname -rThere is no mount option that bounds the reply, so the mitigation before the reboot is on the cluster side: patched, access-controlled metadata servers, since only an MDS session can deliver the reply. What not to do: do not set a small rsize or readdir_max_entries on the mount as a “mitigation”, since those shape the client’s request, not what the server is allowed to answer; and do not move a 32-bit client to ceph-fuse as a quick fix without a window, as the two clients differ in caching and permission behaviour.
Sources
- CVE-2026-99896 at CVE.org — the kernel CNA record (30 November 2026, updated 1 December when the CNA added its CVSS 3.1 metric): the commit message with the 0x40000000 example, the git and version ranges, CVSS 3.1 8.8
- Fix commits on git.kernel.org: 52913831 (mainline, 7.4-rc1, the commit Debian cites as upstream) and the backports f344a1d1, dc8d89ac, 020e6529, 25421460, 238c0053, 813221c8, b8984075; git.kernel.org refuses automated readers, so the diffs were not read for this page and the fix is described from the CNA’s copy of the commit message
- NVD entry — Received on 30 November, carrying the CNA’s ranges; no NVD score, CWE or CPE on 1 December
- Distribution trackers: Debian (trixie 6.12.117-1 fixed, bookworm vulnerable) · Ubuntu (unreachable on 1 December) · Red Hat (Important 8.1, CWE-787, RHEL 7 to 10 affected, 64-bit not susceptible) · SUSE (unreachable on 1 December)
- CISA KEV catalogue 2026.11.30, not listed · EPSS: no score for this CVE on 1 December 2026
Related reading
- CVE-2026-99889: Linux kernel CephFS client trusts an xattr name length from the metadata server and corrupts memory on 32-bit — the same client, the same day, the same word-size wrap
- CVE-2026-99895: Linux kernel Ceph client reads out of bounds on a repeated CRUSH bucket in an OSD map — the library beneath, with a monitor as the sender
- CVE-2026-99902: Linux kernel Ceph client reads out of bounds decoding an OSD redirect reply — the fourth Ceph fix in the set
- CVE-2026-100027: Linux kernel build-ID parser on 32-bit copies a page into a 64-byte stack buffer from a crafted ELF — another 32-bit-only wrap rated the same day
- CVE-2026-99304: Linux kernel CephFS snap trace out-of-bounds read — November’s MDS-supplied length bug
- The Kernel — module autoload, why an unused subsystem is still an attack surface, and how
install … /bin/falsediffers fromblacklist
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
