Article View: linux.kernel.netdev
Article #10514Re: [PATCH net 00/15] Netfilter/IPVS fixes for net
From: Matthieu Baerts
Date: Tue, 03 Nov 2026 15:30
Date: Tue, 03 Nov 2026 15:30
92 lines
14849 bytes
14849 bytes
Hi Pablo, On 03/11/2026 14:47, Pablo Neira Ayuso wrote: > On Tue, Nov 03, 2026 at 02:44:57PM +0100, Pablo Neira Ayuso wrote: >> On Tue, Nov 03, 2026 at 01:27:30PM +0100, Matthieu Baerts wrote: >>> Hi Paolo, Pablo, >>> >>> On 03/11/2026 13:04, Paolo Abeni wrote: >>>> On 11/2/26 01:56, Pablo Neira Ayuso wrote: >>>>> Hi, >>>>> >>>>> The following batch contains Netfilter/IPVS fixes for net: >>>>> >>>>> 1) Add recursion count to nf_reject infrastructure to prevent stack >>>>> overflow, from Fernando F. Mancera. >>>>> >>>>> 2) Address a infinite loop in RCU list traversal with the TWOS IPVS >>>>> scheduler, from Darong Lu and Julian Anastasov. >>>>> >>>>> 3) Use kfree_rcu() to release IPVS parent application to fix UaF, >>>>> from Chengfeng Ye. >>>>> >>>>> 4) Fix UaF in IPVS netns removal path due to releasing per-net protocol >>>>> data too early, from Chengfeng Ye. >>>>> >>>>> 5) Fix unbounded growth of stale, unmatchable IPVS connection entries, >>>>> from Julian Anastasov. >>>>> >>>>> 6) Restrict maximum master conntrack chain depth in ctnetlink, >>>>> from Florian Westphal. >>>>> >>>>> 7) Preserve recursion count on nfqueue reinjection, from Zihan Xi. >>>>> >>>>> 8) Restore GRE timeout in the flowtable, otherwise, WARN_ON_ONCE() >>>>> is reachable, from Michail Andreas Michalopoulos. >>>>> >>>>> 9) Check non-null gc transaction in nft_rbtree before queuing it for >>>>> processing, from Xingyuan Mo. >>>>> >>>>> 10) Replace WARN_ON_ONCE() by DEBUG_NET_WARN_ON_ONCE() in >>>>> nf_conntrack_bridge which is reachable if the protocol of the tag >>>>> of a frame differs from the vlan_protocol of the bridge. >>>>> From Laveesh Bansal. >>>>> >>>>> 11) Check x_tables target name is non-null before accessing it when >>>>> building a new table, from Fernando F. Mancera. >>>>> >>>>> 12) Fix out-of-bound memory read in nf_conntrack_sip, from >>>>> Joas Antonio Dos Santos. >>>>> >>>>> 13) Fix a memleak in nf_tables hardware offload when double deleting >>>>> the same rule, in the same batch. >>>>> >>>>> 14) Use a mutex in xt_recent netns exit path instead of spinlock, >>>>> since proc unregistration might sleep. From Cen Zhang. >>>>> >>>>> 15) Zero the nf_nat_range2 struct before filling it up, to avoid >>>>> using stale uninitialized stack data to configure NAT with >>>>> an esoteric NAT flags combination. From Florian Westphal. >>>>> >>>>> Please, pull these changes from: >>>>> >>>>> git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git >>>>> nf-26-11-02 >>>> I'm sorry, but something went very wrong on the nipa side: the tools did >>>> not pick this PR. Do you mind repost it verbatim? >>> >>> It looks like the patches have not been tested, because of the kdoc >>> issue on patch 6/15: >>> >>> https://netdev-ctrl.bots.linux.dev/logview.html?f=/logs/build/1198360/14931104/kdoc/stdout >> >> I routinely run checkpath.pl, I will re-check what happened here. > > Well, here I have a script that contains checkpatch.pl and the > following call as well: > > $ scripts/kernel-doc -none net/netfilter/nf_conntrack_expect.c > > but it shows nothing here. NIPA uses "-Wall". With it, we can see the issue: $ scripts/kernel-doc -Wall -none net/netfilter/nf_conntrack_expect.c Warning: net/netfilter/nf_conntrack_expect.c:311 No description found for return value of 'nf_ct_expect_alloc' Warning: net/netfilter/nf_conntrack_expect.c:311 No description found for return value of 'nf_ct_expect_alloc' (And with -Werror, the script returns a non-zero RC code.) Cheers, Matt
Technical Details
Message-ID:
<2cd43496-dc97-470f-922a-65bcbbb40529@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355767-linux-kernel-netdev=dewy.ruReferences:
<20261102005654.532438-1-pablo@netfilter.org> <b452b25b-37fd-48ab-a88c-feec6b82e9ec@redhat.com> <5dc1159d-e577-442f-a7b2-8d5dcc8cfb01@kernel.org> <aunlVk2Cn7ocgANE@chamomile> <aunmABdLpFILZvGt@chamomile>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355767-linux-kernel-netdev=dewy.ru From: matttbe@kernel.org (Matthieu Baerts) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 00/15] Netfilter/IPVS fixes for net Date: Tue, 3 Nov 2026 16:30:13 +0100 Organization: Usenet Network Message-ID: <2cd43496-dc97-470f-922a-65bcbbb40529@kernel.org> References: <20261102005654.532438-1-pablo@netfilter.org> <b452b25b-37fd-48ab-a88c-feec6b82e9ec@redhat.com> <5dc1159d-e577-442f-a7b2-8d5dcc8cfb01@kernel.org> <aunlVk2Cn7ocgANE@chamomile> <aunmABdLpFILZvGt@chamomile> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3206602"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cVVX0C4Po3jg6xNFVoe6gDxoF+I= sha256:rpHKW2Uva0sw+VKuDqin7uc5q9p4DG7vMPXoaWyX/v8= sha1:JZcqLlmwVtyA/XcwVRc9hzbSRh4= sha256:CRDebU7GRVmoYIl1obNBfY8urMf5fXQsLLvQTalD+Z0= Content-Language: fr List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id B92101128C3; Tue, 3 Nov 2026 19:09:48 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cRbJalqtqD2A; Tue, 3 Nov 2026 19:09:45 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-355767-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 85FA7112941; Tue, 3 Nov 2026 19:09:32 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 347EA64966; Tue, 3 Nov 2026 15:30:44 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793719827; b=OTNB2zFMx0w97QrZyGDn4E2K2xUJwKJ7n/+akkZHGYR64pfuMnIgXCDNn3iXWXbWRAV9 skv4mIqsQ1G9YvmBHKVFbqFQcS/EJdxIWP7GA+ZDn5fw0YODJZTNrUke1Wc73Vz9PhaYA AsUjuyHvzeXvJTt3gQULfopnki3VGdVxemyuqRfUU/Kyu428tDYZD+rUV4eUtRYSmb67P xgpU3i7D/3WttmmghNM3aSOCO6P5lyTKwYFVxgaZ4zITDY0URcf0p8n2e1ibHDyJVijtL zof8DrI5m9vSJdOYnI2wFm++kxUfeVPhufiwyDjiNZnbIlv7ZToPEGegEnn/W5Nx9aA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793719827; h=X-Original-To:Received:Received:DKIM-Signature:Message-ID:Date: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:Autocrypt:Organization: In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=wqMUZYGt8/JtXCLQ/OJktfmQmPOAqO+arF6Ph52aKFc=; b=boFrperms74MUCRO1uby0dZjSXUw6spp7qhuby9BbpFh8Q+rtwIt6thoZch3xJW0Trm4 gah0hhstTzdzJ1cXe82b4akXrQCYNGhBiMrE6cecWgVeOjZfkweb9u8Cw6tz4ZP7eoScH gEtQJJFH8o9upxbdNJjfRWUClTNzAXbblIdAQt2n2+36M+CII6UUEPyzKy4t/fMSfmM6n 0GwOM9HFgeHfQ21Ub5/kQYF73JIe6dMV5oyTRK6D20GETYPGZW8r6FZvNT+7X4qQacnbk zaVEqOj50LNwx3jBbAZWlw4H+3m5e6/3lpxHRkUymts3eqv18qlXc6/erhwAEoNjdKg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hcWXlv+9; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A915F606D816; Tue, 3 Nov 2026 15:30:27 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hcWXlv+9 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793719821; b=JRvu7zxEB8xYFvaZDNbucTgt1CZvrl0I+1HqxtcrZ8KCLotJYI7n0vfgGsq79HpfMNiA HMwLjLYXwftyxntR7w/G1j4uh6wfReRwWbSqv00O/+V28pWhop6q++yAqDxbN0Zepr4sd uLUtd/9aApkOrRoW26xadI0c0zAfKebeFeTfxv8UN7TJB7ZcG70gMFb5ohA69Sdt85LUF DqdmFygPwXM/VmeRQIfwZsECKiD+hGjqdOcyvnEDYxCWv7oq1FK4BprZwxQ2W7xS3kLy2 KeFek7KWzIQEZSACBJgVG5hqPdymSuLb9bXDwPstFnE9vkE9P00NjjMF/Z8WAHImB0Q== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793719821; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:Autocrypt:Organization: In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=wqMUZYGt8/JtXCLQ/OJktfmQmPOAqO+arF6Ph52aKFc=; b=R2veC8cL+GNss9f2IFFfNubnUAJr6pIJt1VdyocpU6Oq3xuV8IHij+chhL7jjPHSD0XL 4puih06NqEAkiB8dkHIN8WJluMr7+ygJ6Qha7tkkmW+vWfOp46fErRlhoe8bsFv6J6tsq H7tQBjNqjj/g11hZjP6Brn8h6Qu6Zs83DCIs8mItnhqdNwMD6kQi4jz0IEro4jXpyNalY bkLRhtmIf6WEgmYmhDppbJvyBuHfKismKKlB1VWicQEI5kkiHm+y7AEbUKXlAEAO6OmjY JTM5J7niYNWS+8fOYO7l+F9oL7GyK8V8JkAMmiq8Z43Q9G89xe7tIlM2fxsyZIGIong== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hcWXlv+9; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83970606A327; Tue, 3 Nov 2026 15:30:21 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 841141F00A1A; Tue, 3 Nov 2026 15:30:16 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793719821; bh=wqMUZYGt8/JtXCLQ/OJktfmQmPOAqO+arF6Ph52aKFc=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=hcWXlv+9oWPyFioJIa6usTvwkrkRKDynR3Vu9DHd42MtZSKHdt3+cpP26KoV5K2g1 vPRneIZHt5iRJwGZycjZcjBZH6qMHiW2oJmsJjEVZ0yEpfKxUALmWhHCJROFakvqUn VFiWDOTLaWLkbUw7LQpc4zPFC1iOFjeUhrMRpu4zjOT2yqum3gI/3a9RzRwEkl4J0X 4aTlzW39ke1wCsEOWixGdIHETUhR9rx8sB+Cygb2pLOakzV68Dvd3QK4repYfU+W2T 4k6JyxjwNYbDKQXjc5WmxqQ0aEIrtJlHbo64ODNt5wBwx9iIf+Nirl4xIVfteljJbS VmJv4U1hBhdZA== X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-User-Agent: Mozilla Thunderbird Beta X-Cc: Paolo Abeni <pabeni@redhat.com>, netfilter-devel@vger.kernel.org, davem@davemloft.net, netdev@vger.kernel.org, kuba@kernel.org, edumazet@kernel.org, horms@kernel.org, fw@strlen.de, ja@ssi.bg X-Autocrypt: addr=matttbe@kernel.org; keydata= xsFNBFXj+ekBEADxVr99p2guPcqHFeI/JcFxls6KibzyZD5TQTyfuYlzEp7C7A9swoK5iCvf YBNdx5Xl74NLSgx6y/1NiMQGuKeu+2BmtnkiGxBNanfXcnl4L4Lzz+iXBvvbtCbynnnqDDqU c7SPFMpMesgpcu1xFt0F6bcxE+0ojRtSCZ5HDElKlHJNYtD1uwY4UYVGWUGCF/+cY1YLmtfb WdNb/SFo+Mp0HItfBC12qtDIXYvbfNUGVnA5jXeWMEyYhSNktLnpDL2gBUCsdbkov5VjiOX7 CRTkX0UgNWRjyFZwThaZADEvAOo12M5uSBk7h07yJ97gqvBtcx45IsJwfUJE4hy8qZqsA62A nTRflBvp647IXAiCcwWsEgE5AXKwA3aL6dcpVR17JXJ6nwHHnslVi8WesiqzUI9sbO/hXeXw TDSB+YhErbNOxvHqCzZEnGAAFf6ges26fRVyuU119AzO40sjdLV0l6LE7GshddyazWZf0iac nEhX9NKxGnuhMu5SXmo2poIQttJuYAvTVUNwQVEx/0yY5xmiuyqvXa+XT7NKJkOZSiAPlNt6 VffjgOP62S7M9wDShUghN3F7CPOrrRsOHWO/l6I/qJdUMW+MHSFYPfYiFXoLUZyPvNVCYSgs 3oQaFhHapq1f345XBtfG3fOYp1K2wTXd4ThFraTLl8PHxCn4ywARAQABzSRNYXR0aGlldSBC YWVydHMgPG1hdHR0YmVAa2VybmVsLm9yZz7CwZEEEwEIADsCGwMFCwkIBwIGFQoJCAsCBBYC AwECHgECF4AWIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZUDpDAIZAQAKCRD2t4JPQmmgcz33 EACjROM3nj9FGclR5AlyPUbAq/txEX7E0EFQCDtdLPrjBcLAoaYJIQUV8IDCcPjZMJy2ADp7 /zSwYba2rE2C9vRgjXZJNt21mySvKnnkPbNQGkNRl3TZAinO1Ddq3fp2c/GmYaW1NWFSfOmw MvB5CJaN0UK5l0/drna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3YWcC3vCXCgPwyV8133+fIR2L81R1L1q3swaEuh95vWj6iskxeNWSTyFAVKYYVskG V+OTtB71P1XCnb6AJCW9cKpC25+zxQqD2Zy0dK3u2RuKErajKBa/YWzuSaKAOkneFxG3LJIv Hl7iqPF+JDCjB5sAEQEAAcLBXwQYAQIACQUCVeP56QIbDAAKCRD2t4JPQmmgc5VnD/9YgbCr HR1FbMbm7td54UrYvZV/i7m3dIQNXK2e+Cbv5PXf19ce3XluaE+wA8D+vnIW5mbAAiojt3Mb 6p0WJS3QzbObzHNgAp3zy/L4lXwc6WW5vnpWAzqXFHP8D9PTpqvBALbXqL06smP47JqbyQxj Xf7D2rrPeIqbYmVY9da1KzMOVf3gReazYa89zZSdVkMojfWsbq05zwYU+SCWS3NiyF6QghbW voxbFwX1i/0xRwJiX9NNbRj1huVKQuS4W7rbWA87TrVQPXUAdkyd7FRYICNW+0gddysIwPoa KrLfx3Ba6Rpx0JznbrVOtXlihjl4KV8mtOPjYDY9u+8x412xXnlGl6AC4HLu2F3ECkamY4G6 UxejX+E6vW6Xe4n7H+rEX5UFgPRdYkS1TA/X3nMen9bouxNsvIJv7C6adZmMHqu/2azX7S7I vrxxySzOw9GxjoVTuzWMKWpDGP8n71IFeOot8JuPZtJ8omz+DZel+WCNZMVdVNLPOd5frqOv mpz0VhFAlNTjU1Vy0CnuxX3AM51J8dpdNyG0S8rADh6C8AKCDOfUstpq28/6oTaQv7QZdge0 JY6dglzGKnCi/zsmp2+1w559frz4+IC7j/igvJGX4KDDKUs0mlld8J2u2sBXv7CGxdzQoHaz lzVbFe7fduHbABmYz9cefQpO7wDE/Q== X-Organization: NGI0 Core X-In-Reply-To: <aunmABdLpFILZvGt@chamomile>