From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] ip6_tunnel: fix potential NULL pointer dereference Date: Fri, 09 May 2014 13:12:23 -0400 (EDT) Message-ID: <20140509.131223.649558454524140168.davem@davemloft.net> References: <1399660892-19008-1-git-send-email-susant@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, tgraf@suug.ch To: susant@redhat.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:38263 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757105AbaEIRMY (ORCPT ); Fri, 9 May 2014 13:12:24 -0400 In-Reply-To: <1399660892-19008-1-git-send-email-susant@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Susant Sahani Date: Sat, 10 May 2014 00:11:32 +0530 > The function ip6_tnl_validate assumes that the rtnl > attribute IFLA_IPTUN_PROTO always be filled . If this > attribute is not filled by the userspace application > kernel get crashed with NULL pointer dereference. This > patch fixes the potential kernel crash when > IFLA_IPTUN_PROTO is missing . > > Signed-off-by: Susant Sahani > Acked-by: Thomas Graf You really need to fix the date on your computer, it was not Saturday May 10th when you submitted this patch.