CVE-2024-26585 tls: fix race between tx work scheduling and socket close
A race condition in the Linux kernel TLS implementation can lead to a denial of service when a socket is closed during asynchronous crypto operations.
- 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-26585?
CVE-2024-26585 is a critical vulnerability in Linux kernel, published on 21 Feb 2024. 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: fix race between tx work scheduling and socket close
Similarly to previous commit, the submitting thread (recvmsg/sendmsg) may exit as soon as the async crypto handler calls complete(). Reorder scheduling the work before calling complete(). This seems more logical in the first place, as it's the inverse order of what the submitting thread will do.
Weakness: CWE-362
Which versions are affected by CVE-2024-26585?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26585?
Apply the vendor's patch.
Is CVE-2024-26585 being exploited?
There is no known exploitation of CVE-2024-26585 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-35787, AZL-35788, BELL-CVE-2024-26585, DEBIAN-CVE-2024-26585, GHSA-63f3-2rgp-79qx, ROOT-OS-DEBIAN-11-CVE-2024-26585 and 1 more.