[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210507075945.GB4320@salvia>
Date: Fri, 7 May 2021 09:59:45 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>,
netfilter-devel@...r.kernel.org, netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net 2/2] netfilter: nf_tables: avoid potential overflows
on 32bit arches
On Thu, May 06, 2021 at 05:53:50AM -0700, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> User space could ask for very large hash tables, we need to make sure
> our size computations wont overflow.
>
> nf_tables_newset() needs to double check the u64 size
> will fit into size_t field.
Also applied, thannks.
Powered by blists - more mailing lists