Fix Use-After-Free in tcp_ao_connect_init
CVE-2024-27394
Key facts: CVE-2024-27394 is a high severity (CVSS 7.8) vulnerability in Linux. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.3%, the estimated probability of exploitation in the next 30 days. Fixed in Linux 80e679b352c3ce5158f3f778cfb77eb767e586fb.
What is CVE-2024-27394?
CVE-2024-27394 is a vulnerability identified in the Linux kernel that relates specifically to the tcp_ao_connect_init function. This function plays a crucial role in the TCP Advanced Option (AO) connection process within the kernel, facilitating communication in network operations. The vulnerability arises from a use-after-free error, which can negatively impact organizations by potentially allowing an attacker to exploit this flaw and compromise the integrity and availability of affected systems. This could lead to unexpected behavior, including system crashes or unauthorized access to sensitive data.
Technical Details
The vulnerability occurs due to the improper handling of the read-copy-update (RCU) mechanism during the traversal of linked list entries in the tcp_ao_connect_init function. The current implementation uses call_rcu without maintaining a critical section, which raises the risk that the RCU grace period may expire before the necessary resources are no longer needed. Consequently, this oversight can allow freed memory to be accessed, leading to undefined behavior and potential exploitation by malicious actors.
To mitigate the issues presented by this vulnerability, it has been suggested that the function should instead utilize hlist_for_each_entry_safe, which ensures safe iteration even if changes to the list occur during traversal.
Potential impact of CVE-2024-27394
-
System Instability: Exploitation of this vulnerability can lead to unexpected system crashes or malfunctions, significantly disrupting an organization’s operations and reducing overall network reliability.
-
Unauthorized Data Access: Attackers could manipulate the flaw to gain unauthorized access to sensitive information stored in affected systems, leading to potential data breaches that compromise organizational data integrity and confidentiality.
-
Increased Attack Surface: The presence of this vulnerability in the Linux kernel provides a pathway for attackers to launch further attacks against the network infrastructure, potentially allowing for deeper system compromises and widespread exploitation.
Affected Version(s)
Linux 7c2ffaf21bd67f73d21560995ce17eaf5fc1d37f
Linux 7c2ffaf21bd67f73d21560995ce17eaf5fc1d37f < 80e679b352c3ce5158f3f778cfb77eb767e586fb
Linux 6.7
References
More Linux vulnerabilities
- CVE-2026-99676: Linux Kernel Vulnerability in Refcount Management and Lockless Socket Access(CRITICAL)
- CVE-2026-99582: Linux Kernel Vulnerability in SCTP Control Chunk Migration(HIGH)
- CVE-2026-99370: Buffer Overflow Vulnerability in Linux Kernel NFSD Product by Linux Foundation(CRITICAL)
- CVE-2026-99362: Buffer Overflow Vulnerability in Linux Kernel NFS(CRITICAL)
- CVE-2026-99312: Memory Management Unit Vulnerability in Linux Kernel Affecting KVM(HIGH)
- CVE-2026-99304: Integer Overflow Vulnerability in Ceph Component of Linux Kernel(CRITICAL)
- CVE-2026-99288: Memory Reuse Vulnerability in Linux Kernel TCP Established Lookups(HIGH)
- CVE-2026-99270: Memory Management Issues in Linux Kernel TCP Socket Migration(HIGH)