[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200805.122508.1983611145468632689.davem@davemloft.net>
Date: Wed, 05 Aug 2020 12:25:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, kuba@...nel.org, mptcp@...ts.01.org,
nicolas.rybowski@...sares.net
Subject: Re: [PATCH net] mptcp: be careful on subflow creation
From: Paolo Abeni <pabeni@...hat.com>
Date: Tue, 4 Aug 2020 18:31:06 +0200
> Nicolas reported the following oops:
...
> on some unconventional configuration.
>
> The MPTCP protocol is trying to create a subflow for an
> unaccepted server socket. That is allowed by the RFC, even
> if subflow creation will likely fail.
> Unaccepted sockets have still a NULL sk_socket field,
> avoid the issue by failing earlier.
>
> Reported-and-tested-by: Nicolas Rybowski <nicolas.rybowski@...sares.net>
> Fixes: 7d14b0d2b9b3 ("mptcp: set correct vfs info for subflows")
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied and queued up for v5.7+ -stable, thank you.
Powered by blists - more mailing lists