Florian Westphal
e27bf5d572
netfilter: xt_RATEEST: reject non-null terminated string from userspace
...
commit 6cb56218ad9e580e519dcd23bfb3db08d8692e5a upstream.
syzbot reports:
detected buffer overflow in strlen
[..]
Call Trace:
strlen include/linux/string.h:325 [inline]
strlcpy include/linux/string.h:348 [inline]
xt_rateest_tg_checkentry+0x2a5/0x6b0 net/netfilter/xt_RATEEST.c:143
strlcpy assumes src is a c-string. Check info->name before its used.
Reported-by: syzbot+e86f7c428c8c50db65b4@syzkaller.appspotmail.com
Fixes: 5859034d7eb8793 ("[NETFILTER]: x_tables: add RATEEST target")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-12 19:49:05 +01:00
..
2020-01-29 10:24:22 +01:00
2020-11-10 10:23:54 +01:00
2020-01-12 11:24:27 +01:00
2019-12-21 10:41:45 +01:00
2020-10-01 20:40:12 +02:00
2020-07-31 16:44:06 +02:00
2020-12-02 08:31:27 +01:00
2020-12-29 13:44:53 +01:00
2020-12-29 13:44:48 +01:00
2019-05-08 07:19:07 +02:00
2019-07-10 09:55:33 +02:00
2020-11-10 10:23:59 +01:00
2020-11-24 13:02:55 +01:00
2018-09-19 22:47:15 +02:00
2020-05-20 08:15:30 +02:00
2019-12-05 15:35:12 +01:00
2018-07-22 14:27:39 +02:00
2020-04-13 10:32:53 +02:00
2020-01-12 11:24:19 +01:00
2020-10-01 20:40:01 +02:00
2020-03-20 09:07:39 +01:00
2021-01-12 19:49:02 +01:00
2021-01-09 13:35:49 +01:00
2017-05-25 15:44:41 +02:00
2018-09-15 09:43:01 +02:00
2020-12-11 13:37:56 +01:00
2019-04-17 08:36:44 +02:00
2020-10-01 20:39:59 +02:00
2021-01-09 13:35:49 +01:00
2016-09-10 23:12:53 -07:00
2019-06-22 08:17:22 +02:00
2020-07-22 09:10:47 +02:00
2020-12-29 13:44:48 +01:00
2020-10-01 20:40:18 +02:00
2020-05-20 08:15:30 +02:00
2021-01-12 19:49:01 +01:00
2021-01-12 19:49:05 +01:00
2020-11-24 13:02:56 +01:00
2020-07-22 09:10:48 +02:00
2020-05-02 17:23:08 +02:00
2020-10-29 09:05:32 +01:00
2020-10-14 09:48:16 +02:00
2020-10-14 09:48:13 +02:00
2019-03-23 13:19:44 +01:00
2020-06-03 08:16:29 +02:00
2020-08-21 11:01:49 +02:00
2020-01-12 11:24:23 +01:00
2020-12-11 13:37:56 +01:00
2020-10-14 09:48:17 +02:00
2021-01-12 19:49:02 +01:00
2020-11-24 13:02:58 +01:00
2018-04-29 11:32:02 +02:00
2020-12-29 13:44:57 +01:00
2016-10-19 10:58:04 -04:00
2020-11-10 10:24:01 +01:00
2020-10-01 20:40:06 +02:00
2020-11-10 10:24:03 +01:00
2020-12-29 13:45:02 +01:00
2020-12-11 13:37:57 +01:00
2020-11-18 18:26:23 +01:00
2020-08-21 11:02:08 +02:00
2020-08-21 11:02:04 +02:00
2016-10-06 09:52:23 -07:00