[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170615115658.GG2631@secunet.com>
Date: Thu, 15 Jun 2017 13:56:58 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] xfrm: Oops on error in pfkey_msg2xfrm_state()
On Wed, Jun 14, 2017 at 01:34:05PM +0300, Dan Carpenter wrote:
> There are some missing error codes here so we accidentally return NULL
> instead of an error pointer. It results in a NULL pointer dereference.
>
> Fixes: df71837d5024 ("[LSM-IPSec]: Security association restriction.")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Patch applied, thanks!
Powered by blists - more mailing lists