From: Sasha Levin <sashal@kernel.org>
To: Wolfgang Walter <linux@stwm.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: Regression Linux 6.18.22: ipsec stops working: reason: commit 153d5520c3f9 "crypto: authencesn - Do not place hiseq at end of dst for out-of-place d.cryption"
Date: Tue, 14 Apr 2026 12:58:34 -0400 [thread overview]
Message-ID: <ad5yOgkiFfRzy9pz@laps> (raw)
In-Reply-To: <b397c5b34ed7484aad6e0acf7e1319c6@stwm.de>
On Tue, Apr 14, 2026 at 06:52:22PM +0200, Wolfgang Walter wrote:
>Hello,
>
>with 6.12.18 ipsec stopped working for us. After reverting commit
>
>commit 153d5520c3f9fd62e71c7e7f9e34b59cf411e555.
>Author: Herbert Xu <herbert@gondor.apana.org.au>
>Date: Fri Mar 27 15:04:17 2026 +0900
>
> crypto: authencesn - Do not place hiseq at end of dst for
>out-of-place decryption
>
> [ Upstream commit e02494114ebf7c8b42777c6cd6982f113bfdbec7 ]
>
> When decrypting data that is not in-place (src != dst), there is
> no need to save the high-order sequence bits in dst as it could
> simply be re-copied from the source.
>
> However, the data to be hashed need to be rearranged accordingly.
>
> Reported-by: Taeyang Lee <0wn@theori.io>
> Fixes: 104880a6b470 ("crypto: authencesn - Convert to new AEAD
>interface")
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
>
> Thanks,
>
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
>
>
>ipsec worked again. We use esn here.
Thanks for the report!
Could you please check if you see the issue with mainline?
--
Thanks,
Sasha
next prev parent reply other threads:[~2026-04-14 16:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-11 12:53 Linux 6.18.22 Greg Kroah-Hartman
2026-04-11 12:53 ` Greg Kroah-Hartman
2026-04-14 16:52 ` Regression Linux 6.18.22: ipsec stops working: reason: commit 153d5520c3f9 "crypto: authencesn - Do not place hiseq at end of dst for out-of-place d.cryption" Wolfgang Walter
2026-04-14 16:58 ` Sasha Levin [this message]
2026-04-14 17:41 ` Wolfgang Walter
2026-04-14 17:04 ` 6.18.22: a question to commit "crypto: algif_aead - Revert to operating out-of-place" Wolfgang Walter
2026-04-14 17:28 ` Sasha Levin
2026-04-14 23:39 ` [PATCH] crypto: authencesn - Fix src offset when decrypting in-place Herbert Xu
2026-04-15 19:54 ` Wolfgang Walter
2026-04-22 9:30 ` Fwd: " Wolfgang Walter
2026-04-23 4:56 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ad5yOgkiFfRzy9pz@laps \
--to=sashal@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@stwm.de \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.