commit | 59136aa3b2649796a3a1fd90158675f1f640ce0e | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Tue Aug 11 19:39:09 2020 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Aug 13 04:17:46 2020 +0200 |
tree | 089f379fd710cc74199b32745bd6f22e102d2cea | |
parent | 2404b73c3f1a5f15726c6ecd226b56f6f992767f [diff] |
netfilter: nf_tables: free chain context when BINDING flag is missing syzbot found a memory leak in nf_tables_addchain() because the chain object is not free'd correctly on error. Fixes: d0e2c7de92c7 ("netfilter: nf_tables: add NFT_CHAIN_BINDING") Reported-by: syzbot+c99868fde67014f7e9f5@syzkaller.appspotmail.com Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>