[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zqqy0e3R_Z4qnl8S@calendula>
Date: Wed, 31 Jul 2024 23:55:29 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
Kuniyuki Iwashima <kuni1840@...il.com>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v1 nf 0/2] netfilter: iptables: Fix null-ptr-deref in
ip6?table_nat_table_init().
On Thu, Jul 25, 2024 at 12:28:19PM -0700, Kuniyuki Iwashima wrote:
> We had a report that iptables-restore sometimes triggered null-ptr-deref
> at boot time.
>
> The problem is that iptable_nat_table_init() is exposed to user space too
> early and accesses net->gen->ptr[iptable_nat_net_ops.id] before allocated.
>
> Patch 1 fixes the issue in iptable_nat, and patch 2 applies the same fix
> to ip6table_nat.
Series applied and PR sent to netdev including these fixes, thanks.
Powered by blists - more mailing lists