{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143188",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.358Z",
        "datePublished": "2026-12-03T09:20:17.975Z",
        "dateUpdated": "2026-12-04T03:30:35.869Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:30:35.869Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - A remote peer's TCP segments carry TLS application_data records whose plaintext is empty. tls_data_ready() parses them, tls_rx_msg_size() accepts any length that covers the AEAD tag, and the fix site tls_rx_one_record() is reached from tls_sw_recvmsg() (sk_prot->recvmsg) and tls_sw_read_sock() (sock->ops->read_sock), where full_len drops to 0.\nAC:L - That peer sends the records continuously on the connection it already has. tls_sw_recvmsg() repeats while decrypted bytes stay below sock_rcvlowat() or tls_strp_msg_ready() is set, and empty records change neither bound, so the attacker keeps the queue non-empty and the wait in tls_rx_rec_wait() is never taken.\nPR:N - kTLS RX is installed by the local endpoint through setsockopt(SOL_TLS, TLS_RX), which only swaps sk_prot->recvmsg to tls_sw_recvmsg(). The remote peer needs no uid, capability, or credential on the host; traffic keys from its own handshake are enough to form the records.\nUI:N - The attacker completes the TCP connection and writes the empty application_data records. The loop is entered by the endpoint's own recvmsg(), or by nvme_tcp_io_work() through nvme_tcp_try_recv(), with no mount or other victim action.\nS:U - The reader wedged in tls_sw_recvmsg() or tls_sw_read_sock(), and the sock lock from tls_rx_reader_lock() or nvme_tcp_try_recv(), remain in the host that owns the socket. The empty-record loop does not cross a guest, IOMMU, or sandbox boundary.\nC:N - tls_padding_length() leaves an empty application_data record with plaintext length 0, and tls_sw_recvmsg() copies chunk bytes where chunk is that length. The peer receives no kernel memory.\nI:N - A zero full_len only stops len and desc->count from advancing; the skb is consumed or linked onto rx_list. tls_rx_one_record() performs no out-of-bounds write and does not free a still-reachable object.\nA:H - Empty records leave decrypted and len unchanged, so tls_sw_recvmsg() stays in the kernel and tls_rx_rec_wait() checks signal_pending() only after sk_wait_event(). tls_read_flush_backlog() skips sk_flush_backlog() while tcp_inq() is above one max record, holding lock_sock(). tls_sw_read_sock() does not decrement desc->count, so nvme_tcp_try_recv() never returns, and MSG_PEEK links every empty skb onto rx_list."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/tls.h",
                        "net/tls/tls_sw.c"
                    ],
                    "versions": [
                        {
                            "version": "c46234ebb4d1eee5e09819f49169e51cfc6eb909",
                            "lessThan": "aeba2ad3ea054c28e6d5e4e3497aae10fb4b9234",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c46234ebb4d1eee5e09819f49169e51cfc6eb909",
                            "lessThan": "201f0531e413d6cdd9673a77bea340839e1713ae",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/tls.h",
                        "net/tls/tls_sw.c"
                    ],
                    "versions": [
                        {
                            "version": "4.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.17",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/aeba2ad3ea054c28e6d5e4e3497aae10fb4b9234"
                },
                {
                    "url": "https://git.kernel.org/stable/c/201f0531e413d6cdd9673a77bea340839e1713ae"
                }
            ],
            "title": "tls: Break the connection after a burst of empty data records",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}