Skip to main content

Linux Kernel CVE-2024-27394

HIGH
Use After Free (CWE-416)
2024-05-14 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local unprivileged shell
  2. Delivery
    Configure TCP-AO socket option
  3. Exploit
    Initiate TCP connection triggering tcp_ao_connect_init
  4. Install
    Race RCU grace period during key list traversal
  5. C2
    Dereference freed tcp_ao_key (UAF)
  6. Execute
    Corrupt kernel memory
  7. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Aug 04, 2026 - 12:47 cvss changed CVSS 7.8

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.

v1 Aug 04, 2026 - 12:46 cvss changed CVSS 7.8

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 12:48 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:47 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:46 vuln.today
v1 - CVSS changed
CVSS changed
Aug 04, 2026 - 11:23 NVD
7.4 (HIGH) 7.8 (HIGH)
CVE Published
May 14, 2024 - 15:12 cve.org
HIGH 7.4

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Ubiquitous
powers majority of servers, cloud infrastructure, and embedded systems worldwide
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy