Herbert Xu
0afa5f0736
ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
...
commit cb3e9864cdbe35ff6378966660edbcbac955fe17 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:58:19 +01:00
..
2022-06-09 21:53:28 +02:00
2023-01-12 12:02:36 +01:00
2022-12-31 13:33:02 +01:00
2022-08-25 10:33:21 +02:00
2022-10-15 11:08:36 +01:00
2022-08-22 17:55:50 -07:00
2022-09-22 13:02:10 -07:00
2022-12-31 13:33:05 +01:00
2022-12-31 13:32:14 +01:00
2022-11-15 13:38:11 +01:00
2023-01-12 12:02:33 +01:00
2022-12-07 10:30:47 +01:00
2022-10-16 15:27:07 -07:00
2023-01-12 12:01:57 +01:00
2022-11-22 20:15:37 -08:00
2022-12-31 13:32:29 +01:00
2022-08-25 10:33:21 +02:00
2022-12-31 13:33:03 +01:00
2022-12-31 13:32:22 +01:00
2022-10-07 09:29:17 +02:00
2023-01-12 12:02:33 +01:00
2023-01-18 11:58:19 +01:00
2022-06-10 16:21:27 -07:00
2022-11-15 12:42:26 +01:00
2022-11-22 07:14:55 +01:00
2022-11-23 12:45:19 +00:00
2022-06-09 21:52:55 -07:00
2022-12-31 13:32:20 +01:00
2022-12-05 09:53:08 +01:00
2022-12-31 13:32:56 +01:00
2022-08-29 13:02:27 +01:00
2023-01-12 12:01:58 +01:00
2022-08-29 12:47:15 +01:00
2023-01-18 11:58:09 +01:00
2022-08-29 12:47:15 +01:00
2022-10-27 08:20:21 -07:00
2023-01-12 12:02:03 +01:00
2022-12-31 13:32:59 +01:00
2022-11-29 08:30:18 -08:00
2022-08-29 12:47:15 +01:00
2022-08-15 11:21:42 +01:00
2022-10-11 17:42:58 -06:00
2022-11-02 11:57:30 +00:00
2022-12-31 13:32:55 +01:00
2023-01-14 10:33:43 +01:00
2022-12-31 13:32:28 +01:00
2022-11-02 20:42:09 -07:00
2022-07-08 18:38:44 -07:00
2023-01-14 10:33:42 +01:00
2022-06-09 21:52:55 -07:00
2022-12-07 11:32:04 +01:00
2022-12-31 13:32:20 +01:00
2022-12-31 13:32:54 +01:00
2022-12-31 13:32:26 +01:00
2022-12-31 13:32:20 +01:00
2022-11-15 20:22:19 -08:00
2022-10-03 17:44:18 -07:00
2022-11-23 19:18:59 -08:00
2022-09-20 08:23:20 -07:00
2022-08-22 14:26:30 +01:00
2022-09-20 14:23:56 -07:00
2022-08-22 14:26:30 +01:00
2022-10-06 16:55:41 -07:00