Re: [PATCH -stable,4.19.x] netfilter: nf_tables: validate family when identifying table via handle

Sasha Levin
2024-06-27T20:07:13Z

On Thu, Jun 27, 2024 at 02:41:11AM +0200, Pablo Neira Ayuso wrote:
>[ Upstream commit f6e1532a2697b81da00bfb184e99d15e01e9d98c ]
>
>Validate table family when looking up for it via NFTA_TABLE_HANDLE.
>
>Fixes: 3ecbfd65f50e ("netfilter: nf_tables: allocate handle and delete objects via handle")
>Reported-by: Xingyuan Mo <hdthky0@gmail.com>
>Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
>Signed-off-by: Sasha Levin <sashal@kernel.org>

Queued up, thanks!

--
Thanks,
Sasha