CVE-2025-40257: Linux kernel · mptcp: fix a race in mptcp_pm_del_add_timer()
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 has been implemented in the Linux kernel by adding RCU protection to the affected function to prevent the race condition. Users and administrators should update their Linux kernel to a version that includes this fix. Since no specific patched versions are provided, check the official Linux kernel advisories or vendor updates for the patch.
Description
A critical race condition vulnerability in the Linux kernel's multipath TCP (mptcp) implementation was resolved. The function mptcp_pm_del_add_timer() could call sk_stop_timer_sync() on a timer entry that might have already been freed by another thread, leading to a use-after-free condition. This issue was detected by syzbot and fixed by adding RCU protection to prevent concurrent access to freed memory. The vulnerability could result in kernel memory corruption and potentially allow an attacker to cause denial of service or escalate privileges.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40257 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-253495.html (opens in a new tab)
- git.kernel.org/stable/c/385ddc0f008f24d1e7d03be998b3a98a37bd29ff (opens in a new tab)
- git.kernel.org/stable/c/426358d9be7ce3518966422f87b96f1bad27295f (opens in a new tab)
- git.kernel.org/stable/c/6d3275d4ca62e2c02e1b7e8cd32db59df91c14b7 (opens in a new tab)
- git.kernel.org/stable/c/9be29f8e7ce4e147e56caac2c3a0ce3573cf9c17 (opens in a new tab)
- git.kernel.org/stable/c/bbbd75346c8e6490b19c2ba90f38ea66ccf352b2 (opens in a new tab)
- git.kernel.org/stable/c/c602cc344b4b8d41515fec3ffa98457ac963ee12 (opens in a new tab)
- git.kernel.org/stable/c/e2d1ad207174a7cd7903dd27a00db4b2dfa6c64b (opens in a new tab)