CVE-2024-27394
JSON

7.8high

tcp: Fix Use-After-Free in tcp_ao_connect_init

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: Fix Use-After-Free in tcp_ao_connect_init Since call_rcu, which is called in the hlist_for_each_entry_rcu traversal of tcp_ao_connect_init, is not part of the RCU read critical section, it is possible that the RCU grace period will pass during the traversal and the key will be free. To prevent this, it should be changed to hlist_for_each_entry_safe.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7c2ffaf21bd67f73d21560995ce17eaf5fc1d37f before ca4fb6c6764b3f75b4f5aa81db1536291897ff7f, from 7c2ffaf21bd67f73d21560995ce17eaf5fc1d37f before 80e679b352c3ce5158f3f778cfb77eb767e586fb, 6.7
Not affected: before 6.7, from 6.8.9 up to 6.8.*, from 6.9 up to *
CVE List
linux linux_kernel6.7, from 7c2ffaf21bd6 before ca4fb6c6764b, from 7c2ffaf21bd6 before 80e679b352c3, from 6.7 before 6.8.9, 6.9
Not affected: before 6.7, from 6.8.9 before 6.9, from 6.9 up to *
CVE List, NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.4high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: tcp: Fix Use-After-Free in tcp_ao_connect_init Since call_rcu, which is called in the hlist_for_each_entry_rcu traversal of tcp_ao_connect_init, is not part of the RCU read critical section, it is possible that the RCU grace period will pass during the traversal and the key will be free. To prevent this, it should be changed to hlist_for_each_entry_safe.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tcp: Fix Use-After-Free en tcp_ao_connect_init Dado que call_rcu, que se llama en el recorrido hlist_for_each_entry_rcu de tcp_ao_connect_init, no forma parte de la sección crítica de lectura de RCU, es posible que el El período de gracia de RCU transcurrirá durante el recorrido y la clave quedará gratuita. Para evitar esto, se debe cambiar a hlist_for_each_entry_safe.

References

Sources

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