Use After Free in Linux
CVE-2024-58240
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 28.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 3c4d7559159bfe1e3b94df3a657b2cda3a34e218, 4.13, 0
- Linux Kernel — versions 6.8
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5 (Patch)
- git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d (Patch)
- git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186 (Patch)
- git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011 (Patch)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-032379.html
- git.kernel.org/stable/c/f32ab6cb544d01cdc150de5df389ac685aa507b0
- git.kernel.org/stable/c/5f7761c94b1db7570cab328c9f940a33284509b7