tls: Consume empty data records in tls_sw_splice_read()
- CVE-2026-143187
- GHSA-9rgp-p4hx-7339
- EUVD-2026-142837
Description
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 4.17 none stated before 4.17: not affected none stated from 7.3.7 up to 7.3.*: not affected none stated from 7.4-rc3 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.