From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dennis Dalessandro Subject: Re: [rdma-rc 07/14] RDMA/uverbs: Prevent leak of reserved field Date: Mon, 31 Jul 2017 09:43:37 -0400 Message-ID: <3fa7fa69-866b-e533-fb7b-68e5dde16e8d@intel.com> References: <20170731070924.7193-1-leon@kernel.org> <20170731070924.7193-8-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170731070924.7193-8-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Content-Language: en-US Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leon Romanovsky , Doug Ledford Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Leon Romanovsky List-Id: linux-rdma@vger.kernel.org On 7/31/2017 3:09 AM, Leon Romanovsky wrote: > From: Leon Romanovsky > > initialize to zero the response structure to prevent > the leakage of "resp.reserved" field. > > drivers/infiniband/core/uverbs_cmd.c:1178 ib_uverbs_resize_cq() warn: > check that 'resp.reserved' doesn't leak information > > Fixes: 33b9b3ee9709 ("IB: Add userspace support for resizing CQs") > Signed-off-by: Leon Romanovsky Reviewed-by: Dennis Dalessandro -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html