Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Sabrina Dubroca <sd@queasysnail.net>
Cc: Sasha Levin <sashal@kernel.org>,
	stable@vger.kernel.org, "David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH 6.12.y 1/2] selftests: tls: add rekey tests
Date: Fri, 21 Aug 2026 12:51:30 -0400	[thread overview]
Message-ID: <20260821152000.rc-tls-rekey@kernel.org> (raw)
In-Reply-To: <aoXJfMDP52O9vZVY@krikkit>

On Wed, Aug 19, 2026 at 05:19:24PM +0200, Sabrina Dubroca wrote:
> All of those rekey tests are going to fail if you don't take the rekey
> implementation as well (which I hope isn't getting backported to any
> stable kernels). You probably don't want that.

You're right, and thanks for catching it.

To be unambiguous about what this actually affected: the 6.12.y series
you're replying to here was never queued, so there was nothing to drop
on 6.12. The same selftest had, however, already been queued for 6.6
from a separate 6.6.y posting, and that is what I've now dropped. Three
patches came out of the 6.6 queue:

  - selftests: tls: add rekey tests (555f0edb9ff0)
  - selftests: tls: add test with a partially invalid iov (dc54b813df63)
  - tls: rx: restore msg_iter before TLS 1.3 optimistic retry (1c8629651cb5)

On 6.6 it's worse than the tests failing - the selftest doesn't even
build. tls_crypto_info_init() only grew its key_generation argument in
b2e584aa3c71, which isn't in 6.6, so the ~20 four-argument call sites
the rekey patch adds fail to compile, and __test_passed() (69fe8ec4f673,
v6.9) is missing from 6.6's kselftest_harness.h. And of course the rekey
implementation itself (0471b1093e3a, 47069594e67e, 510128b30f2d) isn't
there, so tls_main.c still returns -EBUSY on the second setsockopt()
that every rekey test expects to succeed.

-- 
Thanks,
Sasha

  reply	other threads:[~2026-08-21 16:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 12:48 FAILED: patch "[PATCH] tls: rx: restore msg_iter before TLS 1.3 optimistic retry" failed to apply to 6.12-stable tree gregkh
2026-08-19 11:39 ` [PATCH 6.12.y 1/2] selftests: tls: add rekey tests Sasha Levin
2026-08-19 11:39   ` [PATCH 6.12.y 2/2] tls: rx: restore msg_iter before TLS 1.3 optimistic retry Sasha Levin
2026-08-19 15:19   ` [PATCH 6.12.y 1/2] selftests: tls: add rekey tests Sabrina Dubroca
2026-08-21 16:51     ` Sasha Levin [this message]
2026-08-21 20:10       ` Sabrina Dubroca

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=20260821152000.rc-tls-rekey@kernel.org \
    --to=sashal@kernel.org \
    --cc=davem@davemloft.net \
    --cc=sd@queasysnail.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox