[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170208.135852.779430967423827569.davem@davemloft.net>
Date: Wed, 08 Feb 2017 13:58:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, andreyknvl@...gle.com, dvyukov@...gle.com
Subject: Re: [Patch net] ping: fix a null pointer dereference
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Tue, 7 Feb 2017 12:59:46 -0800
> Andrey reported a kernel crash:
...
> This is because we miss a check for NULL pointer for skb_peek() when
> the queue is empty. Other places already have the same check.
>
> Fixes: c319b4d76b9e ("net: ipv4: add IPPROTO_ICMP socket kind")
> Reported-by: Andrey Konovalov <andreyknvl@...gle.com>
> Tested-by: Andrey Konovalov <andreyknvl@...gle.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied and queued up for -stable, thanks Cong.
Powered by blists - more mailing lists