From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755144AbcA1OQh (ORCPT ); Thu, 28 Jan 2016 09:16:37 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:58496 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbcA1OQf (ORCPT ); Thu, 28 Jan 2016 09:16:35 -0500 Date: Thu, 28 Jan 2016 14:15:57 +0000 From: One Thousand Gnomes To: Eric Dumazet Cc: Zhouyi Zhou , Zhouyi Zhou , pablo@netfilter.org, kaber@trash.net, kadlec@blackhole.kfki.hu, davem@davemloft.net, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] netfilter: h323: avoid potential attack Message-ID: <20160128141557.74ad75f0@lxorguk.ukuu.org.uk> In-Reply-To: <1453989650.7627.30.camel@edumazet-glaptop2.roam.corp.google.com> References: <1453971597-4811-1-git-send-email-zhouzhouyi@gmail.com> <1453985821.7627.17.camel@edumazet-glaptop2.roam.corp.google.com> <1453989650.7627.30.camel@edumazet-glaptop2.roam.corp.google.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Jan 2016 06:00:50 -0800 Eric Dumazet wrote: > On Thu, 2016-01-28 at 21:14 +0800, Zhouyi Zhou wrote: > > > My patch is intend to prevent kernel panic, to prevent reading garbage > > or read data from a prior frame and leak secrets, the prototypes of the > > get_h2x5_addr functions and the functions that call get_h2x5_addr should > > be changed, should we do this? > > In term of security, panics are better than allowing attacker to read > data from other people, like a password. > > BTW, are you able to trigger any panic ? We have a smattering of panics in this code in bugzilla going back years. https://bugzilla.kernel.org/show_bug.cgi?id=12473 etc Alan