Re: [PATCH nf] netfilter: nft_rbtree: ignore inactive matching element with no descendants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On man, 2016-08-01 at 13:38 +0200, Pablo Neira Ayuso wrote:
> If we find a matching element that is inactive with no descendants,
> we
> jump to the found label, then crash because of nul-dereference on the
> left branch.
> 
> Fix this by checking that the element is active and not an interval
> end
> and skipping the logic that only applies to the tree iteration.
> 
> Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

I applied this on top of Linux 4.7 and verified that it solves the
kernel BUGs, I previously ran into with nftables sets.

Tested-by: Anders K. Pedersen <akp@xxxxxx>

Thanks,
Anders K. Pedersen
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux