Eric Dumazet
02b2faaf0a
tcp: fix various issues for sockets morphing to listen state
...
Dmitry Vyukov reported a divide by 0 triggered by syzkaller, exploiting
tcp_disconnect() path that was never really considered and/or used
before syzkaller ;)
I was not able to reproduce the bug, but it seems issues here are the
three possible actions that assumed they would never trigger on a
listener.
1) tcp_write_timer_handler
2) tcp_delack_timer_handler
3) MTU reduction
Only IPv6 MTU reduction was properly testing TCP_CLOSE and TCP_LISTEN
states from tcp_v6_mtu_reduced()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-07 13:58:33 -08:00
..
2017-02-27 18:43:47 -08:00
2017-02-15 09:39:39 +01:00
2017-01-16 12:57:48 +01:00
2017-02-13 22:15:03 -05:00
2017-02-04 19:44:22 -05:00
2015-07-29 22:44:04 -07:00
2017-03-02 08:42:32 +01:00
2017-02-15 11:04:11 +01:00
2017-01-17 10:23:08 +01:00
2017-03-01 10:25:56 -08:00
2015-07-24 22:46:11 -07:00
2016-09-28 04:48:00 -04:00
2017-02-08 15:25:18 -05:00
2017-02-27 18:43:47 -08:00
2016-10-30 12:42:58 -04:00
2016-06-30 05:03:36 -04:00
2016-10-20 14:32:22 -04:00
2017-01-09 15:49:12 -05:00
2017-02-09 16:43:45 -05:00
2017-01-20 14:35:51 -05:00
2017-01-13 22:37:16 -05:00
2016-06-05 22:56:42 -04:00
2017-01-18 13:04:29 -05:00
2016-12-29 11:38:31 -05:00
2015-08-28 13:32:36 -07:00
2016-11-03 16:10:26 -04:00
2016-04-27 22:48:23 -04:00
2016-12-24 11:46:01 -08:00
2016-09-16 04:24:07 -04:00
2016-12-24 11:46:01 -08:00
2017-02-11 21:25:18 -05:00
2017-02-21 12:23:53 -05:00
2017-01-30 15:14:22 -05:00
2016-11-18 10:59:15 -05:00
2016-11-18 10:59:15 -05:00
2015-04-03 12:11:15 -04:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:47 -08:00
2017-02-16 21:25:49 -05:00
2017-02-15 11:04:11 +01:00
2017-02-28 12:49:36 +01:00
2017-02-11 02:31:11 -05:00
2017-02-02 23:34:19 -05:00
2014-09-19 17:15:31 -04:00
2016-11-03 15:25:26 -04:00
2017-02-07 13:07:47 -05:00
2017-02-26 11:03:38 -05:00
2017-01-09 13:58:57 -05:00
2017-01-30 15:00:58 -05:00
2016-10-29 17:12:43 -04:00
2016-05-11 14:43:19 -04:00
2017-03-02 08:42:27 +01:00
2016-11-22 13:27:16 -05:00
2016-05-11 14:43:19 -04:00
2016-12-06 11:34:24 -05:00
2016-08-23 23:11:36 -07:00
2017-01-28 10:33:06 -05:00
2016-11-21 13:20:17 -05:00
2016-05-11 14:43:19 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-03-01 15:03:31 -08:00
2017-03-07 13:58:33 -08:00
2016-11-21 13:20:17 -05:00
2017-02-07 13:07:46 -05:00
2017-02-22 16:35:58 -05:00
2016-06-10 23:07:49 -07:00
2016-09-19 20:59:34 -04:00
2017-02-17 15:30:33 -05:00
2017-02-21 13:26:03 -05:00
2016-09-21 00:23:00 -04:00
2017-01-13 22:37:16 -05:00
2016-11-21 13:20:17 -05:00
2017-03-07 13:58:33 -08:00
2016-11-21 13:20:17 -05:00
2016-05-11 14:43:19 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-03-02 14:05:41 -08:00
2016-07-11 13:27:06 -07:00
2016-09-08 16:13:09 -07:00
2016-11-24 15:32:14 -05:00
2016-10-20 14:32:22 -04:00
2016-06-17 20:23:32 -07:00
2017-02-07 16:29:30 -05:00
2016-11-24 15:32:14 -05:00
2017-02-15 11:04:11 +01:00
2013-12-26 13:43:21 -05:00
2017-02-15 11:04:11 +01:00
2015-03-25 14:07:04 -04:00
2015-10-24 06:54:12 -07:00
2017-02-09 10:22:19 +01:00
2017-02-09 10:22:17 +01:00
2017-01-10 10:57:12 +01:00
2013-05-31 17:19:05 -07:00