🔍 CVE-2026-74386

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nvmet-tcp 구성 요소에서 오류 발생 시 페이지 파편 캐시를 해제하지 못하는 메모리 누수 취약점이 발견되었습니다. 연결 할당 과정 중 오류가 발생하면 캐시 참조가 해제되지 않아 시간이 지남에 따라 메모리 고갈을 초래할 수 있습니다.

💡 쉬운 설명

네트워크 연결을 시도하다가 오류가 발생할 때, 사용했던 메모리 조각을 제대로 반납하지 않고 버리는 문제가 있습니다. 이 문제가 반복되면 컴퓨터의 메모리가 점점 부족해져 시스템이 느려지거나 멈출 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Linux kernel (nvmet-tcp 모듈 사용 환경)

⚔️ 공격 벡터

공격자가 의도적으로 연결 오류를 반복 유발하여 시스템 메모리를 점진적으로 고갈시키는 방식 (DoS)

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 page_frag_cache_drain() 호출이 포함된 수정 사항을 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel