libceph: Fix multiple unsafe decodes in ceph_oloc_decode()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
libceph: Fix multiple unsafe decodes in ceph_oloc_decode()
ceph_oloc_decode handles unchecked data received over the network from an OSD. Currently, there are multiple decode operations that aren't covered by any bounds check. Decoding these fields can therefore result in out-of-bounds reads if a corrupted message is received.
This patch fixes the issue by adding bounds checks covering all previously uncovered decode operations.
[ idryomov: use ceph_decode_64_safe() for hash ]
| Product | Versions |
|---|---|
| Linux Linux | 205ee1187a671c3b067d7f1e974903b44036f270 to before 1714768ef0018faa4b3f42035567f31ba39f1834 Affected205ee1187a671c3b067d7f1e974903b44036f270 to before b21a77b22548ec8b2ab6a25cc42efe81edeaa439 Affected205ee1187a671c3b067d7f1e974903b44036f270 to before a3113042e7f13eb5620d39471ea2894d415c5452 Affected205ee1187a671c3b067d7f1e974903b44036f270 to before 6cc35e1c15d17704d05f0bdfbeb883ef7e57b333 Affected205ee1187a671c3b067d7f1e974903b44036f270 to before 60e0f0fa93f5ebd68b3cd9f061ddeb6eab9bc498 Affected205ee1187a671c3b067d7f1e974903b44036f270 to before ab62a3677aadb0bd46f37330cbf44202cff3a59b Affected205ee1187a671c3b067d7f1e974903b44036f270 to before dd7efad37e5eacbf9082a8bf12ba56292a1725f7 Affected205ee1187a671c3b067d7f1e974903b44036f270 to before 10655007b9b679e46a9e383202c7bb791e5d1d13 Affected |
| Linux Linux | 3.14 Affectedbefore 3.14 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/1714768ef0018faa4b3f42035567f31ba39f1834
- https://git.kernel.org/stable/c/b21a77b22548ec8b2ab6a25cc42efe81edeaa439
- https://git.kernel.org/stable/c/a3113042e7f13eb5620d39471ea2894d415c5452
- https://git.kernel.org/stable/c/6cc35e1c15d17704d05f0bdfbeb883ef7e57b333
- https://git.kernel.org/stable/c/60e0f0fa93f5ebd68b3cd9f061ddeb6eab9bc498
- https://git.kernel.org/stable/c/ab62a3677aadb0bd46f37330cbf44202cff3a59b
- https://git.kernel.org/stable/c/dd7efad37e5eacbf9082a8bf12ba56292a1725f7
- https://git.kernel.org/stable/c/10655007b9b679e46a9e383202c7bb791e5d1d13
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.