summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-01-16 09:06:50 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2020-01-16 14:22:32 +0100
commit9332d27d7918182add34e8043f6a754530fdd022 (patch)
tree63af34b5845690d5c2d4216b77986b4595cac639 /net/core
parent9ec22d7c6c69146180577f3ad5fdf504beeaee62 (diff)
downloadlinux-9332d27d7918182add34e8043f6a754530fdd022.tar.bz2
netfilter: nf_tables: remove WARN and add NLA_STRING upper limits
This WARN can trigger because some of the names fed to the module autoload function can be of arbitrary length. Remove the WARN and add limits for all NLA_STRING attributes. Reported-by: syzbot+0e63ae76d117ae1c3a01@syzkaller.appspotmail.com Fixes: 452238e8d5ffd8 ("netfilter: nf_tables: add and use helper for module autoload") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions