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

CVE-2026-74386 nvmet-tcp: fix page fragment cache leak in error path

설명

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix page fragment cache leak in error path In nvmet_tcp_alloc_queue(), when a connection is closed during the allocation process (e.g., nvmet_tcp_set_queue_sock() returns -ENOTCONN), the error handling jumps to out_destroy_sq and then to out_ida_remove without draining the page fragment cache. Although nvmet_tcp_free_cmd() is called in some error paths to release individual page fragments, the underlying page cache reference held by queue->pf_cache is never released. The first allocation using pf_cache is the call to nvmet_tcp_alloc_cmd() for queue->connect, which happens after ida_alloc() returns successfully. This results in a page leak each time a connection fails during allocation, which could lead to memory exhaustion over time if connections are repeatedly opened and closed. Fix this by calling page_frag_cache_drain() before freeing the queue structure in the out_ida_remove label.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.0

    해결 버전

    • 5.0 미만
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.97 이상
    • 6.18.40 이상
    • 7.1.5 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의