diff options
author | Paolo Abeni <[email protected]> | 2023-04-11 22:42:11 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-04-13 09:58:55 -0700 |
commit | c0ff6f6da66a7791a32c0234388b1bdc00244917 (patch) | |
tree | 497dbc31124fcf1c5548279c653fb401d371dd22 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d6a0443733434408f2cbd4c53fea6910599bab9e (diff) |
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: [email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions