netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/7] tls: misc bugfixes
@ 2025-10-14  9:16 Sabrina Dubroca
  2025-10-14  9:16 ` [PATCH net 1/7] tls: trim encrypted message to match the plaintext on short splice Sabrina Dubroca
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Sabrina Dubroca @ 2025-10-14  9:16 UTC (permalink / raw)
  To: netdev; +Cc: Sabrina Dubroca, kuba, jannh, john.fastabend

Jann Horn reported multiple bugs in kTLS. This series addresses them,
and adds some corresponding selftests for those that are reproducible
(and without failure injection).

Sabrina Dubroca (7):
  tls: trim encrypted message to match the plaintext on short splice
  tls: wait for async encrypt in case of error during latter iterations
    of sendmsg
  tls: always set record_type in tls_process_cmsg
  tls: wait for pending async decryptions if tls_strp_msg_hold fails
  tls: don't rely on tx_work during send()
  selftests: net: tls: add tests for cmsg vs MSG_MORE
  selftests: tls: add test for short splice due to full skmsg

 net/tls/tls_main.c                |  7 +---
 net/tls/tls_sw.c                  | 31 ++++++++++++---
 tools/testing/selftests/net/tls.c | 65 +++++++++++++++++++++++++++++++
 3 files changed, 92 insertions(+), 11 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-10-16  0:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-14  9:16 [PATCH net 0/7] tls: misc bugfixes Sabrina Dubroca
2025-10-14  9:16 ` [PATCH net 1/7] tls: trim encrypted message to match the plaintext on short splice Sabrina Dubroca
2025-10-14  9:16 ` [PATCH net 2/7] tls: wait for async encrypt in case of error during latter iterations of sendmsg Sabrina Dubroca
2025-10-14  9:16 ` [PATCH net 3/7] tls: always set record_type in tls_process_cmsg Sabrina Dubroca
2025-10-14  9:16 ` [PATCH net 4/7] tls: wait for pending async decryptions if tls_strp_msg_hold fails Sabrina Dubroca
2025-10-14  9:17 ` [PATCH net 5/7] tls: don't rely on tx_work during send() Sabrina Dubroca
2025-10-14  9:17 ` [PATCH net 6/7] selftests: net: tls: add tests for cmsg vs MSG_MORE Sabrina Dubroca
2025-10-14  9:17 ` [PATCH net 7/7] selftests: tls: add test for short splice due to full skmsg Sabrina Dubroca
2025-10-16  0:50 ` [PATCH net 0/7] tls: misc bugfixes patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).