CVE-2024-27394

tcp: Fix Use-After-Free in tcp_ao_connect_init

HIGH
7.8
CVSS Score
Published: May 9, 2024 at 04:37 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.7 ≤ v < 6.8.96.7 ≤ v < 6.96.9 rc16.9 rc26.9 rc36.9 rc46.9 rc57c2ffaf21bd67c2ffaf21bd67f73d21560995ce17eaf5fc1d37f
Vendor states this is fixed in 80e679b352c3 (fixed)
Vendor states this is fixed in 80e679b352c3ce5158f3f778cfb77eb767e586fb (fixed)
Vendor states this is fixed in ca4fb6c6764b (fixed)
Vendor states this is fixed in ca4fb6c6764b3f75b4f5aa81db1536291897ff7f (fixed)
Vendor states this is fixed in 6.7 (unaffected)
Vendor states this is fixed in 6.8.9 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/80e679b352c3ce5158f3f778cfb77eb767e586fb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca4fb6c6764b3f75b4f5aa81db1536291897ff7f

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card