[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZKOxwmDpdA+kx/Cy@gauss3.secunet.de>
Date: Tue, 4 Jul 2023 07:44:34 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Lin Ma <linma@....edu.cn>
CC: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <netdev@...r.kernel.org>, <salyzyn@...roid.com>
Subject: Re: [PATCH v1] net: af_key: fix sadb_x_filter validation
On Tue, Jun 27, 2023 at 11:39:54AM +0800, Lin Ma wrote:
> When running xfrm_state_walk_init(), the xfrm_address_filter being used
> is okay to have a splen/dplen that equals to sizeof(xfrm_address_t)<<3.
> This commit replaces >= to > to make sure the boundary checking is
> correct.
>
> Fixes: 37bd22420f85 ("af_key: pfkey_dump needs parameter validation")
> Signed-off-by: Lin Ma <linma@....edu.cn>
Also applied, thanks!
Powered by blists - more mailing lists