commit | 842b4918f5073d373ad833415aa8885e9ec85062 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <[email protected]> | Sat Jun 08 17:22:49 2019 |
committer | Robert Kolchmeyer <[email protected]> | Sat Jun 22 00:35:45 2019 |
tree | a10e15a421a3e46188867a309c6f6c0cbeaca9ad | |
parent | cdcc03a9c33c2d483fa1142c57919042cca68d75 [diff] |
FROMGIT: 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 <[email protected]> Reported-by: Jonathan Lemon <[email protected]> Cc: Jonathan Looney <[email protected]> Acked-by: Neal Cardwell <[email protected]> Cc: Yuchung Cheng <[email protected]> Cc: Tyler Hicks <[email protected]> Cc: Bruce Curtis <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit 59222807fcc99951dc769cd50e132e319d73d699 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y) Signed-off-by: Robert Kolchmeyer <[email protected]> BUG=b:135494242 TEST=build and run Change-Id: I6c04a5c64dc3e79733c646cb47d736a3a19af95c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1670618 Reviewed-by: Sean Paul <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Tested-by: Robert Kolchmeyer <[email protected]>