From: Chris Wright Subject: Re: [Security] [PATCH] infinite recursion in netlink Date: Wed, 25 Apr 2007 22:52:59 -0700 Message-ID: <20070426055259.GF2819@sequoia.sous-sol.org> References: <20070425183856.GA6028@ms2.inr.ac.ru> <20070426052912.GA17402@kroah.com> <20070425.223201.108808547.davem@davemloft.net> <20070426054420.GA18057@kroah.com> <20070426054842.GA18630@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Miller , kuznet@ms2.inr.ac.ru, security@kernel.org, torvalds@linux-foundation.org, jaco@kroon.co.za, netdev@vger.kernel.org To: Greg KH Return-path: Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:41373 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754745AbXDZFz2 (ORCPT ); Thu, 26 Apr 2007 01:55:28 -0400 Content-Disposition: inline In-Reply-To: <20070426054842.GA18630@kroah.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org * Greg KH (greg@kroah.com) wrote: > fyi, here's the patch that I applied, perhaps 2.6.20 needed something > else too? > @@ -809,7 +815,7 @@ static void nl_fib_input(struct sock *sk > > nl_fib_lookup(frn, tb); > > - pid = nlh->nlmsg_pid; /*pid of sending process */ > + pid = NETLINK_CB(skb).pid; /* pid of sending process */ That's the important bit. I'm testing against 2.6.20.8 right now.