diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-07-14 13:56:22 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-07-15 20:15:19 +0200 |
commit | 336f531ab17c3f480f8289d26c35bd48302ed085 (patch) | |
tree | 98fff2d8afd4a89e15f7571368c935beb791be2a /.cocciconfig | |
parent | 4ff91fa0a3acd072c9a46ebe08a6e2471ddd3c95 (diff) |
netfilter: nf_tables: Fix a use after free in nft_immediate_destroy()
The nf_tables_rule_release() function frees "rule" so we have to use
the _safe() version of list_for_each_entry().
Fixes: d0e2c7de92c7 ("netfilter: nf_tables: add NFT_CHAIN_BINDING")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions