CVE-2024-58240
JSON

9.8critical

tls: separate no-async decryption request handling from async

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before f32ab6cb544d01cdc150de5df389ac685aa507b0, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 5f7761c94b1db7570cab328c9f940a33284509b7, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 48905146d11dbf1ddbb2967319016a83976953f5, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before dec5b6e7b211e405d3bcb504562ab21aa7e5a64d, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 999115298017a675d8ddf61414fc7a85c89f1186, from 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 before 41532b785e9d79636b3815a64ddf6a096647d011, 4.13
Not affected: before 4.13, from 5.10.265 up to 5.10.*, from 5.15.216 up to 5.15.*, from 6.1.149 up to 6.1.*, from 6.6.21 up to 6.6.*, from 6.7.9 up to 6.7.*
CVE List
linux linux_kernelfrom 4.13 before 6.1.149, from 6.2 before 6.6.21, from 6.7 before 6.7.9, 6.8NVD
debian debian_linux11.0NVD

All scores

Linux9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58240 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-58240 changed 2026-11-09Public domain