Searched hist:"20 b5759f21cf53a0e03031bd3fe539e332b13568" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/mptcp/ |
H A D | sockopt.c | diff 20b5759f21cf53a0e03031bd3fe539e332b13568 Tue May 25 16:23:10 CDT 2021 Paolo Abeni <pabeni@redhat.com> mptcp: avoid OOB access in setsockopt()
We can't use tcp_set_congestion_control() on an mptcp socket, as such function can end-up accessing a tcp-specific field - prior_ssthresh - causing an OOB access.
To allow propagating the correct ca algo on subflow, cache the ca name at initialization time.
Additionally avoid overriding the user-selected CA (if any) at clone time.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/182 Fixes: aa1fbd94e5c7 ("mptcp: sockopt: add TCP_CONGESTION and TCP_INFO") Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | protocol.h | diff 20b5759f21cf53a0e03031bd3fe539e332b13568 Tue May 25 16:23:10 CDT 2021 Paolo Abeni <pabeni@redhat.com> mptcp: avoid OOB access in setsockopt()
We can't use tcp_set_congestion_control() on an mptcp socket, as such function can end-up accessing a tcp-specific field - prior_ssthresh - causing an OOB access.
To allow propagating the correct ca algo on subflow, cache the ca name at initialization time.
Additionally avoid overriding the user-selected CA (if any) at clone time.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/182 Fixes: aa1fbd94e5c7 ("mptcp: sockopt: add TCP_CONGESTION and TCP_INFO") Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | protocol.c | diff 20b5759f21cf53a0e03031bd3fe539e332b13568 Tue May 25 16:23:10 CDT 2021 Paolo Abeni <pabeni@redhat.com> mptcp: avoid OOB access in setsockopt()
We can't use tcp_set_congestion_control() on an mptcp socket, as such function can end-up accessing a tcp-specific field - prior_ssthresh - causing an OOB access.
To allow propagating the correct ca algo on subflow, cache the ca name at initialization time.
Additionally avoid overriding the user-selected CA (if any) at clone time.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/182 Fixes: aa1fbd94e5c7 ("mptcp: sockopt: add TCP_CONGESTION and TCP_INFO") Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|