tls: fix race between tx work scheduling and socket close (Linux Linux)

CVE-2024-26585
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.59 % · centile 48 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected a42055e8d2c30d4decfc13ce943d09c7b9dad221 < dd32621f19243f89ce830919496a5dcc2158aa33 ; affected a42055e8d2c30d4decfc13ce943d09c7b9dad221 < 196f198ca6fce04ba6ce262f5a0e4d567d7d219d ; affected a42055e8d2c30d4decfc13ce943d09c7b9dad221 < 6db22d6c7a6dc914b12c0469b94eb639b6a8a146 ; affected a42055e8d2c30d4decfc13ce943d09c7b9dad221 < e327ed60bff4a991cd7a709c47c4f0c5b4a4fd57 ; affected a42055e8d2c30d4decfc13ce943d09c7b9dad221 < e01e3934a1b2d122919f73bc6ddbe1cdafc4bbdb
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.15.165 ≤ 5.15.* ; unaffected 6.1.84 ≤ 6.1.* ; unaffected 6.6.18 ≤ 6.6.* ; unaffected 6.7.6 ≤ 6.7.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD