inet: inet_defrag: prevent sk release while still in use
CVE-2024-26921
Key facts: CVE-2024-26921 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.4%, the estimated probability of exploitation in the next 30 days. Fixed in Linux 1b6de5e6575b56502665c65cf93b0ae6aa0f51ab, 9705f447bf9a6cd088300ad2c407b5e1c6591091, 4318608dc28ef184158b4045896740716bea23f0, 7d0567842b78390dd9b60f00f1d8f838d540e325.
What is CVE-2024-26921?
CVE-2024-26921 is a vulnerability within the Linux kernel that impacts how fragmented packets are handled during network communication. Specifically, it pertains to the way that socket buffers (skbs) are manipulated during the reassembly of IP fragments. The vulnerability arises when the kernel inappropriately releases resources associated with a socket while it is still in use, which can lead to unexpected behavior and degraded performance in network applications. This issue poses a risk for organizations relying on Linux-based systems that require stable and reliable network services.
Technical Details
The vulnerability is tied to the inet_defrag function in the Linux kernel, specifically concerning the management of socket buffers during packet processing. When fragmented packets are sent through the network stack, the kernel typically uses the socket buffer's associated socket (skb->sk) for routing and management. However, if skb fragmentation occurs and reassembly is not yet complete, the kernel may attempt to release the socket resource mistakenly. This misuse can lead to various issues in downstream processing, as functions that depend on the socket's persistence may fail or behave incorrectly, affecting network performance and reliability.
Potential Impact of CVE-2024-26921
-
Network Stability Issues: The vulnerability can cause disruptions in network traffic handling, leading to potential packet loss or corruption. This instability increases the risk of degraded performance for applications relying on consistent network connectivity.
-
Resource Mismanagement: Improper handling of socket resources may result in exhausted kernel resources, which can impede the operation of network services and applications, potentially leading to service outages.
-
Exploitation Risks: While there are currently no known active exploitations, the nature of the vulnerability suggests that it could be leveraged by attackers in the future to disrupt network services or to perform denial-of-service attacks against affected systems, compounding the overall security risk for organizations.
Affected Version(s)
Linux 7026b1ddb6b8d4e6ee33dc2bd06c0ca8746fa7ab < 1b6de5e6575b56502665c65cf93b0ae6aa0f51ab
Linux 7026b1ddb6b8d4e6ee33dc2bd06c0ca8746fa7ab < 9705f447bf9a6cd088300ad2c407b5e1c6591091
Linux 7026b1ddb6b8d4e6ee33dc2bd06c0ca8746fa7ab < 4318608dc28ef184158b4045896740716bea23f0
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)