diff options
author | Florian Westphal <fw@strlen.de> | 2020-12-23 01:23:56 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-27 13:52:26 +0300 |
commit | 6cb56218ad9e580e519dcd23bfb3db08d8692e5a (patch) | |
tree | 5399252573123cb025b36d7065f38ae8b5d1058a /tools/perf/scripts/python/syscall-counts.py | |
parent | 1f45dc22066797479072978feeada0852502e180 (diff) | |
download | linux-6cb56218ad9e580e519dcd23bfb3db08d8692e5a.tar.xz |
netfilter: xt_RATEEST: reject non-null terminated string from userspace
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions