Re: [PATCH] netfilter: fix out-of-bounds accesses in clusterip_tg_check()
From: Pablo Neira Ayuso
Date: Wed Jan 31 2018 - 09:00:36 EST
On Tue, Jan 30, 2018 at 03:21:34PM +0100, Dmitry Vyukov wrote:
> Commit 136e92bbec0a switched local_nodes from an array to a bitmask
> but did not add proper bounds checks. As the result
> clusterip_config_init_nodelist() can both over-read
> ipt_clusterip_tgt_info.local_nodes and over-write
> clusterip_config.local_nodes.
>
> Add bounds checks for both.
Applied, thanks Dmitry.