From: Vasiliy Kulikov Date: Sun, 14 Nov 2010 09:22:52 +0000 (+0000) Subject: IB: Fix information leak in marshalling code X-Git-Tag: v2.6.37-rc5~33^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a4d157d0c18bd18fd95f90b67cb10d11701cca;p=pandora-kernel.git IB: Fix information leak in marshalling code ib_ucm_init_qp_attr() and ucma_init_qp_attr() pass struct ib_uverbs_qp_attr with reserved, qp_state, {ah_attr,alt_ah_attr}{reserved,->grh.reserved} fields uninitialized to copy_to_user(). This leads to leaking of contents of kernel stack memory to userspace. Signed-off-by: Vasiliy Kulikov Signed-off-by: Roland Dreier --- Reading git-diff-tree failed