Article View: linux.kernel.netdev
Article #9949Re: [PATCH net v3] ipv6: reject wrapped temporary address preferred lifetimes
From: patchwork-bot+netdevbpf
Date: Mon, 02 Nov 2026 21:40
Date: Mon, 02 Nov 2026 21:40
30 lines
9083 bytes
9083 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Fri, 30 Oct 2026 15:30:56 +0800 you wrote:
> ipv6_create_tempaddr() raises a temporary address's preferred lifetime to
> regen_advance + age + 1 when the configured lifetime is too short. The
> result is stored in a u32, while regen_advance and age are unsigned long.
> If the sum wraps or is truncated, the stored lifetime can still be less
> than or equal to regen_advance + age.
>
> addrconf_verify_rtnl() then sees the new address as due for regeneration
> and creates another one. Temporary addresses are not limited by
> max_addresses since commit 4b08a8f1bd8c ("ipv6: remove max_addresses
> check from ipv6_create_tempaddr"), so this can cause unbounded address
> growth. With dad_transmits set to -1, a baseline kernel reached 2859
> loopback addresses in two seconds.
>
> [...]
Here is the summary with links:
- [net,v3] ipv6: reject wrapped temporary address preferred lifetimes
https://git.kernel.org/netdev/net/c/c3e67bd82b9b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179365560430.674524.10806958346481950138.git-patchwork-notify@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-355064-linux-kernel-netdev=dewy.ruReferences:
<tencent_7A270291DDE5CD89DAFFE8A745D094D5BD06@qq.com>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-355064-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3] ipv6: reject wrapped temporary address preferred lifetimes Date: Mon, 02 Nov 2026 21:40:04 +0000 Organization: Usenet Network Message-ID: <179365560430.674524.10806958346481950138.git-patchwork-notify@kernel.org> References: <tencent_7A270291DDE5CD89DAFFE8A745D094D5BD06@qq.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3037969"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:vaj1cEgK4hAiTm38UKLhjFA9qO0= sha256:UdubYmnGIbwIEZTUo/BdNfNx7+lChsYRdb+iKvQPVoY= sha1:Ifm+7G0pmmlJLVGj7fbRsMzCCnc= sha256:vkse6rZwKD7D9E6tKREH6CfoV5w4nPQJQpu3L2ws5SU= 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 84035112694; Tue, 3 Nov 2026 00:43:26 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 FCB4h1TdVf34; Tue, 3 Nov 2026 00:43:21 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-355064-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 84DF8112683; Tue, 3 Nov 2026 00:43:12 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 03A5A608117; Mon, 2 Nov 2026 21:41:01 +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=1793655613; b=Ay2BRJ/iUZRVg6wSLtdIJtCx0rkecAe64Y2T9ikDXg8tZwUvi/3bxlErZM7zK5zDClJx hRH94nssVyCTb8ueDJQ7GxxZJFmhl7Y+FwsGJgslcUoL4deDUgurf99GKmYaJlWra6e23 brOHqg+IfyclUCCe4+xRUZr40j45K7SIQhkkjZXSrsAn+NEDvr8vLIV0flqbh4X1Tk24K p6QrAmHOBD4wbTaR1YLeSjmBbRxh5gL9MULL4bo9iTZHU/C00hxYl8xQOk25qIJuoSfSW lMahdddhsKeF7C1sioj3iS1022RUs0Fi+9lR1e1QlC32eneZG4fzP1i78+2kvjvziPw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793655613; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=O2oeX8lZj3P14fI/ikpuPSbIkztT60QcBhTwAcuMZ0M=; b=u0JoAwEPQziuVWT5oepjgDyd7uIHFpIvYfPNbiyZ5WGGWlcqykwS0y/WWciCIQakPN9f JeS0HEt4KAIkikv1d/H2c3nAeZpRKnVvYaATrFgli6rUe5o9dZOghRGOR1fg9j4uVi1RR BLvPuRDn+GV3yGCGqwth7rpTvzPZ88mRP4/GQh2dlKKDEc3WNYW1h/+1OLUB1oqv8aXem VcTaGc5aWBlDUBBXT4YrbaIHKDwdNFax3plFHiFtguM+mrO053LCsPItR6fS8levSf3YU iTzH3Vr95dCpQonK9HTEfUW1Y3X11D3R/c5DV4YlFbQyS3MeapAQfS/mAhs55Kr5MuQ== 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=B0wdCVoY; 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 98EB1606D81B; Mon, 2 Nov 2026 21:40:13 +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=B0wdCVoY 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=1793655606; b=WzyLLO3ymFx4i1ClfLYWrXdqUuHNdw+m0+e7b9+NPaRmHSBsKB+/w3I5j6BRfF17N8jy fWpOZM2swR85ETAcdGlV2+QwoSH5dudqw7ZCDn6P0n8PRy5MysqN9Hc7ZedQSsB+mh115 Gg4kE033Qj1aCl+QRWUlvwnlF3zOW7i1VGXH5BlcF7Ox3UnlbifDUlbERkxbJLMCB0mtw W1s292YxqU+CRjHYzmNsxqoJ01JNVvbHqMgkkBSnmuKm9qbe5vsOFFXFs9TU4K3gs5wQY gOuo+/auYViFScHuYlcD0ECL1fGFzrbMhnG01HrGzQdY4pWj6XLblJALZzTj5isbZgg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793655606; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=O2oeX8lZj3P14fI/ikpuPSbIkztT60QcBhTwAcuMZ0M=; b=eMvecu76Sl0NDUILMq4uy5er/hCh8Kin9K5q8riFIoI3TNF+6vdGU9WjjFQmCGVYhKTQ GaG02KxV1nqxBxoI9TCtRP0fJGIeDuVcBbc2e+a7y/E1OoTO6v3MPBqfcu4AY5SmGob63 WEg21szm05DwxaOeEYXQbkjOlqpnbqGGp0UVs9ryu9k7wD6wF8uhw4Ye4+9etBbn7CNgz z5TGi5AzKiixZX7Up3FLYYcSSbyz5noeFNwGYTBr7NiTWD79MBoNJbqcqUyFssbn0tAcx ZJuq5ZhlAVgyLLVu7OkgJkmqMZe1nd9dPuoFOanaeNb3kQFb+gC+pamaDvnTh7EMcpA== 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=B0wdCVoY; 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) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD8AB606A327; Mon, 2 Nov 2026 21:40:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 860DA1F00A16; Mon, 2 Nov 2026 21:40:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793655605; bh=O2oeX8lZj3P14fI/ikpuPSbIkztT60QcBhTwAcuMZ0M=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=B0wdCVoYprUN2XqoZr8Cvx9UkCoLAcPPzZadA9Tu82JHEr3awSi9tr8Kcd93qHhdz cD4VWk+Pg5Ik+ozxssUkhYQCmDlbiR57VwFVY7nhu+v9htJB6J01/a3d+2588FMnoP XDQQhdLmmwB8CveHve4c/6ZwuIozfYIKNmHLxT9WBYID4hd4jnwuG02BQIfbIMs69J lTdipQZbGrngAePhR8PUdDO8zI9DQW+M8U5LTlDBgBryL5znsB1o6cpgyhyoRWXhKs +ajiPRl4TUyiuF+Pp0nYGWZOqkH5oAg9GTsWZJ1pLzUtg37QeZ2L07ZHogHFdJj1tQ t3CcicIbeeWsQ== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7D2D1380821F; Mon, 2 Nov 2026 21:40:05 +0000 (UTC) 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-In-Reply-To: <tencent_7A270291DDE5CD89DAFFE8A745D094D5BD06@qq.com> X-Cc: netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, alexhenrie24@gmail.com, linux-kernel@vger.kernel.org