🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3785

Re: [PATCH net v2] macsec: prevent AES-GCM nonce reuse after packet number wrap

#3785
From: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 01:00
28 lines
6621 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  8 Oct 2026 08:06:26 +0000 you wrote:
> After allocating the last valid packet number, MACsec wraps next_pn to
> zero and deactivates the transmit SA. This happens for both 32- and
> 64-bit types of packet numbers (at values 0xffffffff and
> 0xffffffffffffffff, respectively).
> 
> TX packets that were still getting processed during deactivation keep
> being processed and then receive packet numbers. The first gets 0 and
> is correctly dropped, but next_pn is incremented to 1, which makes the
> next packet take number 1. It then does not get dropped and may induce
> a reuse of the AES-GCM nonce corresponding to value 1.
> 
> [...]

Here is the summary with links:
  - [net,v2] macsec: prevent AES-GCM nonce reuse after packet number wrap
    https://git.kernel.org/netdev/net-next/c/94d51c59f0a8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179211241301.4182913.3552458253132943260.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-347027-linux-kernel-netdev=dewy.ru
References: <20261008080625.360063-2-Jeremy.Jean@oss.cyber.gouv.fr>

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-347027-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] macsec: prevent AES-GCM nonce reuse after packet
 number wrap
Date: Fri, 16 Oct 2026 01:00:13 +0000
Organization: Usenet Network
Message-ID: <179211241301.4182913.3552458253132943260.git-patchwork-notify@kernel.org>
References: <20261008080625.360063-2-Jeremy.Jean@oss.cyber.gouv.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2658166"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:WQVK2/qQ5s340gxHtfPuSxS9724= sha256:Nap+X14tKuFhN1xvf4qGXLeHGvpre55bFA/JRKDTv8U=
	sha1:fuSmghJZpLd/23Vf4jqt5NmcYWM= sha256:vuc4cLHjA7Ms3MwsvhK2BACdS1l5mzCw8C3DP8H0HEw=
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 C6A64110420; Fri, 16 Oct 2026 04:09:04 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Status: No, score=-0.7 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
	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=fail (2048-bit key)
	reason="fail (message has been altered)" 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 4Ld-RytMcmuE;
	Fri, 16 Oct 2026 04:09:01 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347027-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 8F90C110404; Fri, 16 Oct 2026 04:08:53 +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 EC79243BC4; Fri, 16 Oct 2026 01:00:42 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id AC94A344031;
	Fri, 16 Oct 2026 01:00:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DmzD85yl"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B8C033469C;
	Fri, 16 Oct 2026 01:00:14 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792112415; cv=none; b=ti5ax9f2Rq68MySXgo1DhJyZDt2pbEz7nsRoC1TuEXyHb8QE0OmKm08gIcnsl+GQIyOedj+Wa7/wQ6Z3OIWsrPtxatilbSu+hhVtegDJg4DY9sJ7Ytyu9Il5DzoQwPVV+wCWeHzH/juyTHQZ+RVNnBu0v2gQHgH+E7mku1fXEF0=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792112415; c=relaxed/simple;
	bh=0QYHgMFRn5QEijQE9Rx6nFc2G2E5b6zW3WYDmyWj1uI=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=gZSh8JKYvLoMBblY1/x4yIQL2x47P8xv67XlZu7uOoO6zNRTwh93AP27OqErU/mu2xfFFLti6WRhdRH+3QGn8lKIn/9VLVkD44NvCWVPt0WVe6npAHH6VCGNY5OlqyF6RDF+7wA3QtXrMcOqcoR2UOOx6U/JxyfTMVPPjFnuoPg=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DmzD85yl; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 816F21F000C5;
	Fri, 16 Oct 2026 01:00:14 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792112414;
	bh=SzkrVctPjDRMPtGKoq35IIuPHWQM5+XJxttWXHW0Xms=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=DmzD85ylww48ZluSYLBMb0UiN5mpJdsKaKIydq1TYF1W9euoMlzqJNQOjhqh32duJ
	 kulika61IU72pzxLYtn676CexMEMKejwjkPiv1P/dd/MyVHngrKivnOAaH8X8+bVSH
	 li+VYz7N20WV/+odpnVBZOHjS8xRRG7iohZ/BtqXWxjcOdunfpLcYwVl241vTMe3O6
	 +HzuKV0mi8jTP4kbXA3ScIHhbimoB3S6FRzNQDv2+4uqOirXe837ri1KtxtCOiArfk
	 vIT/QXA2DyNjcM+NhIm3EeoTjBqYLQMniD1OILl2Pxl2odl58EfJSWJ1csrAt3GkeZ
	 xJBNrANF0bKKA==
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 772683808209;
	Fri, 16 Oct 2026 01:00:14 +0000 (UTC)
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>
X-In-Reply-To: <20261008080625.360063-2-Jeremy.Jean@oss.cyber.gouv.fr>
X-Cc: sd@queasysnail.net, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org