diff options
author | 2020-01-16 13:09:31 +0300 | |
---|---|---|
committer | 2020-01-16 14:22:32 +0100 | |
commit | cd77e75b5e4632d05d61fec5383052713c8ede2b (patch) | |
tree | 71683e0bc3c4cc4fb380baa4101c12d95ffcf816 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: nf_tables: remove WARN and add NLA_STRING upper limits (diff) | |
download | linux-dev-cd77e75b5e4632d05d61fec5383052713c8ede2b.tar.xz linux-dev-cd77e75b5e4632d05d61fec5383052713c8ede2b.zip |
netfilter: nf_tables: fix memory leak in nf_tables_parse_netdev_hooks()
Syzbot detected a leak in nf_tables_parse_netdev_hooks(). If the hook
already exists, then the error handling doesn't free the newest "hook".
Reported-by: syzbot+f9d4095107fc8749c69c@syzkaller.appspotmail.com
Fixes: b75a3e8371bc ("netfilter: nf_tables: allow netdevice to be used only once per flowtable")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions