Herbert Xu
cb3e9864cd
ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
...
The total cork length created by ip6_append_data includes extension
headers, so we must exclude them when comparing them against the
IPV6_CHECKSUM offset which does not include extension headers.
Reported-by: Kyle Zeng <zengyhkyle@gmail.com>
Fixes: 357b40a18b04 ("[IPV6]: IPV6_CHECKSUM socket option can corrupt kernel memory")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-11 12:49:13 +00:00
..
2022-08-29 12:47:15 +01:00
2022-11-15 10:46:34 +01:00
2022-06-09 21:52:55 -07:00
2022-12-13 15:47:48 -08:00
2022-11-07 12:26:15 +00:00
2022-11-21 13:05:39 +00:00
2022-09-29 07:17:59 +02:00
2021-03-04 15:26:57 -08:00
2022-12-13 09:49:29 +01:00
2022-11-29 20:50:51 -08:00
2022-10-03 07:52:13 +01:00
2022-04-13 13:09:57 +01:00
2022-02-08 20:41:34 -08:00
2022-07-13 12:56:49 +01:00
2020-11-23 18:36:21 -05:00
2022-09-20 10:21:49 -07:00
2022-02-04 20:24:45 -08:00
2022-08-29 12:47:15 +01:00
2022-11-16 12:42:00 +00:00
2022-10-11 17:42:58 -06:00
2022-11-16 12:48:44 +00:00
2021-02-23 11:29:52 -08:00
2022-07-15 18:50:35 -07:00
2022-12-12 15:41:44 -08:00
2022-12-07 20:14:35 -08:00
2022-11-16 12:48:44 +00:00
2022-11-16 12:48:44 +00:00
2022-12-25 13:38:09 -08:00
2022-09-29 07:18:00 +02:00
2022-10-24 09:40:39 +01:00
2022-07-15 16:43:59 +08:00
2021-09-28 13:13:40 +01:00
2021-04-27 14:02:06 -07:00
2022-11-18 02:15:15 +01:00
2022-09-29 07:18:01 +02:00
2022-08-15 11:40:28 +01:00
2022-05-16 13:03:29 +02:00
2022-11-18 02:15:22 +01:00
2022-10-24 09:40:38 +01:00
2020-11-09 15:34:44 -08:00
2023-01-11 12:49:13 +00:00
2022-10-31 20:14:26 -07:00
2022-11-18 02:15:15 +01:00
2020-12-08 16:22:54 -08:00
2022-06-28 21:23:30 -07:00
2022-07-29 12:14:03 +01:00
2022-10-28 20:13:54 -07:00
2022-09-08 18:38:30 +02:00
2022-11-16 12:48:44 +00:00
2022-07-18 12:21:54 +01:00
2022-05-03 10:15:06 +02:00
2022-12-01 15:53:05 -08:00
2021-11-16 13:16:54 +00:00
2022-10-12 17:50:37 -07:00
2022-12-12 09:29:56 +00:00
2022-11-16 09:43:35 +00:00
2022-10-12 17:50:37 -07:00
2022-03-01 12:08:40 +01:00
2022-11-22 07:16:34 +01:00
2022-09-29 07:18:00 +02:00