From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755404Ab1BNOfJ (ORCPT ); Mon, 14 Feb 2011 09:35:09 -0500 Received: from mail-gw0-f46.google.com ([74.125.83.46]:36851 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753758Ab1BNOfH (ORCPT ); Mon, 14 Feb 2011 09:35:07 -0500 Date: Mon, 14 Feb 2011 12:35:32 -0200 From: "Gustavo F. Padovan" To: Vasiliy Kulikov Cc: linux-kernel@vger.kernel.org, security@kernel.org, Marcel Holtmann , "David S. Miller" , Tejun Heo , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] bluetooth: bnep: fix buffer overflow Message-ID: <20110214143532.GA2597@joana> References: <1297680871-11617-1-git-send-email-segoon@openwall.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1297680871-11617-1-git-send-email-segoon@openwall.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vasiliy, * Vasiliy Kulikov [2011-02-14 13:54:31 +0300]: > Struct ca is copied from userspace. It is not checked whether the "device" > field is NULL terminated. This potentially leads to BUG() inside of > alloc_netdev_mqs() and/or information leak by creating a device with a name > made of contents of kernel stack. > > Signed-off-by: Vasiliy Kulikov > --- > Compile tested. > > net/bluetooth/bnep/sock.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Applied, thanks. -- Gustavo F. Padovan http://profusion.mobi