CVE-2025-40018Linux
High 7.8
Follow: this CVE · Linux · Linux We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 24, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
In the Linux kernel, the following vulnerability has been resolved:
ipvs: Defer ip_vs_ftp unregister during netns cleanup
On the netns cleanup path, __ip_vs_ftp_exit() may unregister ip_vs_ftp
before connections with valid cp->app pointers are flushed, leading to a
use-after-free.
Fix this by introducing a global `exiting_module` flag, set to true in
ip_vs_ftp_exit() before unregistering the pernet subsystem. In
__ip_vs_ftp_exit(), skip ip_vs_ftp unregister if called during netns
cleanup (when exiting_module is false) and defer it to
__ip_vs_cleanup_batch(), which unregisters all apps after all connections
are flushed. If called during module exit, unregister ip_vs_ftp
immediately.
What to do
- Apply the vendor's security update for Linux.
Affected products
- Linux · Linux
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for the Linux Kernel (Live Patch 73 for SUSE Linux Enterprise 12 SP5) · SUSE · SUSE-SU-2026:1304-1 · Apr 13, 2026 Critical
- Security update for the Linux Kernel (Live Patch 72 for SUSE Linux Enterprise 12 SP5) · SUSE · SUSE-SU-2026:1298-1 · Apr 13, 2026 Critical
- Security update for the Linux Kernel (Live Patch 71 for SUSE Linux Enterprise 12 SP5) · SUSE · SUSE-SU-2026:1297-1 · Apr 13, 2026 Critical
Also: SUSE (+65)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.