do_tls_getsockopt in net/tls/tls_main.c in the Linux kernel through 6.2.6 lacks a lock_sock call, leading to a race condition (with a resultant use-after-free or NULL pointer dereference).
https://security.netapp.com/advisory/ntap-20230427-0006/
https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html