[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170803110547.GL2631@secunet.com>
Date: Thu, 3 Aug 2017 13:05:47 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Vladis Dronov <vdronov@...hat.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <stable@...r.kernel.org>
Subject: Re: [PATCH] xfrm: policy: check policy direction value
On Wed, Aug 02, 2017 at 07:50:14PM +0200, Vladis Dronov wrote:
> The 'dir' parameter in xfrm_migrate() is a user-controlled byte which is used
> as an array index. This can lead to an out-of-bound access, kernel lockup and
> DoS. Add a check for the 'dir' value.
>
> This fixes CVE-2017-11600.
>
> References: https://bugzilla.redhat.com/show_bug.cgi?id=1474928
> Fixes: 80c9abaabf42 ("[XFRM]: Extension for dynamic update of endpoint address(es)")
> Cc: <stable@...r.kernel.org> # v2.6.21-rc1
> Reported-by: "bo Zhang" <zhangbo5891001@...il.com>
> Signed-off-by: Vladis Dronov <vdronov@...hat.com>
Applied to the ipsec tree, thanks!
Powered by blists - more mailing lists