Linux Kernel
CVE-2024-27394
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local unprivileged shell
-
DeliveryConfigure TCP-AO socket option
-
ExploitInitiate TCP connection triggering tcp_ao_connect_init
-
InstallRace RCU grace period during key list traversal
-
C2Dereference freed tcp_ao_key (UAF)
-
ExecuteCorrupt kernel memory
-
ImpactEscalate privileges or crash kernel
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a local account with at minimum low-level user privileges (consistent with CVSS PR:L) - remote unauthenticated exploitation is not possible given AV:L. The vulnerable code path is only reachable when TCP Authentication Option (TCP-AO) is in active use or being configured on the affected system, meaning environments that do not use RFC 5925 TCP-AO are not exposed to this specific flaw. Successful exploitation additionally depends on winning a race condition during RCU key list traversal, which constrains - but does not eliminate - exploitation reliability on hardened or heavily loaded systems. Limiting factors include: requirement for local shell access, TCP-AO must be configured or in use, kernel hardening features (KFENCE, SLAB_FREELIST_RANDOM) increase exploitation complexity, and no public exploit tooling is currently known. |
| Impact | The CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) accurately reflects the local attack vector and the severity of kernel-level UAF impact. However, real-world risk is tempered significantly: EPSS at 0.26% places this in the 18th percentile, meaning roughly 82% of published CVEs are more likely to be exploited in the near term. The vulnerability is not listed in the CISA KEV catalog, no public proof-of-concept exploit has been identified in the available data, and exploitation requires a local account with at minimum low-privilege shell access - not reachable from the network. The attack complexity is rated Low, but reliably triggering a race condition in RCU reclamation to achieve controlled UAF exploitation is non-trivial in practice, particularly on modern kernels with hardening mitigations (SLAB_FREELIST_RANDOM, KFENCE, etc.). The signals are consistent: this is a genuine kernel memory safety issue warranting patching during normal maintenance cycles, but it does not represent an urgent emergency patch priority for air-gapped or access-controlled systems. No conflicting signals detected; CVSS vector and description are internally consistent. |
| Exploit ScenarioDerived | A local attacker with a standard unprivileged shell account on a Linux system using TCP-AO initiates a TCP connection that triggers tcp_ao_connect_init. By engineering the timing so that the RCU grace period elapses during the key list traversal - potentially through CPU pressure or other scheduling manipulation - the attacker causes the kernel to dereference a freed tcp_ao_key object, enabling memory corruption that could be chained into kernel privilege escalation or an exploitable kernel panic. No public proof-of-concept exploit is identified in the available data, and reliable exploitation of this race condition requires kernel memory layout knowledge. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Aug 04, 2026
Use-After-Free in the Linux kernel's TCP Authentication Option (TCP-AO) subsystem within tcp_ao_connect_init exposes local attackers with low-privileged accounts to memory corruption that can lead to kernel privilege escalation, information disclosure, or denial of service. The flaw exists because call_rcu is invoked during an hlist_for_each_entry_rcu traversal outside the RCU read critical section, allowing the RCU grace period to expire mid-traversal and the referenced key structure to be freed while still in use. No active exploitation is confirmed (not in CISA KEV), and EPSS stands at 0.26% (18th percentile), indicating limited observed exploitation activity despite the High CVSS score.
Earlier versions of this analysis (2)
Use-after-free in the Linux kernel TCP Authentication Option subsystem (tcp_ao_connect_init) exposes local low-privileged users to potential kernel heap corruption and privilege escalation. The flaw exists because call_rcu - which schedules deferred memory freeing - is invoked inside an hlist_for_each_entry_rcu traversal that is not protected by an RCU read-side critical section, allowing the grace period to expire mid-iteration and the key structure to be freed while still referenced. No public exploit code and no CISA KEV listing have been identified; EPSS of 0.26% (18th percentile) confirms low observed exploitation pressure at time of analysis.
Use-after-free memory corruption in the Linux kernel's TCP Authentication Option (TCP-AO) subsystem allows a local low-privileged attacker to corrupt kernel memory during TCP connection initialization, with potential for information disclosure or privilege escalation. The flaw exists in tcp_ao_connect_init(), where RCU-protected key traversal is improperly paired with call_rcu() outside the RCU read critical section, permitting the grace period to expire mid-traversal and freeing the key object while it remains in use. No active exploitation is confirmed in CISA KEV and EPSS sits at 0.26% (18th percentile), indicating currently low real-world exploitation pressure despite a CVSS score of 7.8.
RemediationAI
Apply the upstream kernel fix by updating to a kernel version that incorporates commits 80e679b352c3ce5158f3f778cfb77eb767e586fb or ca4fb6c6764b3f75b4f5aa81db1536291797ff7f from the stable tree; consult your Linux distribution's security advisories (e.g., RHSA, USN, DSA) for the specific patched package version applicable to your distribution. As an interim compensating control, disabling TCP-AO on systems that do not require RFC 5925 TCP segment authentication eliminates the vulnerable code path entirely - this is achievable via firewall policy or by ensuring no tcp_ao socket options are configured. Restricting local user access to the minimum necessary (principle of least privilege) reduces the attacker surface, since exploitation requires a local shell account. Note that neither compensating control substitutes for the kernel patch on systems where TCP-AO is operationally required.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TCP Authentication Option (TCP-AO, RFC 5925) is a kernel-level mechanism for cryptographically authenticating TCP segments. The affected code path, tcp_ao_connect_init, iterates over a hash list of TCP-AO keys using hlist_for_each_entry_rcu - an iterator designed for use inside an RCU read-side critical section (rcu_read_lock/rcu_read_unlock). However, call_rcu is invoked within this traversal loop without being enclosed in such a critical section. Because call_rcu schedules deferred freeing after a grace period, and because no read-side lock is held, the grace period can elapse during the traversal itself, causing the key object to be freed while the loop still holds a pointer to it - a textbook CWE-416 Use-After-Free. The fix replaces hlist_for_each_entry_rcu with hlist_for_each_entry_safe, which captures the next pointer before any potential free, making the traversal safe against concurrent reclamation. Affected CPEs span the entire Linux kernel product line through 6.9-rc5.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local UAF in kernel context reachable by low-privileged user; no network vector, no user interaction; full C/I/A kernel-level impact when triggered.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
5DescriptionCVE.org
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.
Executive ViewAI
A use-after-free vulnerability in the Linux kernel's TCP-AO subsystem (CVE-2024-27394) enables unprivileged local users to escalate privileges to kernel-level access, potentially compromising system integrity and enabling data exfiltration across environments with multi-user access. No public exploit has been identified at time of analysis; however, the high technical severity and ubiquity of Linux in infrastructure necessitate expedited patching to eliminate privilege escalation vectors.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB