[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170214.130712.459629732733534046.davem@davemloft.net>
Date: Tue, 14 Feb 2017 13:07:12 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, dvyukov@...gle.com, tom@...bertland.com
Subject: Re: [Patch net] kcm: fix a null pointer dereference in
kcm_sendmsg()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Mon, 13 Feb 2017 11:13:16 -0800
> In commit 98e3862ca2b1 ("kcm: fix 0-length case for kcm_sendmsg()")
> I tried to avoid skb allocation for 0-length case, but missed
> a check for NULL pointer in the non EOR case.
>
> Fixes: 98e3862ca2b1 ("kcm: fix 0-length case for kcm_sendmsg()")
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
> Cc: Tom Herbert <tom@...bertland.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thanks.
Powered by blists - more mailing lists