Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-40018— ipvs: Defer ip_vs_ftp unregister during netns cleanup

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于ip_vs_ftp模块过早注销,可能导致释放后重用。

CVSS 7.8 · High EPSS 0.15% · P4

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 61b1ab4583e275af216c8454b9256de680499b19< 8a6ecab3847c213ce2855b0378e63ce839085de3 affected
61b1ab4583e275af216c8454b9256de680499b19< 421b1ae1574dfdda68b835c15ac4921ec0030182 affected
61b1ab4583e275af216c8454b9256de680499b19< 1d79471414d7b9424d699afff2aa79fff322f52d affected
61b1ab4583e275af216c8454b9256de680499b19< 53717f8a4347b78eac6488072ad8e5adbaff38d9 affected
61b1ab4583e275af216c8454b9256de680499b19< 8cbe2a21d85727b66d7c591fd5d83df0d8c4f757 affected
61b1ab4583e275af216c8454b9256de680499b19< dc1a481359a72ee7e548f1f5da671282a7c13b8f affected
61b1ab4583e275af216c8454b9256de680499b19< a343811ef138a265407167294275201621e9ebb2 affected
61b1ab4583e275af216c8454b9256de680499b19< 134121bfd99a06d44ef5ba15a9beb075297c0821 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-40018

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ipvs: Defer ip_vs_ftp unregister during netns cleanup
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于ip_vs_ftp模块过早注销,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 61b1ab4583e275af216c8454b9256de680499b19 ~ 8a6ecab3847c213ce2855b0378e63ce839085de3 -
Linux Linux 2.6.39 -

II. Public POCs for CVE-2025-40018

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40018

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-40018 (2)

Same Patch Batch · Linux · 2025-10-24 · 8 CVEs total

CVE-2023-53733 7.8 HIGH net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
CVE-2025-40024 7.8 HIGH vhost: Take a reference on the task in struct vhost_task.
CVE-2025-40019 crypto: essiv - Check ssize for decryption and in-place encryption
CVE-2025-40020 can: peak_usb: fix shift-out-of-bounds issue
CVE-2025-40021 tracing: dynevent: Add a missing lockdown check on dynevent
CVE-2025-40022 crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
CVE-2025-40023 drm/xe/vf: Don't expose sysfs attributes not applicable for VFs

IV. Related Vulnerabilities

V. Comments for CVE-2025-40018

No comments yet


Leave a comment