CVE-2026-99902: Linux kernel Ceph client reads out of bounds decoding an OSD redirect reply

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

An OSD can answer a kernel Ceph client’s request with a redirect telling it to retry elsewhere, and ceph_redirect_decode() in net/ceph/osd_client.c “handles unchecked data received over the network from an OSD”. The record is plain about the gap: “there is only a bounds check covering the first three decode operations”, and after the first length field the remaining check only ensures the buffer holds that many bytes, “there is no guarantee that this value is large enough to hold the subsequently decoded fields. The decoding of the second len field is missing an explicit bounds check. Consequently, a corrupted message can trigger an out-of-bounds read.” The kernel CNA scores it 8.2; Red Hat rates it Important at 7.5 as an unauthenticated remote panic. If a host mounts CephFS or maps RBD images, 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, starting with clients of clusters you do not administer.

CVE-2026-99902 at a glance.

ComponentLinux kernel, Ceph client library: ceph_redirect_decode() in net/ceph/osd_client.c, the libceph module used by ceph (CephFS) and rbd
Affected versionsmainline 3.14 up to 7.4-rc1 (from commit 205ee118, which added redirect handling); 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.14 are not affected
Fixed inmainline 7.4-rc1 (commit 0405670e, 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 switches the second length decode “from ceph_decode_32() to the bounds-checked version ceph_decode_32_safe()”
Severitykernel CNA CVSS 3.1 8.2 High (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H); NVD had no record for this id on 1 December. Red Hat Important, 7.5 with availability impact only (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), CWE-125 (out-of-bounds read), score marked draft; Ubuntu and SUSE not reachable; Alpine not consulted. The CNA allows a small disclosure from the over-read, Red Hat does not; the box carries both
Exploited in the wildNot 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 exposedhosts running the kernel Ceph client against OSDs they do not fully trust; Red Hat’s position is that a compromised storage endpoint or network-adjacent attacker can force a kernel panic without authentication, that libceph is not loaded by default, and that it is used only with CephFS or kernel RBD. The redirect arrives on an OSD session, which is cephx-authenticated, so the attacker is an OSD, whoever has taken one over, or someone with the session keys in hand. Clusters run by a provider, where the client trusts OSDs it cannot inspect, are where this matters most
PublishedCVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 1 December 2026, last updated 1 December 2026

What it is

A Ceph OSD that no longer owns the placement group a request names can reply with a redirect carrying a new object locator, and the kernel client decodes that structure out of the reply message. The decoder guarded its first three reads with one check, then read a length and confirmed the buffer still held that many bytes, and then went on decoding fields inside that span, including a second length, without checking that the span was long enough to contain them. A message whose first length is small enough to pass but too small for what follows pushes the second read past the end.

The outcome is an out-of-bounds read of kernel memory during message handling on the OSD connection. The kernel CNA scores a small confidentiality impact alongside the crash, since what is read can shape what the client does next; Red Hat scores a crash only, and the Important rating rests on the fact that no authentication beyond the existing OSD session is needed. The record does not describe a reproduction or a runtime report; it is a code-review fix, and this page does not speculate beyond it.

The fix is a one-call change in net/ceph/osd_client.c: use ceph_decode_32_safe(), which checks the remaining buffer before reading, in place of ceph_decode_32() for the second length. Three more Ceph client fixes landed the same day: a CRUSH decode in the same library (CVE-2026-99895) and two 32-bit wraps in the CephFS layer above it (CVE-2026-99889 and CVE-2026-99896). 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.

DistributionStatusFixed package
AlpineNot consulted for this page—
DebianFixed 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 2026trixie 6.12.117-1 (security 6.12.118-1); forky and sid 7.3.6-1; nothing for bookworm
UbuntuTracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred—
RHEL, Rocky, Alma, CentOS StreamImportant, 7.5, CWE-125 (bug 2586316); affected on RHEL 7, 8, 9 and 10 (kernel and kernel-rt) and the OpenShift RHCOS images; RHEL 6 not affected; no erratanot yet
openSUSE/SLETracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply5.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 the Ceph client loaded, and which OSDs it has sessions with. The third decides whether this is urgent.

# 1. the running kernel (compare with the fixed stable version for its series)
uname -r

# 2. is libceph loaded, and through which users
lsmod | grep -E '^(libceph|ceph|rbd)\b'
grep -E ' ceph ' /proc/mounts
ls /sys/bus/rbd/devices/ 2>/dev/null

# 3. the OSD sessions each client holds
cat /sys/kernel/debug/ceph/*/osdc 2>/dev/null | head
grep -h mon_host /etc/ceph/*.conf 2>/dev/null

A kernel at or above the fixed stable version for its series is done. A host with no libceph loaded, no ceph mounts and no RBD devices is not reachable by this bug. A host with any of those holds sessions to every OSD that serves its data, and each of them can send the reply; where those OSDs are run by someone else, that host should reboot first.

How to fix it

Install the fixed kernel and reboot; a mounted CephFS or mapped RBD image keeps the old libceph 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 -r

There is no client-side setting that validates an OSD reply before it is decoded, so the mitigation before the reboot is on the cluster side: patched OSD hosts and cephx keys kept where they belong. What not to do: do not read NVD’s missing record as a sign the id is unassigned, since the kernel CNA record and Red Hat’s entry are both live; and do not treat the Important rating as a reason to defer on a client of provider-run storage, where a panic takes every mount and mapped image on the host with it.

Sources

  • CVE-2026-99902 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 describing the missing second bounds check, the git and version ranges, CVSS 3.1 8.2
  • Fix commits on git.kernel.org: 0405670e (mainline, 7.4-rc1, the commit Debian cites as upstream) and the backports 98378484, d8127a28, 87623b05, e2ee7eb3, 0e6985d7, 7f4f3e6f, 76286080; 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 — no record for this id on 1 December 2026 (the API returned zero results); check again later
  • Distribution trackers: Debian (trixie 6.12.117-1 fixed, bookworm vulnerable) · Ubuntu (unreachable on 1 December) · Red Hat (Important 7.5, CWE-125, RHEL 7 to 10 affected) · 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

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.