[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181030114843.GC2441@gauss3.secunet.de>
Date: Tue, 30 Oct 2018 12:48:43 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Wei Yongjun <weiyongjun1@...wei.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>, <netdev@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] xfrm: Fix error return code in xfrm_output_one()
On Sat, Oct 27, 2018 at 06:12:06AM +0000, Wei Yongjun wrote:
> xfrm_output_one() does not return a error code when there is
> no dst_entry attached to the skb, it is still possible crash
> with a NULL pointer dereference in xfrm_output_resume(). Fix
> it by return error code -EHOSTUNREACH.
>
> Fixes: 9e1437937807 ("xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied, thanks a lot!
Powered by blists - more mailing lists