CVE-2026-99901
published high CVSS 3.1 · 8.2libceph: Fix multiple unsafe decodes in ceph_oloc_decode()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux205ee1187a671c3b067d7f1e974903b44036f270 to < 1714768ef0018faa4b3f42035567f31ba39f1834 · 205ee1187a671c3b067d7f1e974903b44036f270 to < b21a77b22548ec8b2ab6a25cc42efe81edeaa439 · 205ee1187a671c3b067d7f1e974903b44036f270 to < a3113042e7f13eb5620d39471ea2894d415c5452 · 205ee1187a671c3b067d7f1e974903b44036f270 to < 6cc35e1c15d17704d05f0bdfbeb883ef7e57b333 · 205ee1187a671c3b067d7f1e974903b44036f270 to < 60e0f0fa93f5ebd68b3cd9f061ddeb6eab9bc498 · 205ee1187a671c3b067d7f1e974903b44036f270 to < ab62a3677aadb0bd46f37330cbf44202cff3a59b · 205ee1187a671c3b067d7f1e974903b44036f270 to < dd7efad37e5eacbf9082a8bf12ba56292a1725f7 · 205ee1187a671c3b067d7f1e974903b44036f270 to < 10655007b9b679e46a9e383202c7bb791e5d1d13 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.14 (affected) · 0 to < 3.14 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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 ]
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Scenarios
- en: AV:N - The malformed object locator arrives in a CEPH_MSG_OSD_OPREPLY sent by the OSD over the routable Ceph messenger TCP session; con_work→osd_dispatch→handle_reply→decode_MOSDOpReply (hdr.version≥7, decode_redir=1)→ceph_redirect_decode→ceph_oloc_decode decodes the OSD-written struct len and fields. AC:L - The OSD places an oloc header with len=0 at the very end of the front and picks front_len=8 MiB, so get_reply() reallocates the reply via ceph_msg_new() at exactly that size, kvmalloc falls back to vmalloc, and the unchecked ceph_decode_64(pool) reads the guard page every time; there is no race and the attacker chooses the layout. PR:N - The attacker is the OSD peer the kernel client connected to and holds no account, uid or capability on the victim host; handle_reply() only matches the reply tid against an outstanding request before decoding. UI:N - No victim action is needed at trigger time: for each mapped RBD image, handle_timeout()→send_linger_ping() automatically sends a WATCH ping to the OSD every osd_keepalive_timeout, and the OSD answers it with the crafted MOSDOpReply. S:U - The out-of-bounds read and the resulting oops stay inside the client host kernel's libceph osd_client state; no guest/host, IOMMU or other security-authority boundary is crossed. C:L - At most 28 bytes past msg->front (pool, key_len, nspace_len, hash) are read and only compared with 0/-1 or used as the redirect pool; the OSD learns a predicate on adjacent heap from whether it then sees EIO or a redirected resend, but no bytes are copied out. I:N - Nothing is written; the out-of-bounds pool value only sets req->r_t.target_oloc.pool for a redirect, which the OSD can already request legitimately with an in-bounds value. A:H - With the 8 MiB vmalloc'd front, the overread oopses in the ceph-msgr kworker while it holds osdc->lock and osd->lock, wedging all I/O on that Ceph client; exact-size kmalloc fronts produce KASAN slab-out-of-bounds reports, and the OSD can repeat the attack on every ping.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 205ee1187a671c3b067d7f1e974903b44036f270 to < 1714768ef0018faa4b3f42035567f31ba39f1834 (affected · git)205ee1187a671c3b067d7f1e974903b44036f270 to < b21a77b22548ec8b2ab6a25cc42efe81edeaa439 (affected · git)205ee1187a671c3b067d7f1e974903b44036f270 to < a3113042e7f13eb5620d39471ea2894d415c5452 (affected · git)205ee1187a671c3b067d7f1e974903b44036f270 to < 6cc35e1c15d17704d05f0bdfbeb883ef7e57b333 (affected · git)205ee1187a671c3b067d7f1e974903b44036f270 to < 60e0f0fa93f5ebd68b3cd9f061ddeb6eab9bc498 (affected · git)205ee1187a671c3b067d7f1e974903b44036f270 to < ab62a3677aadb0bd46f37330cbf44202cff3a59b (affected · git)205ee1187a671c3b067d7f1e974903b44036f270 to < dd7efad37e5eacbf9082a8bf12ba56292a1725f7 (affected · git)205ee1187a671c3b067d7f1e974903b44036f270 to < 10655007b9b679e46a9e383202c7bb791e5d1d13 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.14 (affected)0 to < 3.14 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/10655007b9b679e46a9e383202c7bb791e5d1d13
- https://git.kernel.org/stable/c/1714768ef0018faa4b3f42035567f31ba39f1834
- https://git.kernel.org/stable/c/60e0f0fa93f5ebd68b3cd9f061ddeb6eab9bc498
- https://git.kernel.org/stable/c/6cc35e1c15d17704d05f0bdfbeb883ef7e57b333
- https://git.kernel.org/stable/c/a3113042e7f13eb5620d39471ea2894d415c5452
- https://git.kernel.org/stable/c/ab62a3677aadb0bd46f37330cbf44202cff3a59b
- https://git.kernel.org/stable/c/b21a77b22548ec8b2ab6a25cc42efe81edeaa439
- https://git.kernel.org/stable/c/dd7efad37e5eacbf9082a8bf12ba56292a1725f7
Provider assertions
1Linux · cna
libceph: Fix multiple unsafe decodes in ceph_oloc_decode()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cf2e86a484eac6f6c370ffee44664651a0886ec33653bbfb08eb881917e3dfcb
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record