[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230123211601.292930-1-pablo@netfilter.org>
Date: Mon, 23 Jan 2023 22:15:59 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: netfilter-devel@...r.kernel.org
Cc: davem@...emloft.net, netdev@...r.kernel.org, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com
Subject: [PATCH net 0/2] Netfilter fixes for net
Hi,
The following patchset contains Netfilter fixes for net:
1) Fix overlap detection in rbtree set backend: Detect overlap by going
through the ordered list of valid tree nodes. To shorten the number of
visited nodes in the list, this algorithm descends the tree to search
for an existing element greater than the key value to insert that is
greater than the new element.
2) Fix for the rbtree set garbage collector: Skip inactive and busy
elements when checking for expired elements to avoid interference
with an ongoing transaction from control plane.
This is a rather large fix coming at this stage of the 6.2-rc. Since
33c7aba0b4ff ("netfilter: nf_tables: do not set up extensions for end
interval"), bogus overlap errors in the rbtree set occur more frequently.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
Thanks.
----------------------------------------------------------------
The following changes since commit 71ab9c3e2253619136c31c89dbb2c69305cc89b1:
net: fix UaF in netns ops registration error path (2023-01-20 18:51:18 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git HEAD
for you to fetch changes up to 5d235d6ce75c12a7fdee375eb211e4116f7ab01b:
netfilter: nft_set_rbtree: skip elements in transaction from garbage collection (2023-01-23 21:38:33 +0100)
----------------------------------------------------------------
Pablo Neira Ayuso (2):
netfilter: nft_set_rbtree: Switch to node list walk for overlap detection
netfilter: nft_set_rbtree: skip elements in transaction from garbage collection
net/netfilter/nft_set_rbtree.c | 332 +++++++++++++++++++++++++----------------
1 file changed, 204 insertions(+), 128 deletions(-)
Powered by blists - more mailing lists