CVE-2025-40018: Linux kernel · ipvs: Defer ip_vs_ftp unregister during netns cleanup On the netns cleanup path
Affects linuxSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 4.15.0-1195.210~14.04.1 : patch linux soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.15.0-1195.210~14.04.1, 4.4.0-1188.203, 4.4.0-1150.156 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 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 2026-10-25.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux | Affected
| Fixed in
|
AI-suggested
A fix is available that introduces a global flag to defer ip_vs_ftp unregistering during network namespace cleanup until all connections are flushed. Users should apply the official Linux kernel updates that include this patch to remediate the vulnerability.
Description
Published: 2025-12-02 Updated: 2026-03-25 Reference: CVE-2025-40018 2026-03-25 Update: Added patch versions for Ubuntu nodes with GKE. 2025-12-11 Update: Added patch versions and a severity rating for GDC (VMware). GKE Updated: 2026-03-25 Description Severity The following vulnerabilities were discovered in the Linux kernel that can lead to a privilege escalation on Container-Optimized OS nodes: CVE-2025-40018 GKE Standard clusters are impacted. GKE Autopilot clusters in the default configuration are not impacted, but might be vulnerable if you explicitly set the seccomp Unconfined profile or allow CAP_NET_ADMIN . Clusters using GKE Sandbox aren't impacted. What should I do? 2026-03-25 Update : The following versions of GKE are updated with code to fix this vulnerability on Ubuntu. Upgrade your Ubuntu node pools to the following versions or later: 1.35.1-gke.1396000 1.34.4-gke.1047000 1.33.8-gke.1026000 1.32.12-gke.1026000 1.31.14-gke.1336000 1.30.14-gke.1991000 The following minor versions are affected. Upgrade your Container-Optimized OS node pools to one of the following patch versions or later: 1.32.9-gke.1330000 1.29.15-gke.2236000 1.30.14-gke.1525000 1.31.13-gke.1231000 1.34.1-gke.2541000 1.28.15-gke.2966000 1.33.5-gke.1350000 You can apply patch versions from newer release channels if your cluster runs the same minor version in its own release channel. This feature lets you secure your nodes until the patch version becomes the default in your release channel. For details, see Run patch versions from a newer channel . High GDC (VMware) Updated: 2025-12-11 Description Severity The following vulnerabilities were discovered in the Linux kernel that can lead to a privilege escalation on Container-Optimized OS nodes: CVE-2025-40018 What should I do? The following versions of GDC (VMware) are updated with code to fix this vulnerability. Upgrade your GDC (VMware) clusters to the following versions or later: 1.31.1100-gke.40 Note: Patch versions and a severity assessment for GDC software for VMware are in progress. We'll update this bulletin with that information when it's available. High GKE on AWS Description Severity The following vulnerabilities were discovered in the Linux kernel that can lead to a privilege escalation on Container-Optimized OS nodes: CVE-2025-40018 What should I do? Note: Patch versions and a severity assessment for GKE on AWS are in progress. We'll update this bulletin with that information when it's available. Pending GKE on Azure Description Severity The following vulnerabilities were discovered in the Linux kernel that can lead to a privilege escalation on Container-Optimized OS nodes: CVE-2025-40018 What should I do? Note: Patch versions and a severity assessment for GKE on Azure are in progress. We'll update this bulletin with that information when it's available. Pending GDC (bare metal) Description Severity The following vulnerabilities were discovered in the Linux kernel that can lead to a privilege escalation on Container-Optimized OS nodes: CVE-2025-40018 What should I do? There is no action required. GDC software for bare metal isn't affected as it does not bundle an operating system in its distribution. None
References
- nvd.nist.gov/vuln/detail/CVE-2025-40018 (opens in a new tab)
- git.kernel.org/stable/c/134121bfd99a06d44ef5ba15a9beb075297c0821 (opens in a new tab)
- git.kernel.org/stable/c/1d79471414d7b9424d699afff2aa79fff322f52d (opens in a new tab)
- git.kernel.org/stable/c/421b1ae1574dfdda68b835c15ac4921ec0030182 (opens in a new tab)
- git.kernel.org/stable/c/53717f8a4347b78eac6488072ad8e5adbaff38d9 (opens in a new tab)
- git.kernel.org/stable/c/8a6ecab3847c213ce2855b0378e63ce839085de3 (opens in a new tab)
- git.kernel.org/stable/c/8cbe2a21d85727b66d7c591fd5d83df0d8c4f757 (opens in a new tab)
- git.kernel.org/stable/c/a343811ef138a265407167294275201621e9ebb2 (opens in a new tab)
- git.kernel.org/stable/c/dc1a481359a72ee7e548f1f5da671282a7c13b8f (opens in a new tab)
- ubuntu.com/security/CVE-2025-40018 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40018 (opens in a new tab)
- git.kernel.org/linus/134121bfd99a06d44ef5ba15a9beb075297c0821 (opens in a new tab)
- ubuntu.com/security/notices/USN-7907-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7907-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7907-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7907-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7920-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7921-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7922-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7922-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7928-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7928-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7928-3 (opens in a new tab)