Impact
The Linux kernel suffered a use‑after‑free (CWE‑825) in tcp_ao_destroy_sock due to the removal of the RCU grace period. When a socket in the TCP_SYN_SENT state is destroyed, the associated TCP‑AO information may be accessed after it has been freed, leading to kernel memory corruption and a general‑protection fault. This race condition between the reader and the synchronous free can allow an attacker to trigger a crash. The flaw compromises kernel integrity and can cause a kernel crash.
Affected Systems
The defect exists in Linux kernel implementations that lack the commit restoring the RCU grace period – effectively older kernels before the r4caf12c7 patch. No precise kernel version range is listed, so any system running a pre‑patch kernel may be vulnerable. Maintaining a kernel that includes the fix or applying the patch is required to protect affected systems.
Risk and Exploitability
The EPSS score is reported as less than 1%, indicating a very low exploitation probability, and the flaw is not listed in the CISA KEV catalog. Nevertheless, the severity is high because a kernel crash can result in denial of service. The flaw is exercised by an unprivileged local user who can create a TCP socket with the TCP_AO_ADD_KEY flag, or potentially through a crafted network packet if raw sockets are permitted. Without the RCU grace period, the softirq reader can dereference a freed pointer, producing a wild‑memory‑access. The applied patch restores the grace period and replaces the synchronous free with a call_rcu, eliminating the use‑after‑free under all circumstances.
OpenCVE Enrichment