AZL-118295: CVE-2026-143187 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
tls: Consume empty data records in tlsswspliceread()
A zero-length applicationdata record decrypts to fulllen == 0, so tlsswspliceread() 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 tlsswreadsock() does. The cap on consecutive empty records bounds the loop.
When an empty record precedes a closenotify, 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In Linux kernel tls_sw_splice_read(), consume an empty data record and fetch the next record as tls_sw_read_sock() does; cap consecutive empty records to bound the loop.
Event History
Frequently Asked Questions
What traffic pattern triggers the incorrect connection termination?
A zero-length TLS application_data record must be processed by tls_sw_splice_read(). The function returns zero after splicing zero bytes, which its caller interprets as EOF and uses to tear down a connection that is still live.
How does the behavior differ when an empty record is followed by TLS connection-control data?
The resolved behavior consumes the empty record and continues reading, with a cap on consecutive empty records. If the next record is close_notify or another alert/control record, splice(2) reports -EINVAL rather than falsely reporting EOF.