[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240112193628.GD392144@kernel.org>
Date: Fri, 12 Jan 2024 19:36:28 +0000
From: Simon Horman <horms@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Matthieu Baerts <matttbe@...nel.org>,
Mat Martineau <martineau@...nel.org>,
Geliang Tang <geliang.tang@...ux.dev>,
Florian Westphal <fw@...len.de>, netdev@...r.kernel.org,
eric.dumazet@...il.com,
Peter Krystad <peter.krystad@...ux.intel.com>
Subject: Re: [PATCH net 2/5] mptcp: strict validation before using
mp_opt->hmac
On Thu, Jan 11, 2024 at 07:49:14PM +0000, Eric Dumazet wrote:
> mp_opt->hmac contains uninitialized data unless OPTION_MPTCP_MPJ_ACK
> was set in mptcp_parse_option().
>
> We must refine the condition before we call subflow_hmac_valid().
>
> Fixes: f296234c98a8 ("mptcp: Add handling of incoming MP_JOIN requests")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists