# CVE-2026-143188

- Bağlantı: https://www.allsafe.com.tr/cve-2026-143188/
- Yayımlanma: 2026-12-03T13:17:55+03:00
- Yazar: Postmaster

In the Linux kernel, the following vulnerability has been resolved:

tls: Break the connection after a burst of empty data records

TLS permits zero-length application_data records, and RFC 8446
 suggests them for
generating cover traffic. Nothing bounds how many of them a reader processes back
to back, though. They advance neither loop bound in tls_sw_recvmsg() and tls_sw_read_sock(),
so a peer streaming them faster than the reader decrypts them keeps it in the kernel
for as long as they arrive. recvmsg() does not check for signals while records are
ready, and its peek and async paths queue every empty record on rx_list. read_sock
consumers like nvme-tcp hold the socket lock throughout and never get control back.

Break the connection once a reader decrypts more than 128 consecutive
 empty data
records without sleeping or returning to its caller in between, treating the burst
as a protocol violation like a malformed record header. A stream of empty records
which the reader keeps up with costs no more than any other traffic, so the count
starts over on every read and whenever the reader waits for the next record. The
strparser is stopped before it parses the next record, so the reader gets the error
from tls_rx_rec_wait() and no later record is delivered. Returning to the caller
and keeping the connection alive would need a way to wake read_sock consumers which
installed their own sk_data_ready after the handshake, a lot of code for a peer 
that is either broken or malicious.

Consume empty records in recvmsg() rather than queuing them on rx_list,
 so that
repeated MSG_PEEK cannot pile them up past the per-read count. Decrypt them synchronously,
too. Once a recvmsg() call has decrypted a record asynchronously, recv_end replaces
the error with the result of process_rx_list(), so a call that saw only empty records
returns 0, a false EOF, instead of the error or -EAGAIN.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-143188)
