# CVE-2026-99902: libceph: Fix unsafe decode in ceph_redirect_decode()

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:07.455Z
- Modified: 2026-12-01T06:17:57.030Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

libceph: Fix unsafe decode in ceph_redirect_decode()

ceph_redirect_decode handles unchecked data received over the network
from an OSD. Currently, there is only a bounds check covering the first
three decode operations. After decoding the first len field from the
message, the only remaining check ensures there is enough buffer space
to hold len bytes. However, 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.

This patch fixes the issue by switching the decoding from
ceph_decode_32() to the bounds-checked version ceph_decode_32_safe().

(As written by CVE List.)

## Affected

- Linux Linux: from 205ee1187a671c3b067d7f1e974903b44036f270 before 98378484378bf617031d237af3ff9afaea19815f; from 205ee1187a671c3b067d7f1e974903b44036f270 before d8127a2822275c75ad1791536032924f08259282; from 205ee1187a671c3b067d7f1e974903b44036f270 before 87623b0571ebd12e19780924031501075f264ca1; from 205ee1187a671c3b067d7f1e974903b44036f270 before e2ee7eb32de39433b5603b13abafcdb8774a2d36; from 205ee1187a671c3b067d7f1e974903b44036f270 before 0e6985d7662f782dbceef0c24a28cbed902e78e2; from 205ee1187a671c3b067d7f1e974903b44036f270 before 7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4; from 205ee1187a671c3b067d7f1e974903b44036f270 before 762860805a1414060f232fd74060fc09ec429fbf; from 205ee1187a671c3b067d7f1e974903b44036f270 before 0405670e50f213594366ab7eddc07002bd7f84c0; 3.14 (not affected: before 3.14; 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/98378484378bf617031d237af3ff9afaea19815f>
- <https://git.kernel.org/stable/c/d8127a2822275c75ad1791536032924f08259282>
- <https://git.kernel.org/stable/c/87623b0571ebd12e19780924031501075f264ca1>
- <https://git.kernel.org/stable/c/e2ee7eb32de39433b5603b13abafcdb8774a2d36>
- <https://git.kernel.org/stable/c/0e6985d7662f782dbceef0c24a28cbed902e78e2>
- <https://git.kernel.org/stable/c/7f4f3e6fe58c25ac5b6977b089634bd5c48a66a4>
- <https://git.kernel.org/stable/c/762860805a1414060f232fd74060fc09ec429fbf>
- <https://git.kernel.org/stable/c/0405670e50f213594366ab7eddc07002bd7f84c0>

## Sources

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

---

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