aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/crypto
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2020-05-29 17:49:18 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-30 21:54:03 -0700
commit39884604b11692158ce0c559fc603510b96f8c2e (patch)
treed802e6bb40168f200c990efbddaccafc538c725e /crypto
parentsch_cake: Take advantage of skb->hash where appropriate (diff)
downloadwireguard-linux-39884604b11692158ce0c559fc603510b96f8c2e.tar.xz
wireguard-linux-39884604b11692158ce0c559fc603510b96f8c2e.zip
mptcp: fix NULL ptr dereference in MP_JOIN error path
When token lookup on MP_JOIN 3rd ack fails, the server socket closes with a reset the incoming child. Such socket has the 'is_mptcp' flag set, but no msk socket associated - due to the failed lookup. While crafting the reset packet mptcp_established_options_mp() will try to dereference the child's master socket, causing a NULL ptr dereference. This change addresses the issue with explicit fallback to TCP in such error path. Fixes: 729cd6436f35 ("mptcp: cope better with MP_JOIN failure") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions