CVE-2024-26582
JSON

9.8critical

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

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

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom fd31f3996af2627106e22a9f8072764fede51161 before 20b4ed034872b4d024b26e2bc1092c3f80e5db96, from fd31f3996af2627106e22a9f8072764fede51161 before d684763534b969cca1022e2a28645c7cc91f7fa5, from fd31f3996af2627106e22a9f8072764fede51161 before 754c9bab77a1b895b97bd99d754403c505bc79df, from fd31f3996af2627106e22a9f8072764fede51161 before 32b55c5ff9103b8508c1e04bfa5a08c64e7a925f, 6.0
Not affected: before 6.0, from 6.1.79 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 6.0 before 6.1.79, from 6.2.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
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 no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: tls: corrige el use-after-free con lecturas parciales y descifrado asíncrono tls_decrypt_sg no toma una referencia en las páginas de clear_skb, por lo que put_page() en tls_decrypt_done las libera y activamos un use-after-free en Process_rx_list cuando intentamos leer desde el skb parcialmente leído.

References

Sources

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