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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c46234ebb4d1eee5e09819f49169e51cfc6eb909 to < f2b0dd5b71952777fde1f63dbf1ee16764b492baaffectedc46234ebb4d1eee5e09819f49169e51cfc6eb909 to < db6a6c6863bd22b2543e313cb8e4807fdd33778baffected
Linux Linux
Default version status: affected
4.17affected0 to < 4.17unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected