summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorEric Dumazet2019-06-08 19:22:49 +0200
committerDavid S. Miller2019-06-16 03:47:31 +0200
commit967c05aee439e6e5d7d805e195b3a20ef5c433d6 (patch)
tree564caa19735a085c9722d4fb8c184cc23dc7f012 /net/ipv4/tcp.c
parenttcp: add tcp_min_snd_mss sysctl (diff)
downloadkernel-qcow2-linux-967c05aee439e6e5d7d805e195b3a20ef5c433d6.tar.gz
kernel-qcow2-linux-967c05aee439e6e5d7d805e195b3a20ef5c433d6.tar.xz
kernel-qcow2-linux-967c05aee439e6e5d7d805e195b3a20ef5c433d6.zip
tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
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>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions