net/tls: Consume empty data records in tls_sw_read_sock() (Linux Linux)

CVE-2026-72330
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.62 % · percentile 50 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: net/tls: Consume empty data records in tls_sw_read_sock() A peer may send a zero-length TLS application_data record; TLS 1.3 explicitly permits these as a traffic-analysis countermeasure (RFC 8446, Section 5.1). After decryption such a record has full_len == 0. tls_sw_read_sock() hands it to the read_actor, which has no payload to consume and returns zero. The loop treats a zero return as backpressure (used <= 0), requeues the skb at the head of rx_list, and stops. rx_list is serviced head-first on the next call, so the empty record is dequeued, fails the same way, and is requeued again; every later record on the connection is blocked behind it. tls_sw_recvmsg() does not stall on this: a zero-length data record copies nothing and falls through to consume_skb(). Mirror that in the read_sock() path by recognizing an empty data record before the actor runs, consuming it, and continuing.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 662fbcec32f4af6bdcf5b4006b792ebe9543d945 < 0867b0f2513ebc1c475af9898c97f4772a68d964 ; affected 662fbcec32f4af6bdcf5b4006b792ebe9543d945 < c6b440cf766a557b08d25f1b571b3d57d039686e ; affected 662fbcec32f4af6bdcf5b4006b792ebe9543d945 < e8a4c9fc437b16aef38f86ce3275677e36924259 ; affected 662fbcec32f4af6bdcf5b4006b792ebe9543d945 < ebc295ce343600c2d60c1e1e0c5d192080217457 ; affected 662fbcec32f4af6bdcf5b4006b792ebe9543d945 < 3be28e2c9cd0230cb51fd4967df095273afd3848
Linux · Linuxaffected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* ; unaffected 7.1.5 ≤ 7.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD