net/tls: Fail tls_sw_splice_read() after a failed async decrypt
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a808aadff634c7a408b2ab84d5919e9a741fdb5b, Kernel 06c2a53604fa1dc4820063828d7dadb3675b7af8, Kernel 18ae1e95f20867106a28820c208a9cec99dda861 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: net/tls: Fail tls_sw_splice_read() after a failed async decrypt When an async decrypt fails, tls_decrypt_done() records the error in ctx->async_wait.err and calls tls_err_abort(), which stores it in sk_err. tls_sw_recvmsg() and tls_sw_read_sock() each read async_wait.err once they hold the reader lock and fail the call: a record that did not authenticate breaks the connection. tls_sw_splice_read() has no such check, and sk_err does not stand in for one. tls_rx_rec_wait() tests sk_err only inside the loop it skips whenever a record is already parsed, and the first reader to reach sock_error() clears it, while async_wait.err persists. A splice therefore keeps delivering records on a connection that recvmsg() and read_sock() refuse to read. Read async_wait.err in tls_sw_splice_read() as the other two readers do.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f314bfee81b1bf8e01168177b2f65f24eb8da63a <a808aadff634c7a408b2ab84d5919e9a741fdb5b, >=f314bfee81b1bf8e01168177b2f65f24eb8da63a <06c2a53604fa1dc4820063828d7dadb3675b7af8, >=f314bfee81b1bf8e01168177b2f65f24eb8da63a <18ae1e95f20867106a28820c208a9cec99dda861, >=f314bfee81b1bf8e01168177b2f65f24eb8da63a <4b177911eb9f799e9841c2f87c75b08cb112757a, >=f314bfee81b1bf8e01168177b2f65f24eb8da63a <82d9269f01ebfd835b6256aa17016a974cbbc647, >=f314bfee81b1bf8e01168177b2f65f24eb8da63a <976df67f463db1fddaf2a32fb04f57ad2891a23d, =5.19 | a808aadff634c7a408b2ab84d5919e9a741fdb5b, 06c2a53604fa1dc4820063828d7dadb3675b7af8, 18ae1e95f20867106a28820c208a9cec99dda861, 4b177911eb9f799e9841c2f87c75b08cb112757a, 82d9269f01ebfd835b6256aa17016a974cbbc647, 976df67f463db1fddaf2a32fb04f57ad2891a23d |
| linux-kernel: Kernel | >=6.13.0 <6.18.46, >=6.19.0 <7.1.10, >=6.2.0 <6.6.153, >=6.7.0 <6.12.105, >=5.19.0 <6.1.184 | 6.18.46, 7.1.10, 6.6.153, 6.12.105, 6.1.184 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket