-
Dan Carpenter authored
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: b75a3e83 ("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>
cd77e75b