
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68188 is a Use-After-Free (UAF) vulnerability in the Linux kernel's TCP Fast Open implementation, specifically within the tcp_fastopen_active_disable_ofo_check() function. The flaw arises from improper access to dst_dev()->flags without RCU (Read-Copy-Update) protection, creating a race condition that can lead to a UAF memory access. It affects the Linux kernel across a broad range of versions from the initial commit (1da177e4c3f4) up to the patched releases in stable branches. Fixed versions include Linux 6.12.58, 6.17.8, and 6.18. The vulnerability was published on December 16, 2025, with an EPSS score of approximately 0.017% (Feedly, EUVD).
The root cause is a missing RCU read lock around the dst_dev() call inside tcp_fastopen_active_disable_ofo_check(), classified as CWE-416 (Use After Free). Without RCU protection, a concurrent code path can free the destination device (dst_dev) while the TCP Fast Open path is still reading its flags field, resulting in a UAF dereference. The fix replaces the unprotected dst_dev() call with dst_dev_rcu(), which properly holds an RCU read lock to prevent the device from being freed during access, while also eliminating a pair of unnecessary atomic operations. The vulnerability is local in nature, requiring the ability to trigger TCP Fast Open out-of-order packet handling on the affected system (EUVD, Kernel Patch 1).
Successful exploitation of this UAF vulnerability could allow a local attacker to cause a kernel crash (denial of service) or potentially escalate privileges by corrupting kernel memory through the freed device structure. The affected code path is in the TCP networking stack, meaning exploitation could also destabilize network-related kernel subsystems. Given the kernel-level nature of the bug, a successful exploit could compromise the confidentiality, integrity, and availability of the entire system (Feedly, EUVD).
The Linux kernel maintainers have released patches addressing this vulnerability in stable branches. Users should upgrade to Linux kernel version 6.12.58, 6.17.8, or 6.18 or later, which include the fix replacing dst_dev() with dst_dev_rcu() in tcp_fastopen_active_disable_ofo_check(). As a temporary workaround, disabling TCP Fast Open (net.ipv4.tcp_fastopen=0 via sysctl) may reduce exposure, though upgrading to a patched kernel is the recommended remediation. Linux distribution vendors (e.g., SUSE, as noted in security advisories) are expected to backport the fix to their supported kernel versions (EUVD, Linux Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."