From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Subject: Re: [PATCH] bluetooth: hidp: fix information leak to userland Date: Tue, 02 Nov 2010 16:36:29 +0100 Message-ID: <1288712189.3322.180.camel@aeonflux> References: <1288448791-6009-1-git-send-email-segooon@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Gustavo F. Padovan" , "David S. Miller" , Jiri Kosina , Michael Poole , Bastien Nocera , linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Vasiliy Kulikov Return-path: In-Reply-To: <1288448791-6009-1-git-send-email-segooon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-bluetooth-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org Hi Vasiliy, > Structure hidp_conninfo is copied to userland with version, product, > vendor and name fields unitialized if both session->input and session->hid > are NULL. It leads to leaking of contents of kernel stack memory. > > Signed-off-by: Vasiliy Kulikov Acked-by: Marcel Holtmann Regards Marcel