[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081001.021342.170858723.davem@davemloft.net>
Date: Wed, 01 Oct 2008 02:13:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: den@...nvz.org
Cc: xemul@...nvz.org, vgusev@...nvz.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-2.6] ipv6: NULL pointer dereferrence in
tcp_v6_send_ack
From: "Denis V. Lunev" <den@...nvz.org>
Date: Wed, 1 Oct 2008 13:11:57 +0400
> The following actions are possible:
> tcp_v6_rcv
> skb->dev = NULL;
> tcp_v6_do_rcv
> tcp_v6_hnd_req
> tcp_check_req
> req->rsk_ops->send_ack == tcp_v6_send_ack
>
> So, skb->dev can be NULL in tcp_v6_send_ack. We must obtain namespace
> from dst entry.
>
> Thanks to Vitaliy Gusev <vgusev@...nvz.org> for initial problem finding
> in IPv4 code.
>
> Signed-off-by: Denis V. Lunev <den@...nvz.org>
Applied, thanks for resending this part for me.
--
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