Re: [PATCH net] wireguard: noise: reject responses for replaced initiations
From: Jason A. Donenfeld
Date: Tue Oct 06 2026 - 11:19:43 EST
Hi Jérémy,
On Tue, Oct 6, 2026 at 2:40 PM Jérémy Jean
<jeremy.jean@xxxxxxxxxxxxxxxxx> wrote:
> Thanks for your quick reply. Sorry that I could not answer in time.
> Your analysis is indeed the scenario that I had in mind, yet, the
> second thread does not really have to block, I'd say it can just
> be slow?
That's right.
> As for real world feasibility and impacts, I must admit that
> I have no idea.
I've been unable to synthetically reproduce this -- even with adding
sleeps and additional synchronization primitives to the code to force
it. But it does seem like a real issue in theory. So thanks for the
patch. I'll add some detail to the commit message, and get this
upstream and backported and such.
Jason