[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200325105517.exoasd3vbzx2r3qh@salvia>
Date: Wed, 25 Mar 2020 11:55:17 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Paul Blakey <paulb@...lanox.com>
Cc: Oz Shlomo <ozsh@...lanox.com>, Majd Dibbiny <majd@...lanox.com>,
Roi Dayan <roid@...lanox.com>, netdev@...r.kernel.org,
Saeed Mahameed <saeedm@...lanox.com>,
netfilter-devel@...r.kernel.org
Subject: Re: [PATCH net-next] netfilter: flowtable: Fix accessing null dst
entry
On Wed, Mar 25, 2020 at 12:53:28PM +0200, Paul Blakey wrote:
> Unlink nft flow table flows, flows from act_ct tables don't have route,
> and so don't have a dst_entry. nf_flow_rule_match() tries to deref
> this null dst_entry regardless.
>
> Fix that by checking for dst entry exists, and if not, skip
> tunnel match.
This is fixed in nf-next:
https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git/commit/
I'll get this merged into net-next asap.
Powered by blists - more mailing lists