🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3451

Re: [PATCH net v3 1/3] ipv6: serialize address publication with device teardown

#3451
From: Daehyeon Ko
Date: Thu, 15 Oct 2026 05:06
11 lines
8682 bytes
The patch 1 Critical is fixed by patch 2 in v3, but serialization appears
before its cleanup prerequisite. V4 puts the hash cleanup first and states
that both fixes must be backported together.

The other findings are valid. V4 describes the stale hash entry as a UAF,
initializes ifpub, cstamp and tstamp before publication, and adds a fourth
patch that does not restart DAD after teardown has marked the replacement
ifaddr DEAD. Thank you for the review.

pw-bot: cr
Technical Details
Message-ID: <20261015050610.1836863-1-4ncienth@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346537-linux-kernel-netdev=dewy.ru
References: <20261009054042.272944-2-4ncienth@gmail.com> <179161099408.434549.14449036924552933828@kernel.org>

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-346537-linux-kernel-netdev=dewy.ru
From: 4ncienth@gmail.com (Daehyeon Ko)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 1/3] ipv6: serialize address publication with device teardown
Date: Thu, 15 Oct 2026 14:06:05 +0900
Organization: Usenet Network
Message-ID: <20261015050610.1836863-1-4ncienth@gmail.com>
References: <20261009054042.272944-2-4ncienth@gmail.com> <179161099408.434549.14449036924552933828@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2453579"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:i9KIB4gel+dhTDvgs6Bb0TXM87g= sha256:AmGwQRjeMsExsTmgX5MM7qqpJngr6we2Dbkrbx9v5lE=
	sha1:lLfwe8mXzAFBGEsuex2UhuLTqME= sha256:ClxZt2z3zao16W13Naq9B0ONmqQGp4FbW6NaE8GymKY=
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 7C2F6110242; Thu, 15 Oct 2026 08:07:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.748
X-Spam-Status: No, score=-0.748 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, 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=gmail.com
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 rmRObBrua-8k;
	Thu, 15 Oct 2026 08:06:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346537-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id EA9731101E6; Thu, 15 Oct 2026 08:06:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id C6DB537C6C; Thu, 15 Oct 2026 05:06:26 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 580E53B05AD;
	Thu, 15 Oct 2026 05:06:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CfTpMHWB"
X-Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4189835DA78
	for <netdev@vger.kernel.org>; Thu, 15 Oct 2026 05:06:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792040786; cv=none; b=M/Dkb3HMG6Fdf3bGHSzz0w8qj4AEK68aP4x4c7epBIF3dQi+OzMvttwe6pY0vOqdFYUl3c/6mJzSNzuUlgm+EHS4IXUyX3G5BtKbdEG6Z7O5BS7c3yKjxSB85DOh+h9CWq7wDAdvIq+hhwOrwXg6sGoY+TPzolQW4x7wHPHgheg=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792040786; c=relaxed/simple;
	bh=cxH/hMZE/AC08HsgZbXRkmn12fLokOsUnbhBRljJda4=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version; b=RMHGUeiRBlbof4dMFAYaI7325ZjXG4kGS7hkBzhOGL6W5EoyFt9J8HiaJ0EKCiO584qdU0tiZWHhioywBEgCwwTkxmU5IoDcdtluNZpFpf9DgPwP2rjcvdJ8Ts5d8YwP9RQ6C+YiU3HTf40yFDHpbJmoGvxEY+DRNTaRKvA/k5M=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CfTpMHWB; arc=none smtp.client-ip=209.85.210.171
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-89d4030cc57so985715b3a.1
        for <netdev@vger.kernel.org>; Wed, 14 Oct 2026 22:06:25 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1792040784; x=1792645584; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=cxH/hMZE/AC08HsgZbXRkmn12fLokOsUnbhBRljJda4=;
        b=CfTpMHWBdS7UYt4NB6fY1+KeJ+jxZuY+ll1gb/9loITxuCLC+2pZWoo7tLuLJCvS+f
         jd64zng1TM1I+Ps+vyMc8Sx+HMaSUp2FdqbkD/u7tC1WIe7WAGhCq/jZs3PVqea6fF/Y
         HLMdLWqwJOsjSfMISpJTlXH+7zU+k+vbjomksefBef0llsC3W5g/uLaVsxf8aWImxQVc
         EY9aRq7AetSMKr2aN5uyHNMVa+yFpFQPI84Ok9/tKVkJwwvLhOa8eU9SAdoGreMCB9XE
         P2cvSW50AowHqYv/DA4vjuIsHVBOGx8AQSjuErrBCcZJfXoEY+aM1fPVDEuP9SLYfAY2
         jJ8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792040784; x=1792645584;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to:content-type;
        bh=cxH/hMZE/AC08HsgZbXRkmn12fLokOsUnbhBRljJda4=;
        b=v61X1yAzOXooq+Dz7JMkjlZNH5rxcwPsflEjnVBnacNKy0skpQbJMk1gLjRbwPkcuN
         6f/CPeRIQzVKf7ONsmfBXbZuVNfPEBwCE3RBV97dBcJ8feRL7klPI5vNGTiwERzGunlr
         S+YkcVmwZCcgm8PayqM8ZYORvux9cC8uXXOcWPKMZCf4zyJe55I8zn7nYR7DnddTIopt
         iTq4K/ZtP0Z+uIRrjVSzCImbjlxQ3ZqrHUttXOMgC1SSKJw/T0dw83VBWbjpvgNcliwQ
         2lDkBpCyZjFOF1mT0aPrP+quEqwaTa/fkqPrmMbjouRGVcPYxT3joqeITpVd7/eDH94J
         aCjA==
X-Forwarded-Encrypted: i=1; AKwUvBy3NKSfWFvMiMvzyq16T97LxxXX0CYcGPsWdS9nTZQbZWQxx55K2LI67nw5esNrJu+lelspGLU=@vger.kernel.org
X-Gm-Message-State: AFq9FYIAgJ+iEGUXZJssCbzz/20jbvh1xTqrvltSj15F+1wVgSLWEP+v
	e7jb4og9dRvQCDb758dE3HMSwOWl1X8CwLBC8BArf/3TqJxoTAXuR51d
X-Gm-Gg: AYBFou3YdKTwU3bV9VOAZrSlAiuCEm1hUBOwyRIDE0oZnxiFdAlKgiyj5SS/trQCTlT
	fDgzB1UPbInBTkRVKbZ5Q2gGrWHEujSK2+hjHPh6Ul0PWQi4NLVZ8b63Orbm+pLAnhmbrO8Lxao
	Sud8STfJF5weNIRhzginW24Wl4Nvrqnr2JbFmc8wh+ZMsV9WyFrjGRenY7JlSebFxJkgkebqQah
	AU7s1ehr/5he/1OrtFpGj7KNaykA8bGnBNLksVKEWU/ObtTp7Sv3/m0cGtSlKWFXPEcWm3HrjTW
	7qqiP01QjpjM1AWyRaV00Lq+zSFeajKw6lRI6E0EVNrx1C5q3bafOenK1Ya2JRWGgw5m7jTFD8i
	iLW2CKhKfSqJbJe4IMk5M9MBU13yR9M0SkYGTWdxLzavT9p3Pwf1bgUv6Q8fRRv6OxUWYQcaBy9
	Ot+42O7uQLQ0HlsQdH9qcsDJG5MGDBzIcfCdCOVj+kUlz9Lwu075rke8MlCw7FHZZm/uGha3lnI
	u6nXr2IlTg=
X-Received: by 2002:a05:6a20:6a1d:b0:3e0:df81:23e8 with SMTP id adf61e73a8af0-3e16bdb632amr16747581637.24.1792040784494;
        Wed, 14 Oct 2026 22:06:24 -0700 (PDT)
X-Received: from ancienth-X870E-Nova-WiFi ([125.186.72.2])
        by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cd635cdffa5sm635724a12.29.2026.10.14.22.06.20
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Wed, 14 Oct 2026 22:06:23 -0700 (PDT)
X-Cc: Daehyeon Ko <4ncienth@gmail.com>,
	David Ahern <dsahern@kernel.org>,
	Ido Schimmel <idosch@nvidia.com>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.55.0
X-In-Reply-To: <179161099408.434549.14449036924552933828@kernel.org>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>