kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.39

    해결 버전

    • 2.6.39 미만
    • 5.4.301 이상
    • 5.10.246 이상
    • 5.15.195 이상
    • 6.1.156 이상
    • 6.6.112 이상
    • 6.12.53 이상
    • 6.17.3 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의