Technical impact
The Linux kernel suffered a use-after-free in tcp_ao_destroy_sock triggered by the removal of an RCU grace period. When a TCP socket in the TCP_SYN_SENT state is destroyed, the associated TCP-AO structure may be accessed from a concurrent softirq handler after it has been freed. This race can lead to a kernel memory corruption and a general protection fault, effectively crashing the kernel and causing a denial-of-service. The flaw is a classic instance of concurrency race (CWE-362), use-after-free (CWE-416), and wild memory access (CWE-825).
Affected Systems
The defect exists in any Linux kernel that does not contain the commit restoring the RCU grace period for tcp_ao_destroy_sock. The advisory does not list explicit kernel version ranges, but the CPEs refer to general linux_kernel releases, including early release candidates such as 7.1-rc2. Systems running those kernels without the patch or newer kernel releases that incorporate the fix are at risk.
Risk and Exploitability
The CVSS score of 9.8 denotes a critical severity, while the EPSS score of less than 1% indicates a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Likely attack vectors involve a local unprivileged user who creates a TCP socket with the TCP_AO_ADD_KEY and TCP_MD5SIG options and then sends crafted raw IPv4 packets that trigger tcp_ao_destroy_sock. The race between the socket destructor and the softirq reader can then cause a wild memory access in a kernel context. Although the flaw does not provide privilege escalation, the kernel crash can be leveraged for denial-of-service attacks against the host or service.
Ubuntu USN