Files
linux/net/ipv4
Hanjie Lin 8663100e9d RAVENPLAT-2379:OSS vulnerability found in [boot.img]:[linux_kernel] (CVE-2018-5390) Risk:[] [1/1]
PD#OTT-5669

[Problem]
Linux kernel versions 4.9+ can be forced to make very expensive calls
to tcp_collapse_ofo_queue() and tcp_prune_ofo_queue() for every incoming
packet which can lead to a denial of service.

[Solution]
Juha-Matti Tilli reported that malicious peers could inject tiny
packets in out_of_order_queue, forcing very expensive calls
to tcp_collapse_ofo_queue() and tcp_prune_ofo_queue() for
every incoming packet.
With tcp_rmem[2] default of 6MB, the ooo queue could
contain ~7000 nodes.
This patch series makes sure we cut cpu cycles enough to
render the attack not critical.
We might in the future go further, like disconnecting
or black-holing proven malicious flows.

[Test]

Change-Id: I09c72cd11a38516f3b6e293deb21c5dd0faa3d9e
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-09-17 23:17:53 -07:00
..
2018-04-13 19:48:32 +02:00
2017-11-18 11:22:22 +01:00
2018-01-02 20:45:15 +01:00
2016-10-20 14:32:22 -04:00
2017-12-20 10:51:15 +01:00
2018-09-04 19:03:37 -07:00
2018-09-03 03:57:50 -07:00
2018-05-25 17:06:35 +02:00
2018-05-19 14:06:17 +02:00
2018-01-02 20:45:15 +01:00
2018-05-30 13:19:56 +02:00
2017-11-18 17:25:57 +01:00
2018-06-26 09:32:02 +08:00
2017-05-14 14:00:21 +02:00
2018-05-25 17:06:35 +02:00
2017-06-17 06:41:49 +02:00
2019-07-29 04:09:18 -07:00
2018-05-19 14:06:17 +02:00
2018-05-30 13:19:56 +02:00