CVE-2024-58240
tls: separate no-async decryption request handling from async
Description
In the Linux kernel, the following vulnerability has been resolved: tls: separate no-async decryption request handling from async If we're not doing async, the handling is much simpler. There's no reference counting, we just need to wait for the completion to wake us up and return its result. We should preferably also use a separate crypto_wait. I'm not seeing a UAF as I did in the past, I think aec7961916f3 ("tls: fix race between async notify and socket close") took care of it. This will make the next fix easier.
INFO
Published Date :
Aug. 28, 2025, 10:15 a.m.
Last Modified :
Nov. 9, 2026, 10:10 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2024-58240
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest version.
- Apply the specific patch mentioned in the description.
- Recompile and deploy the updated kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-58240.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-58240 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-58240
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-58240 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-58240 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 09, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: tls: separar el manejo de solicitudes de descifrado no asíncronas del asíncrono Si no estamos haciendo asíncrono, el manejo es mucho más simple. No hay conteo de referencias; solo necesitamos esperar a que la finalización nos despierte y devuelva su resultado. Preferiblemente deberíamos usar también un crypto_wait separado. No estoy viendo un UAF como lo hice en el pasado; creo que aec7961916f3 (“tls: corregir condición de carrera entre notificación asíncrona y cierre de socket”) se encargó de ello. Esto hará la próxima corrección más fácil. -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/html/ssa-032379.html Removed Reference https://cert-portal.siemens.com/productcert/html/ssa-032379.html -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Removed Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Removed Reference Type https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 15, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2024-58240', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:42:32.212758Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011 Added Reference https://git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5 Added Reference https://git.kernel.org/stable/c/5f7761c94b1db7570cab328c9f940a33284509b7 Added Reference https://git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186 Added Reference https://git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d Added Reference https://git.kernel.org/stable/c/f32ab6cb544d01cdc150de5df389ac685aa507b0 Removed Reference https://git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011 Removed Reference https://git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5 Removed Reference https://git.kernel.org/stable/c/5f7761c94b1db7570cab328c9f940a33284509b7 Removed Reference https://git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186 Removed Reference https://git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d Removed Reference https://git.kernel.org/stable/c/f32ab6cb544d01cdc150de5df389ac685aa507b0 Removed Reference Type https://git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 19, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/5f7761c94b1db7570cab328c9f940a33284509b7 Added Reference https://git.kernel.org/stable/c/f32ab6cb544d01cdc150de5df389ac685aa507b0 Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '48905146d11dbf1ddbb2967319016a83976953f5', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': 'dec5b6e7b211e405d3bcb504562ab21aa7e5a64d', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '999115298017a675d8ddf61414fc7a85c89f1186', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '41532b785e9d79636b3815a64ddf6a096647d011', 'versionType': 'git'}], 'programFiles': ['net/tls/tls_sw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.149', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.21', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.7.9', 'versionType': 'semver', 'lessThanOrEqual': '6.7.*'}, {'status': 'unaffected', 'version': '6.8', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/tls/tls_sw.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': 'f32ab6cb544d01cdc150de5df389ac685aa507b0', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '5f7761c94b1db7570cab328c9f940a33284509b7', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '48905146d11dbf1ddbb2967319016a83976953f5', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': 'dec5b6e7b211e405d3bcb504562ab21aa7e5a64d', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '999115298017a675d8ddf61414fc7a85c89f1186', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '41532b785e9d79636b3815a64ddf6a096647d011', 'versionType': 'git'}], 'programFiles': ['net/tls/tls_sw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.265', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.216', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.149', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.21', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.7.9', 'versionType': 'semver', 'lessThanOrEqual': '6.7.*'}, {'status': 'unaffected', 'version': '6.8', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/tls/tls_sw.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 04, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '48905146d11dbf1ddbb2967319016a83976953f5', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': 'dec5b6e7b211e405d3bcb504562ab21aa7e5a64d', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '999115298017a675d8ddf61414fc7a85c89f1186', 'versionType': 'git'}, {'status': 'affected', 'version': '3c4d7559159bfe1e3b94df3a657b2cda3a34e218', 'lessThan': '41532b785e9d79636b3815a64ddf6a096647d011', 'versionType': 'git'}], 'programFiles': ['net/tls/tls_sw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.149', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.21', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.7.9', 'versionType': 'semver', 'lessThanOrEqual': '6.7.*'}, {'status': 'unaffected', 'version': '6.8', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/tls/tls_sw.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Siemens', 'product': 'SIMATIC CN 4100', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'V5.0', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}] -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
May. 12, 2026
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/html/ssa-032379.html -
Initial Analysis by [email protected]
Jan. 09, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.9 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.13 up to (excluding) 6.1.149 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 28, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 28, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: tls: separate no-async decryption request handling from async If we're not doing async, the handling is much simpler. There's no reference counting, we just need to wait for the completion to wake us up and return its result. We should preferably also use a separate crypto_wait. I'm not seeing a UAF as I did in the past, I think aec7961916f3 ("tls: fix race between async notify and socket close") took care of it. This will make the next fix easier. Added Reference https://git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011 Added Reference https://git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186 Added Reference https://git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d