What’s Vulnerable › Vulnerabilities

CVE-2024-26582: net: tls: fix use-after-free with partial reads and async decrypt

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.79, 6.6.18, 6.7.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26582 or the next vulnerability affects your stack