8.2high
libceph: Fix unsafe decode in ceph_redirect_decode()
- Severity
- 8.2high CVSS:3.1 by Linux
- Exploit likelihood
- 0.56% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99902 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-99902 changed 2026-12-01 | Public domain |