diff options
author | 2010-11-14 09:22:52 +0000 | |
---|---|---|
committer | 2010-12-01 16:33:18 -0800 | |
commit | 91a4d157d0c18bd18fd95f90b67cb10d11701cca (patch) | |
tree | 3e5f469737873ae4bfc13f6f9f21dfcc112d191e /tools/perf/scripts | |
parent | IB/pack: Remove some unused code added by the IBoE patches (diff) | |
download | linux-dev-91a4d157d0c18bd18fd95f90b67cb10d11701cca.tar.xz linux-dev-91a4d157d0c18bd18fd95f90b67cb10d11701cca.zip |
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 <segoon@openwall.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions