net: tls: fix use-after-free with partial reads and async decrypt
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: tls: fix use-after-free with partial reads and async decrypt
tls_decrypt_sg doesn't take a reference on the pages from clear_skb, so the put_page() in tls_decrypt_done releases them, and we trigger a use-after-free in process_rx_list when we try to read from the partially-read skb.
From the CVE record · Linux
The Linux kernel’s network TLS code has a use-after-free involving partial reads and asynchronous decryption. Pages can be released before a partially read buffer is accessed again. The input does not specify attacker access requirements or whether user interaction is needed.
Operators running the Linux kernel should check their versions; affected versions are not specified in the input.