summaryrefslogtreecommitdiff
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-04-11 23:42:11 +0300
committerJakub Kicinski <kuba@kernel.org>2023-04-13 19:58:55 +0300
commitc0ff6f6da66a7791a32c0234388b1bdc00244917 (patch)
tree497dbc31124fcf1c5548279c653fb401d371dd22 /tools/testing/selftests
parentd6a0443733434408f2cbd4c53fea6910599bab9e (diff)
downloadlinux-c0ff6f6da66a7791a32c0234388b1bdc00244917.tar.xz
mptcp: fix NULL pointer dereference on fastopen early fallback
In case of early fallback to TCP, subflow_syn_recv_sock() deletes the subflow context before returning the newly allocated sock to the caller. The fastopen path does not cope with the above unconditionally dereferencing the subflow context. Fixes: 36b122baf6a8 ("mptcp: add subflow_v(4,6)_send_synack()") Cc: stable@vger.kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions