Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756795AbZDKIph (ORCPT ); Sat, 11 Apr 2009 04:45:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754858AbZDKIpY (ORCPT ); Sat, 11 Apr 2009 04:45:24 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42511 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754415AbZDKIpW (ORCPT ); Sat, 11 Apr 2009 04:45:22 -0400 Date: Sat, 11 Apr 2009 01:45:10 -0700 (PDT) Message-Id: <20090411.014510.196493199.davem@davemloft.net> To: vladislav.yasevich@hp.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ipv6: Fix NULL pointer dereference with time-wait sockets From: David Miller In-Reply-To: <1239334653-5412-1-git-send-email-vladislav.yasevich@hp.com> References: <200904072206.29396.edt@aei.ca> <1239334653-5412-1-git-send-email-vladislav.yasevich@hp.com> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) 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 Content-Length: 1321 Lines: 31 From: Vlad Yasevich Date: Thu, 9 Apr 2009 23:37:33 -0400 > Commit b2f5e7cd3dee2ed721bf0675e1a1ddebb849aee6 > (ipv6: Fix conflict resolutions during ipv6 binding) > introduced a regression where time-wait sockets were > not treated correctly. This resulted in the following: > > BUG: unable to handle kernel NULL pointer dereference at 0000000000000062 > IP: [] ipv4_rcv_saddr_equal+0x61/0x70 > ... > Call Trace: > [] ipv6_rcv_saddr_equal+0x1bb/0x250 [ipv6] > [] inet6_csk_bind_conflict+0x88/0xd0 [ipv6] > [] inet_csk_get_port+0x1ee/0x400 > [] inet6_bind+0x1cf/0x3a0 [ipv6] > [] ? sockfd_lookup_light+0x3c/0xd0 > [] sys_bind+0x89/0x100 > [] ? trace_hardirqs_on_thunk+0x3a/0x3c > [] system_call_fastpath+0x16/0x1b > > Tested-by: Brian Haley > Tested-by: Ed Tomlinson > Signed-off-by: Vlad Yasevich Applied, thanks Vlad. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/