[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230705212929.GI3751@breakpoint.cc>
Date: Wed, 5 Jul 2023 23:29:29 +0200
From: Florian Westphal <fw@...len.de>
To: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Cc: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org,
Pablo Neira Ayuso <pablo@...filter.org>,
Florian Westphal <fw@...len.de>
Subject: Re: [PATCH v2] netfilter: nf_tables: prevent OOB access in
nft_byteorder_eval
Thadeu Lima de Souza Cascardo <cascardo@...onical.com> wrote:
> When evaluating byteorder expressions with size 2, a union with 32-bit and
> 16-bit members is used. Since the 16-bit members are aligned to 32-bit,
> the array accesses will be out-of-bounds.
>
> It may lead to a stack-out-of-bounds access like the one below:
Reviewed-by: Florian Westphal <fw@...len.de>
Powered by blists - more mailing lists