On Tue, 2025-10-14 at 15:18 +1000, Wilfred Mallawa wrote:
+static int do_tls_setsockopt_tx_payload_len(struct sock *sk, sockptr_t optval,
unsigned int optlen)
+{
- struct tls_context *ctx = tls_get_ctx(sk);
- struct tls_sw_context_tx *sw_ctx = tls_sw_ctx_tx(ctx);
- u16 value;
- if (sw_ctx->open_rec)
return -EBUSY;
Looks like syzbot found a bug here, sw_ctx can be NULL. Will fixup for V5.
Wilfred