
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68227 is a protocol fallback detection flaw in the Linux kernel's MPTCP (Multipath TCP) implementation when used in conjunction with BPF sockmap. The vulnerability arises when a server with MPTCP enabled receives a standard TCP SYN (without MPTCP options), triggering a fallback path that incorrectly compares socket protocol pointers (sk->sk_prot) instead of the socket family, leading to incorrect socket operations assignment and kernel warnings in mptcp_stream_accept. It was published on December 16, 2025, and affects the Linux kernel broadly, with Microsoft specifically identifying Azure Linux 3 kernel version 6.6.117.1-1 as a confirmed affected product. The CVSS v3.1 base score is 7.8 (High) (Microsoft MSRC).
The root cause is an incorrect pointer comparison in the mptcp_fallback_tcp_ops() function, which uses sk->sk_prot to identify the native protocol when sockmap has already replaced it with a custom BPF protocol handler — a classic case of improper state validation (CWE-843, type confusion). The attack vector is local (AV:L), requiring low privileges and no user interaction. The exploitation sequence involves: (1) a BPF sockmap updating sk_prot via tcp_bpf_update_proto() during a passive connection establishment callback, and (2) a subsequent MPTCP-to-TCP fallback in subflow_syn_recv_sock() that then incorrectly evaluates the protocol pointer, potentially corrupting sk->sk_socket->ops. The upstream fix replaces the sk_prot pointer comparison with the more stable sk_family field (Microsoft MSRC).
Successful exploitation by a local attacker with low privileges could result in kernel warnings, system instability, denial of service, information disclosure, or integrity compromise of the affected system. The vulnerability is particularly significant in multi-tenant or shared environments (e.g., cloud infrastructure) where both MPTCP and BPF sockmap are enabled, as a low-privileged tenant could potentially destabilize the host kernel or access sensitive kernel memory. The CVSS assessment reflects high impacts across confidentiality, integrity, and availability (Microsoft MSRC).
Microsoft has released a patch for Azure Linux 3 kernel version 6.6.117.1-1 and newer. Upstream Linux kernel patches are available via stable kernel commits (e.g., 1a0d5c74af9b, 7ee8f015eb47, 9b1980b6f23f, 037cc50589643). Downstream distributions including Ubuntu (USN-8096-x, USN-8094-x, USN-8152-1), Debian (DLA-4436-1), Amazon Linux 2 (ALAS2KERNEL-5.15-2025-096, ALAS2KERNEL-5.10-2026-112), Oracle Linux, and SUSE have also issued kernel updates. As a workaround for systems that cannot be immediately patched, consider disabling MPTCP (sysctl -w net.mptcp.enabled=0) or BPF sockmap functionality if not operationally required, and restrict local access to privileged operations (Microsoft MSRC, Ubuntu USN-8096-1, Debian LTS).
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."