Stefan Hajnoczi 4240be4563 rtl8139: skip offload on short TCP header (CVE-2015-5165)
TCP Large Segment Offload accesses the TCP header in the packet.  If the
packet is too short we must not attempt to access header fields:

  tcp_header *p_tcp_hdr = (tcp_header*)(eth_payload_data + hlen);
  int tcp_hlen = TCP_HEADER_DATA_OFFSET(p_tcp_hdr);

Reported-by: 朱东海(启路) <donghai.zdh@alibaba-inc.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-08-03 13:08:07 +01:00
..
2015-07-27 18:11:53 +03:00
2015-07-20 17:47:24 +01:00
2015-07-27 18:11:53 +03:00
2015-07-13 13:35:51 +01:00
2015-07-28 17:09:56 +01:00
2015-07-27 18:11:53 +03:00
2015-07-08 10:09:55 +03:00
2015-06-23 19:57:28 +03:00
2015-07-14 19:10:03 +02:00
2015-07-28 17:09:56 +01:00
2015-07-27 14:12:18 +01:00
2015-07-22 14:56:01 -06:00
2015-07-27 18:11:53 +03:00
2015-06-23 18:25:55 +01:00