net: tls: fix use-after-free with partial reads and async decrypt (Linux Linux)

CVE-2024-26582
CRITICAL 9.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: tls: fix use-after-free with partial reads and async decrypt tls_decrypt_sg doesn't take a reference on the pages from clear_skb, so the put_page() in tls_decrypt_done releases them, and we trigger a use-after-free in process_rx_list when we try to read from the partially-read skb.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

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.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 fd31f3996af2627106e22a9f8072764fede51161 < 20b4ed034872b4d024b26e2bc1092c3f80e5db96 ; affected fd31f3996af2627106e22a9f8072764fede51161 < d684763534b969cca1022e2a28645c7cc91f7fa5 ; affected fd31f3996af2627106e22a9f8072764fede51161 < 754c9bab77a1b895b97bd99d754403c505bc79df ; affected fd31f3996af2627106e22a9f8072764fede51161 < 32b55c5ff9103b8508c1e04bfa5a08c64e7a925f
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.79 ≤ 6.1.* ; unaffected 6.6.18 ≤ 6.6.* ; unaffected 6.7.6 ≤ 6.7.* ; unaffected 6.8 ≤ *

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