Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Sat, 21 Nov 2026 23:44
Re: [PATCH net v8] kcm: reject TLS on attached TCP sockets
Author: patchwork-bot+netdevbpf
Date: Sat, 21 Nov 2026 23:44
Date: Sat, 21 Nov 2026 23:44
28 lines
9058 bytes
9058 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 16 Nov 2026 12:01:08 -0700 you wrote:
> Neither kcm_attach() nor tls_init() rejects the other, so KCM and kTLS RX
> can be stacked on the same TCP socket in either order. This breaks in
> several ways:
>
> - KCM calls read_sock() from its receive callback in atomic context.
> With kTLS RX this reaches tls_sw_read_sock(), which can sleep.
> - Before tls_sw_read_sock() existed, read_sock was tcp_read_sock(), so
> KCM consumed raw ciphertext from the receive queue that TLS parses.
> - Both install socket callbacks. kcm_unattach() restores the pre-KCM
> sk_data_ready over tls_data_ready, so TLS RX stops getting notified.
>
> [...]
Here is the summary with links:
- [net,v8] kcm: reject TLS on attached TCP sockets
https://git.kernel.org/netdev/net/c/746dbdc5fa60
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads