{"id":"CVE-2026-143188","summary":"tls: Break the connection after a burst of empty data records","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: Break the connection after a burst of empty data records\n\nTLS permits zero-length application_data records, and RFC 8446\nsuggests them for generating cover traffic. Nothing bounds how many of\nthem a reader processes back to back, though. They advance neither\nloop bound in tls_sw_recvmsg() and tls_sw_read_sock(), so a peer\nstreaming them faster than the reader decrypts them keeps it in the\nkernel for as long as they arrive. recvmsg() does not check for signals\nwhile records are ready, and its peek and async paths queue every empty\nrecord on rx_list. read_sock consumers like nvme-tcp hold the socket\nlock throughout and never get control back.\n\nBreak the connection once a reader decrypts more than 128 consecutive\nempty data records without sleeping or returning to its caller in\nbetween, treating the burst as a protocol violation like a malformed\nrecord header. A stream of empty records which the reader keeps up with\ncosts no more than any other traffic, so the count starts over on every\nread and whenever the reader waits for the next record. The strparser\nis stopped before it parses the next record, so the reader gets the\nerror from tls_rx_rec_wait() and no later record is delivered.\nReturning to the caller and keeping the connection alive would need a\nway to wake read_sock consumers which installed their own sk_data_ready\nafter the handshake, a lot of code for a peer that is either broken or\nmalicious.\n\nConsume empty records in recvmsg() rather than queuing them on rx_list,\nso that repeated MSG_PEEK cannot pile them up past the per-read count.\nDecrypt them synchronously, too. Once a recvmsg() call has decrypted a\nrecord asynchronously, recv_end replaces the error with the result of\nprocess_rx_list(), so a call that saw only empty records returns 0, a\nfalse EOF, instead of the error or -EAGAIN.","modified":"2026-12-03T11:01:36.265431516Z","published":"2026-12-03T09:20:17.975Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143188.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/201f0531e413d6cdd9673a77bea340839e1713ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aeba2ad3ea054c28e6d5e4e3497aae10fb4b9234"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143188.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143188"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c46234ebb4d1eee5e09819f49169e51cfc6eb909"},{"fixed":"aeba2ad3ea054c28e6d5e4e3497aae10fb4b9234"},{"fixed":"201f0531e413d6cdd9673a77bea340839e1713ae"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143188.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.17.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143188.json"}}],"schema_version":"1.9.2"}