Florian Westphal 3e38df136e netfilter: nf_tables: fix oob access
BUG: KASAN: slab-out-of-bounds in nf_tables_rule_destroy+0xf1/0x130 at addr ffff88006a4c35c8
Read of size 8 by task nft/1607

When we've destroyed last valid expr, nft_expr_next() returns an invalid expr.
We must not dereference it unless it passes != nft_expr_last() check.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2016-12-14 23:39:06 +01:00
..
2016-12-03 23:54:25 -05:00
2016-11-30 12:33:07 +01:00
2016-11-14 13:17:21 -05:00
2016-12-09 22:59:05 -05:00
2016-10-20 11:23:08 -04:00
2016-12-10 17:25:58 -05:00
2016-12-09 22:59:05 -05:00