{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40018","published":"2025-10-24T12:15:37.703000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":true,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-40018/","html_en":"/en/cve/CVE-2025-40018/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40018","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40018"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nipvs: Defer ip_vs_ftp unregister during netns cleanup\n\nOn the netns cleanup path, __ip_vs_ftp_exit() may unregister ip_vs_ftp\nbefore connections with valid cp->app pointers are flushed, leading to a\nuse-after-free.\n\nFix this by introducing a global `exiting_module` flag, set to true in\nip_vs_ftp_exit() before unregistering the pernet subsystem. In\n__ip_vs_ftp_exit(), skip ip_vs_ftp unregister if called during netns\ncleanup (when exiting_module is false) and defer it to\n__ip_vs_cleanup_batch(), which unregisters all apps after all connections\nare flushed. If called during module exit, unregister ip_vs_ftp\nimmediately.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/134121bfd99a06d44ef5ba15a9beb075297c0821","tags":[]},{"url":"https://git.kernel.org/stable/c/1d79471414d7b9424d699afff2aa79fff322f52d","tags":[]},{"url":"https://git.kernel.org/stable/c/421b1ae1574dfdda68b835c15ac4921ec0030182","tags":[]},{"url":"https://git.kernel.org/stable/c/53717f8a4347b78eac6488072ad8e5adbaff38d9","tags":[]},{"url":"https://git.kernel.org/stable/c/8a6ecab3847c213ce2855b0378e63ce839085de3","tags":[]},{"url":"https://git.kernel.org/stable/c/8cbe2a21d85727b66d7c591fd5d83df0d8c4f757","tags":[]},{"url":"https://git.kernel.org/stable/c/a343811ef138a265407167294275201621e9ebb2","tags":[]},{"url":"https://git.kernel.org/stable/c/dc1a481359a72ee7e548f1f5da671282a7c13b8f","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:1304-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261304-1/","published":"2026-04-13T16:04:42+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 73 for SUSE Linux Enterprise 12 SP5)"}},{"source":"suse","id":"SUSE-SU-2026:1298-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261298-1/","published":"2026-04-13T15:04:44+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 72 for SUSE Linux Enterprise 12 SP5)"}},{"source":"suse","id":"SUSE-SU-2026:1297-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261297-1/","published":"2026-04-13T12:42:14+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 71 for SUSE Linux Enterprise 12 SP5)"}}]}