CVE-2025-40258: Linux kernel · mptcp: fix race condition in mptcp_schedule_work()
Source GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel source code by correcting the order of reference count increment and work scheduling in mptcp_schedule_work(). Users and administrators should apply the official Linux kernel updates that include this fix. Since this is not a cloud service, remediation depends on deploying patched kernel versions. Patch status is not explicitly confirmed in the provided data; therefore, check the Linux kernel vendor advisory for the latest remediation guidance and apply updates accordingly.
Description
A critical use-after-free vulnerability in the Linux kernel's mptcp_schedule_work() function has been resolved. The issue arises from a race condition where a reference count on a socket can be released prematurely, leading to potential memory corruption. This flaw was reported by syzbot and involves improper ordering of reference count increment and work scheduling. The vulnerability allows for potential complete compromise of confidentiality, integrity, and availability of the affected system.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40258 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-253495.html (opens in a new tab)
- git.kernel.org/stable/c/035bca3f017ee9dea3a5a756e77a6f7138cc6eea (opens in a new tab)
- git.kernel.org/stable/c/3fc7723ed01d1130d4bf7063c50e0af60ecccbb4 (opens in a new tab)
- git.kernel.org/stable/c/8f9ba1a99a89feef9b5867c15a0141a97e893309 (opens in a new tab)
- git.kernel.org/stable/c/99908e2d601236842d705d5fd04fb349577316f5 (opens in a new tab)
- git.kernel.org/stable/c/ac28dfddedf6f209190950fc71bcff65ec4ab47b (opens in a new tab)
- git.kernel.org/stable/c/db4f7968a75250ca6c4ed70d0a78beabb2dcee18 (opens in a new tab)
- git.kernel.org/stable/c/f865e6595acf33083168db76921e66ace8bf0e5b (opens in a new tab)