Vulnerability record
ceph: validate MDS reply fragtree split array length
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…
8.1/CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HExploitability
AV:NAC:LPR:NUI:RScope
S:UImpact
C:HI:NA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources