Dan Carpenter 336f531ab1 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>
2020-07-15 20:15:19 +02:00
..
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-06-23 20:27:09 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2019-09-26 08:56:17 +02:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:40 -07:00
2020-07-01 15:49:11 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-06-27 14:00:22 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00