ceph: validate MDS reply fragtree split array length
- 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:
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.
| Product | Versions |
|---|---|
| Linux Linux | 2f2dc053404febedc9c273452d9d518fb31fde72 to before 312b34dc7b0d3aa94c10d2d80df3f008c5bcd1d3 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before ea8ab5bb284da797049de973e7a1e02b5bcca634 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before f7341225b35b0b8475013d78576de9a86e4b13b4 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 9f9055c2358308abeea20677aceebf644f2f73b2 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 8a64b6406171f2fa65f0d89c59300916ec698ee8 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before fa6e5325278c620391ee6b75abc731532d66e57f Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 1ae16bb199d5e2b3f6e7160d4d5ac34980984ef8 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 8cab7e7461f81ea1e0fd45082b50bb3c04c0bb10 Affected |
| Linux Linux | 2.6.34 Affectedbefore 2.6.34 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/312b34dc7b0d3aa94c10d2d80df3f008c5bcd1d3
- https://git.kernel.org/stable/c/ea8ab5bb284da797049de973e7a1e02b5bcca634
- https://git.kernel.org/stable/c/f7341225b35b0b8475013d78576de9a86e4b13b4
- https://git.kernel.org/stable/c/9f9055c2358308abeea20677aceebf644f2f73b2
- https://git.kernel.org/stable/c/8a64b6406171f2fa65f0d89c59300916ec698ee8
- https://git.kernel.org/stable/c/fa6e5325278c620391ee6b75abc731532d66e57f
- https://git.kernel.org/stable/c/1ae16bb199d5e2b3f6e7160d4d5ac34980984ef8
- https://git.kernel.org/stable/c/8cab7e7461f81ea1e0fd45082b50bb3c04c0bb10
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.