CVE-2025-40257
A race condition in the Linux kernel’s MPTCP implementation can cause a use‑after‑free error, potentially crashing the system or allowing arbitrary code execution. The flaw occurs when a timer is stopped while its data structure is freed. The issue has been fixed by adding RCU protection to the timer handling code.
An official fix is available, so this entry is kept for 30 days and then removed automatically.
Who is affected
Linux kernel, any version before the patch that adds RCU protection to mptcp_pm_del_add_timer()
Real-world impact
An attacker could crash the system or run arbitrary code by exploiting the use‑after‑free in the MPTCP subsystem.
Why this severity
The CVSS score of 9.8 reflects the high impact on confidentiality, integrity, and availability, and the fact that the vulnerability can be exploited remotely without authentication or user interaction.
What to do about it
- 011. Update your Linux kernel to a version that includes the mptcp_pm_del_add_timer RCU protection fix.
- 022. Reboot the system to load the updated kernel.
NVD-referenced vendor advisory
Timeline
- Dec 4, 2025 · Dec 4, 2025PublishedDisclosed and added to the National Vulnerability Database.
- Jul 30, 2026 · 6h agoAdvisory updatedThe NVD record was last revised.
- Jul 30, 2026 · 3h agoOfficial fix availableA vendor patch or mitigation now exists — see the remediation steps above.
How it’s attacked
References & advisories
- git.kernel.org/stable/c/385ddc0f008f24d1e7…
- git.kernel.org/stable/c/426358d9be7ce35189…
- git.kernel.org/stable/c/6d3275d4ca62e2c02e…
- git.kernel.org/stable/c/9be29f8e7ce4e147e5…
- git.kernel.org/stable/c/bbbd75346c8e6490b1…
- git.kernel.org/stable/c/c602cc344b4b8d4151…
- git.kernel.org/stable/c/e2d1ad207174a7cd79…
- cert-portal.siemens.com/productcert/html/ssa-253495…