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.
https://git.kernel.org/stable/c/fa6e5325278c620391ee6b75abc731532d66e57f
https://git.kernel.org/stable/c/f7341225b35b0b8475013d78576de9a86e4b13b4
https://git.kernel.org/stable/c/ea8ab5bb284da797049de973e7a1e02b5bcca634
https://git.kernel.org/stable/c/9f9055c2358308abeea20677aceebf644f2f73b2
https://git.kernel.org/stable/c/8cab7e7461f81ea1e0fd45082b50bb3c04c0bb10
https://git.kernel.org/stable/c/8a64b6406171f2fa65f0d89c59300916ec698ee8
https://git.kernel.org/stable/c/312b34dc7b0d3aa94c10d2d80df3f008c5bcd1d3
https://git.kernel.org/stable/c/1ae16bb199d5e2b3f6e7160d4d5ac34980984ef8