Marcelo Ricardo Leitner
0c5dc070ff
sctp: validate from_addr_param return
...
Ilja reported that, simply putting it, nothing was validating that
from_addr_param functions were operating on initialized memory. That is,
the parameter itself was being validated by sctp_walk_params, but it
doesn't check for types and their specific sizes and it could be a 0-length
one, causing from_addr_param to potentially work over the next parameter or
even uninitialized memory.
The fix here is to, in all calls to from_addr_param, check if enough space
is there for the wanted IP address type.
Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com >
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-06-28 15:34:50 -07:00
..
2020-11-19 17:21:34 +01:00
2021-04-08 12:26:34 +02:00
2021-06-03 15:05:06 -07:00
2021-01-28 20:36:21 -08:00
2021-05-24 17:49:57 +02:00
2021-04-26 03:20:47 +02:00
2021-05-17 13:56:29 -07:00
2021-06-28 15:34:50 -07:00
2021-03-13 14:18:09 -08:00
2021-04-08 13:47:33 -07:00
2021-04-27 14:02:06 -07:00
2021-04-23 10:17:26 +01:00
2021-01-18 20:48:40 -08:00
2021-03-26 17:43:55 +01:00
2020-12-01 15:51:19 +01:00
2021-05-11 20:13:03 +02:00
2020-11-23 13:31:54 -08:00
2021-04-24 00:58:53 -07:00
2021-04-27 14:10:15 -07:00
2021-03-10 12:24:18 -08:00
2021-03-14 14:46:32 -07:00
2021-06-28 14:24:06 -07:00
2021-04-19 12:25:11 +02:00
2021-01-21 13:33:45 +01:00
2021-01-21 13:33:45 +01:00
2021-02-12 16:31:46 -08:00
2021-01-29 20:39:14 -08:00
2021-03-18 19:51:12 -07:00
2021-02-23 11:29:52 -08:00
2020-11-06 11:01:01 +01:00
2021-03-26 15:14:56 -07:00
2021-01-27 18:18:15 -08:00
2021-03-15 14:34:29 -07:00
2020-12-14 18:38:58 -08:00
2020-12-12 15:08:54 -08:00
2020-11-23 16:32:33 -08:00
2021-02-08 16:47:03 -08:00
2021-06-28 12:42:14 -07:00
2021-02-08 16:47:03 -08:00
2020-11-19 19:08:46 -08:00
2021-02-04 18:37:57 -08:00
2021-06-28 12:42:14 -07:00
2020-11-19 10:49:50 -08:00
2021-03-30 13:29:39 -07:00
2021-03-11 16:09:21 -08:00
2021-03-23 14:14:50 -07:00
2021-05-31 21:40:17 +02:00
2021-06-24 12:41:12 -07:00
2021-03-26 15:14:56 -07:00
2021-04-07 14:09:39 -07:00
2020-11-13 14:24:39 -08:00
2021-06-15 11:00:45 -07:00
2020-11-16 08:08:54 -08:00
2021-03-28 17:53:39 -07:00
2021-05-14 19:41:32 -07:00
2021-05-25 15:36:42 -07:00
2021-05-14 15:05:46 -07:00
2021-03-14 15:00:43 -07:00
2021-03-25 17:40:43 -07:00
2020-11-23 18:36:21 -05:00
2021-04-08 13:52:36 -07:00
2021-06-21 11:51:41 -07:00
2021-04-28 14:06:45 -07:00
2021-06-10 14:12:54 -07:00
2021-04-16 15:15:45 -07:00
2021-04-12 17:34:27 +02:00
2021-06-01 15:58:05 -07:00
2021-02-04 18:37:14 -08:00
2021-04-12 17:34:27 +02:00
2020-11-17 22:07:40 +01:00
2021-03-10 01:06:34 +01:00
2021-02-04 01:00:07 +01:00
2021-06-01 07:54:09 +02:00
2021-06-18 16:57:19 +02:00