Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_…
…check() Commit 136e92b 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. Fixes: 136e92b ("[NETFILTER] CLUSTERIP: use a bitmap to store node responsibility data") Signed-off-by: Dmitry Vyukov <[email protected]> Reported-by: syzbot <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
- Loading branch information