CVE-2026-99891
published critical CVSS 3.1 · 9.1ceph: bound name skips in ceph_mdsmap_decode() by the message end
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2f2dc053404febedc9c273452d9d518fb31fde72 to < 635d69abc3efdf6bd92eefe3824842b5626a6242 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 85105987f7eea0f68e6573d7b3048ee38de6c455 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < b7abd15f5041ab821b823764f3b9bb8a75a3ecf7 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 44abd92f5f8792b3e21a2bdc8197162c42b2857f · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 59779874bf7618798e083b5adcc8b96082a9c294 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < ff6e8ae28b522586507f7de81230b471a4d9c633 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < bd04d73a0d6e6c52186f3836ad1689080be7f7ed · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 7f702e1703c9648fcb02a217d66c880d00417150 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.34 (affected) · 0 to < 2.6.34 (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: ceph: bound name skips in ceph_mdsmap_decode() by the message end ceph_mdsmap_decode() reads two remote u32 name lengths and advances its parser cursor without checking that either string remains in the message. On a 32-bit client, a sufficiently large length can wrap the cursor below `end`. The following numerical bounds check then succeeds and dereferences the wrapped address. Use ceph_decode_skip_n() for both names so the remaining bytes are checked before the cursor advances. The issue produced a page fault in ceph_mdsmap_decode twice on the tested i386 baseline. The same frame was rejected without a fault twice after this change, while a normal MDSMap continued to be accepted.
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
- 9.1 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:N - The two bad lengths are mds-name u32s inside a CEPH_MSG_MDS_MAP message, sent over the Ceph messenger TCP session by a monitor (mon_dispatch → extra_mon_dispatch) or an MDS (mds_dispatch). The message goes to ceph_mdsc_handle_mdsmap() → ceph_mdsmap_decode(), and the bare `*p += namelen` comes straight from those network bytes. AC:L - The peer picks namelen, so on an affected 32-bit client it chooses exactly where the wrapped cursor lands; ceph_has_room() accepts any address below end, and a wrap into user space or unmapped memory faults every time. No race or victim-controlled layout is involved, and setting info_v>=4 makes the cursor reset to info_end so the map decodes and is installed. PR:N - The attacker acts as the Ceph monitor or MDS peer, or sits on-path on the default msgr1 mon session, which is unsigned because mon_con_ops has no check_message_signature. The only gate is ceph_check_fsid() plus a newer epoch, and an on-path attacker can read the fsid off the wire. No account or privilege on the client host is needed. UI:N - Once CephFS is mounted, the client keeps a continuous CEPH_SUB_MDSMAP subscription, and an unsolicited MDS_MAP with a higher epoch is decoded in the ceph-msgr worker straight away. No file access, mount or other victim action is needed when the attack happens. S:U - The wild read and the oops both happen inside the client kernel's CephFS decoder and stay within the same kernel security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - The wrapped cursor reads mds/inc/state/addr/laggy_since and export_targets from kernel memory at an offset the attacker picks, anywhere below the message end. That is not a few bounded bytes. With info_v>=4 those values are installed in mdsc->mdsmap and acted on through check_new_map() and ceph_mdsmap_get_addr(), as with the sibling out-of-bounds read CVE-2026-89650. I:N - Every access through the wrapped cursor is a read into locals (addr, laggy_since) or into the correctly sized kcalloc'd export_targets array, and each target is still checked against CEPH_MAX_MDS. No out-of-bounds write or control-flow primitive comes from this fix's two skips. A:H - A namelen that wraps the cursor into user space or unmapped memory makes ceph_mdsmap_decode() page-fault in the kworker while it holds mdsc->mutex; the fix commit reproduced this on i386. A rejected map also calls ceph_umount_begin(), and the peer can repeat either at will with new maps.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2f2dc053404febedc9c273452d9d518fb31fde72 to < 635d69abc3efdf6bd92eefe3824842b5626a6242 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 85105987f7eea0f68e6573d7b3048ee38de6c455 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < b7abd15f5041ab821b823764f3b9bb8a75a3ecf7 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 44abd92f5f8792b3e21a2bdc8197162c42b2857f (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 59779874bf7618798e083b5adcc8b96082a9c294 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < ff6e8ae28b522586507f7de81230b471a4d9c633 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < bd04d73a0d6e6c52186f3836ad1689080be7f7ed (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 7f702e1703c9648fcb02a217d66c880d00417150 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.34 (affected)0 to < 2.6.34 (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/44abd92f5f8792b3e21a2bdc8197162c42b2857f
- https://git.kernel.org/stable/c/59779874bf7618798e083b5adcc8b96082a9c294
- https://git.kernel.org/stable/c/635d69abc3efdf6bd92eefe3824842b5626a6242
- https://git.kernel.org/stable/c/7f702e1703c9648fcb02a217d66c880d00417150
- https://git.kernel.org/stable/c/85105987f7eea0f68e6573d7b3048ee38de6c455
- https://git.kernel.org/stable/c/b7abd15f5041ab821b823764f3b9bb8a75a3ecf7
- https://git.kernel.org/stable/c/bd04d73a0d6e6c52186f3836ad1689080be7f7ed
- https://git.kernel.org/stable/c/ff6e8ae28b522586507f7de81230b471a4d9c633
Provider assertions
1Linux · cna
ceph: bound name skips in ceph_mdsmap_decode() by the message end
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c3ba9aba4086ebb97d652e094c2d37a2eaef4cd58f5c1038c2f89edb4b05adfd
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record