diff options
author | Eric Dumazet <edumazet@google.com> | 2019-06-08 10:22:49 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2019-06-20 18:11:29 +0100 |
commit | 7ce5a5796ca119c5c6935ea9f4e785f0cb7f39b7 (patch) | |
tree | 5153d440d53f303411d986bc3f7a50d2668ac513 /lib/prio_heap.c | |
parent | 6b7e7997ad3505db7de85ff12276fc84659481d3 (diff) |
tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
commit 967c05aee439e6e5d7d805e195b3a20ef5c433d6 upstream.
If mtu probing is enabled tcp_mtu_probing() could very well end up
with a too small MSS.
Use the new sysctl tcp_min_snd_mss to make sure MSS search
is performed in an acceptable range.
CVE-2019-11479 -- tcp mss hardcoded to 48
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Cc: Jonathan Looney <jtl@netflix.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Tyler Hicks <tyhicks@canonical.com>
Cc: Bruce Curtis <brucec@netflix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[Salvatore Bonaccorso: Backport for context changes in 4.9.168]
[bwh: Backported to 3.16: The sysctl is global]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'lib/prio_heap.c')
0 files changed, 0 insertions, 0 deletions