From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (Christoph Hellwig) Date: Mon, 1 Aug 2016 13:07:44 +0200 Subject: [PATCH 1/2] nvme-rdma: Don't leak uninitialized memory in connect request private data In-Reply-To: <1469950060-18098-1-git-send-email-roland@kernel.org> References: <1469950060-18098-1-git-send-email-roland@kernel.org> Message-ID: <20160801110744.GG16141@lst.de> On Sun, Jul 31, 2016@12:27:39AM -0700, Roland Dreier wrote: > From: Roland Dreier > > Zero out the full nvme_rdma_cm_req structure before sending it. > Otherwise we end up leaking kernel memory in the reserved field, which > might break forward compatibility in the future. > > Signed-off-by: Roland Dreier Looks fine, Reviewed-by: Christoph Hellwig From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/2] nvme-rdma: Don't leak uninitialized memory in connect request private data Date: Mon, 1 Aug 2016 13:07:44 +0200 Message-ID: <20160801110744.GG16141@lst.de> References: <1469950060-18098-1-git-send-email-roland@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1469950060-18098-1-git-send-email-roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Roland Dreier Cc: Jens Axboe , Christoph Hellwig , linux-nvme-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Sun, Jul 31, 2016 at 12:27:39AM -0700, Roland Dreier wrote: > From: Roland Dreier > > Zero out the full nvme_rdma_cm_req structure before sending it. > Otherwise we end up leaking kernel memory in the reserved field, which > might break forward compatibility in the future. > > Signed-off-by: Roland Dreier Looks fine, Reviewed-by: Christoph Hellwig -- 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