CVE-2025-39950: NULL pointer dereference in Linux kernel TCP-AO with TCP_REPAIR
- Vendor
- Linux
CVE-2025-39950 is a Linux kernel networking vulnerability in the TCP subsystem affecting the TCP Authentication Option implementation. During a connect() operation on a TCP socket configured with a TCP-AO key and with TCP_REPAIR enabled, tcp_connect() can reach tcp_finish_connect() with a NULL skb pointer. That NULL pointer is then passed into tcp_ao_finish_connect() in net/ipv4/tcp_ao.c, where the code dereferences tcp_hdr(skb)->seq without first validating that skb is non-NULL. This results in a kernel NULL pointer dereference. The flaw was introduced in Linux kernel 6.7 and fixed by adding an explicit NULL check before dereferencing skb.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation causes a kernel oops or panic, resulting in local denial of service and system instability. Based on the available information, the demonstrated consequence is a crash in kernel context rather than code execution or privilege escalation.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, avoid using TCP_REPAIR together with sockets configured for TCP-AO. Restrict access to the ability to place sockets into TCP_REPAIR mode to trusted administrators and trusted workloads only, and minimize exposure of systems that permit untrusted local users or containers to exercise advanced TCP socket options. These measures only reduce exploitability and do not replace patching.
Remediation
Patch, then assume compromise.
Upgrade to a Linux kernel release that includes the upstream fix for CVE-2025-39950. Reported fixed versions include 6.12.49, 6.16.9, and 6.17 and later stable kernels incorporating the patch. Vendor kernel updates that backport the fix should also remediate the issue. The Linux kernel CVE team recommends updating to the latest stable kernel release rather than cherry-picking individual commits.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-39950 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-39950 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-39950?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2025-39950.
- Is there a patch for CVE-2025-39950?
- Upgrade to a Linux kernel release that includes the upstream fix for CVE-2025-39950. Reported fixed versions include 6.12.49, 6.16.9, and 6.17 and later stable kernels incorporating the patch.
- What products are affected by CVE-2025-39950?
- Linux Kernel.
- How severe is CVE-2025-39950?
- CVE-2025-39950 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.16% (5th percentile) as of Sep 25, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.