In the Linux kernel, the following vulnerability has been resolved: tls: Consume empty data records in tls_sw_splice_read() A zero-length application_data record decrypts to full_len == 0, so tls_sw_splice_read() splices zero bytes and returns zero. A zero return from a splice read means EOF, and the caller tears down a connection that is still live. Consume the record and fetch the next one, as tls_sw_read_sock() does. The cap on consecutive empty records bounds the loop. When an empty record precedes a close_notify, splice(2) now returns -EINVAL from the control-record test instead of a false EOF. A splice that reaches an alert record already reports -EINVAL.
https://git.kernel.org/stable/c/f2b0dd5b71952777fde1f63dbf1ee16764b492ba
https://git.kernel.org/stable/c/db6a6c6863bd22b2543e313cb8e4807fdd33778b