aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2020-12-22 22:23:56 +0000
committerPablo Neira Ayuso <[email protected]>2020-12-27 10:52:26 +0000
commit6cb56218ad9e580e519dcd23bfb3db08d8692e5a (patch)
tree5399252573123cb025b36d7065f38ae8b5d1058a /net/lapb/lapb_iface.c
parentibmvnic: continue fatal error reset after passive init (diff)
downloadkernel-6cb56218ad9e580e519dcd23bfb3db08d8692e5a.tar.gz
kernel-6cb56218ad9e580e519dcd23bfb3db08d8692e5a.zip
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: [email protected] Fixes: 5859034d7eb8793 ("[NETFILTER]: x_tables: add RATEEST target") Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions