CVE-2024-58239 tls: stop recv() if initial process_rx_list gave us non-DATA
A logic error in the Linux kernel TLS implementation can cause improper record merging, potentially leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-58239?
CVE-2024-58239 is a high-severity denial of service vulnerability in Linux kernel, published on 22 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
tls: stop recv() if initial process_rx_list gave us non-DATA
If we have a non-DATA record on the rx_list and another record of the same type still on the queue, we will end up merging them: - process_rx_list copies the non-DATA record - we start the loop and process the first available record since it's of the same type - we break out of the loop since the record was not DATA
Just check the record type and jump to the end in case process_rx_list did some work.
Which versions are affected by CVE-2024-58239?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-58239?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-58239 being exploited?
There is no known exploitation of CVE-2024-58239 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-58239, DEBIAN-CVE-2024-58239, GHSA-255m-8v4r-mcgr, UBUNTU-CVE-2024-58239.