CVE-2024-26585
JSON

9.8critical

tls: fix race between tx work scheduling and socket close

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

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a42055e8d2c30d4decfc13ce943d09c7b9dad221 before dd32621f19243f89ce830919496a5dcc2158aa33, from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before 196f198ca6fce04ba6ce262f5a0e4d567d7d219d, from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before 6db22d6c7a6dc914b12c0469b94eb639b6a8a146, from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before e327ed60bff4a991cd7a709c47c4f0c5b4a4fd57, from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before e01e3934a1b2d122919f73bc6ddbe1cdafc4bbdb, 4.20
Not affected: before 4.20, from 5.15.165 up to 5.15.*, from 6.1.84 up to 6.1.*, from 6.6.18 up to 6.6.*, from 6.7.6 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelfrom 4.20.0 before 6.6.18, from 6.7.0 before 6.7.6NVD

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
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: tls: corrige la ejecución entre la programación de trabajo de transmisión y el cierre del socket De manera similar a el commit anterior, el hilo de envío (recvmsg/sendmsg) puede cerrarse tan pronto como el controlador de cifrado asíncrono llame a complete(). Reordene la programación del trabajo antes de llamar a complete(). En primer lugar, esto parece más lógico, ya que es el orden inverso de lo que hará el hilo de envío.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26585 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-26585 changed 2026-08-04Public domain