[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120717.102834.1867582159031908463.davem@davemloft.net>
Date: Tue, 17 Jul 2012 10:28:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: paul@...l-moore.com
Cc: mlin@...pku.edu.cn, alan@...rguk.ukuu.org.uk,
netdev@...r.kernel.org
Subject: Re: Crash in CIPSO_V4_TAG_LOCAL handling
From: Paul Moore <paul@...l-moore.com>
Date: Tue, 17 Jul 2012 12:25:28 -0400
> On Sat, Jul 14, 2012 at 4:08 PM, David Miller <davem@...emloft.net> wrote:
>> From: Lin Ming <mlin@...pku.edu.cn>
>> Date: Sun, 15 Jul 2012 01:22:30 +0800
>>
>>> It's caused by below code added in commit 15c45f7b.
>>>
>>> case CIPSO_V4_TAG_LOCAL:
>>> /* This is a non-standard tag that we only allow for
>>> * local connections, so if the incoming interface is
>>> * not the loopback device drop the packet. */
>>> if (!(skb->dev->flags & IFF_LOOPBACK)) {
>>> err_offset = opt_iter;
>>> goto validate_return_locked;
>>> }
>>
>> Paul please fix this, as shown 'skb' can easily be NULL in this
>> code path.
>
> Just saw this ... I'll start looking into this today.
Thanks, sorry I messed up your email, I should have checked MAINTAINERS :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists