Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40186

8.1 · HIGH
Published Nov 12, 2025 EPSS 0.54% (43th pctl)

Overview

CVE-2025-40186 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

tcp: Don't call reqsk_fastopen_remove() in tcp_conn_request().

syzbot reported the splat below in tcp_conn_request(). [0]

If a listener is close()d while a TFO socket is being processed in

tcp_conn_request(), inet_csk_reqsk_queue_add() does not set reqsk->sk

and calls inet_child_forget(), which calls tcp_disconnect() for the

TFO socket.

After the cited commit, tcp_disconnect() calls reqsk_fastopen_remove(),

where reqsk_put() is called due to !reqsk->sk.

Then, reqsk_fastopen_remove() in tcp_conn_request() decrements the

last req->rsk_refcnt and frees reqsk, and __reqsk_free() at the

drop_and_free label causes the refcount underflow for the listener

and double-free of the reqsk.

Let's remove reqsk_fastopen_remove() in tcp_conn_request().

Note that other callers make sure tp->fastopen_rsk is not NULL.

[0]:

refcount_t: underflow; use-after-free.

WARNING: CPU: 12 PID: 5563 at lib/refcount.c:28 refcount_warn_saturate

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40186?

CVE-2025-40186 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2025-40186?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-40186?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40186?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40186 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.