[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200724052618.GS20687@gauss3.secunet.de>
Date: Fri, 24 Jul 2020 07:26:18 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Mark Salyzyn <salyzyn@...roid.com>
CC: <linux-kernel@...r.kernel.org>, <kernel-team@...roid.com>,
<netdev@...r.kernel.org>, Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH v2] af_key: pfkey_dump needs parameter validation
On Wed, Jul 22, 2020 at 04:00:53AM -0700, Mark Salyzyn wrote:
> In pfkey_dump() dplen and splen can both be specified to access the
> xfrm_address_t structure out of bounds in__xfrm_state_filter_match()
> when it calls addr_match() with the indexes. Return EINVAL if either
> are out of range.
>
> Signed-off-by: Mark Salyzyn <salyzyn@...roid.com>
> Cc: netdev@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Cc: kernel-team@...roid.com
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Jakub Kicinski <kuba@...nel.org>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Applied, thanks a lot!
Powered by blists - more mailing lists