CVE-2026-99890
published high CVSS 3.1 · 8.1ceph: validate MDS reply fragtree split array length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2f2dc053404febedc9c273452d9d518fb31fde72 to < 312b34dc7b0d3aa94c10d2d80df3f008c5bcd1d3 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < ea8ab5bb284da797049de973e7a1e02b5bcca634 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < f7341225b35b0b8475013d78576de9a86e4b13b4 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 9f9055c2358308abeea20677aceebf644f2f73b2 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 8a64b6406171f2fa65f0d89c59300916ec698ee8 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < fa6e5325278c620391ee6b75abc731532d66e57f · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 1ae16bb199d5e2b3f6e7160d4d5ac34980984ef8 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 8cab7e7461f81ea1e0fd45082b50bb3c04c0bb10 · 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: validate MDS reply fragtree split array length parse_reply_info_in() advances over the fragtree split array using an unchecked count multiplication. On a 32-bit client, nsplits=0x20000000 wraps the byte length to zero, so the reply is accepted and ceph_fill_fragtree() sorts far beyond the message front. Compute the split length with size_mul() and require the complete array to remain in the inode record before advancing the cursor. The malformed reply faulted in frag_tree_split_cmp() twice on the tested i386 baseline. It was rejected without a fault twice after this change, while a normal reply and a one-split control remained functional.
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.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:N - A hostile MDS sends a CEPH_MSG_CLIENT_REPLY whose InodeStat carries fragtree.nsplits. mds_dispatch()->handle_reply()->parse_reply_info()->parse_reply_info_in() advances the cursor by 8*nsplits without a bounds check. ceph_fill_inode()->ceph_fill_fragtree() then sorts and walks that many splits. The malformed count arrives over the routable Ceph messenger TCP connection. AC:L - The MDS picks nsplits itself. On a 32-bit client, nsplits=0x20000000 wraps the advance to zero and the reply is accepted. Other values wrap the pointer backward, and ceph_has_room() checks only end>=*p. A directory inode then reliably faults in the sort, including the root GETATTR at mount. Heap shaping with the attacker's own freed message fronts is ordinary attacker work. PR:N - The attacker is the MDS peer the client is connected to. It needs no account, UID or capability on the victim host. The reply is parsed in the ceph-msgr worker for any pending request tid, including the mount-time root GETATTR issued by open_root_dentry(). UI:R - ceph_fs_type has no FS_USERNS_MOUNT, so the attacker cannot mount its own server. A victim admin must mount the hostile CephFS, which issues the GETATTR. Exfiltrating leaked bytes also needs the victim to do file I/O on that mount. S:U - The fault and the out-of-bounds reads stay within the client kernel that parses the reply. No guest/host, IOMMU or sandbox boundary is crossed. C:H - The read is unbounded. A backward-wrapped cursor makes the symlink, xattr, inline and pool_ns lengths and pointers come from kernel memory before the reply front. ceph_fill_inode() copies pool_ns into i_layout.pool_ns, and encode_oloc() sends it to the hostile cluster's OSDs on file I/O. For directories, the sort and split loop read gigabytes past the front. I:N - The parsed fields are copied only into allocations sized to fit them. The sort() swaps that would hit out-of-bounds memory are always preceded by a compare at base plus about 2 GiB. On a standard 3G/1G or 2G/2G split that is a user-half address, so it faults before any out-of-bounds kernel write. A:H - A directory InodeStat with a wrapping nsplits oopses in frag_tree_split_cmp() or the fragtree split loop, in the ceph-msgr kworker, with i_fragtree_mutex held. Some nsplits values instead loop forever in the sift-down. The hostile MDS can repeat this on every mount or directory reply.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2f2dc053404febedc9c273452d9d518fb31fde72 to < 312b34dc7b0d3aa94c10d2d80df3f008c5bcd1d3 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < ea8ab5bb284da797049de973e7a1e02b5bcca634 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < f7341225b35b0b8475013d78576de9a86e4b13b4 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 9f9055c2358308abeea20677aceebf644f2f73b2 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 8a64b6406171f2fa65f0d89c59300916ec698ee8 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < fa6e5325278c620391ee6b75abc731532d66e57f (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 1ae16bb199d5e2b3f6e7160d4d5ac34980984ef8 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 8cab7e7461f81ea1e0fd45082b50bb3c04c0bb10 (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/1ae16bb199d5e2b3f6e7160d4d5ac34980984ef8
- https://git.kernel.org/stable/c/312b34dc7b0d3aa94c10d2d80df3f008c5bcd1d3
- https://git.kernel.org/stable/c/8a64b6406171f2fa65f0d89c59300916ec698ee8
- https://git.kernel.org/stable/c/8cab7e7461f81ea1e0fd45082b50bb3c04c0bb10
- https://git.kernel.org/stable/c/9f9055c2358308abeea20677aceebf644f2f73b2
- https://git.kernel.org/stable/c/ea8ab5bb284da797049de973e7a1e02b5bcca634
- https://git.kernel.org/stable/c/f7341225b35b0b8475013d78576de9a86e4b13b4
- https://git.kernel.org/stable/c/fa6e5325278c620391ee6b75abc731532d66e57f
Provider assertions
1Linux · cna
ceph: validate MDS reply fragtree split array length
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e5c288f00774cedf43ce5d401ca8627980dd78b06c6f2b73085d9e437db45fe9
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record