🇰🇷 한글 설명
Linux 커널의 NVMe RDMA 타겟 구현에서 큐 연결 시 ndev 참조 횟수(refcount)가 누수되는 취약점이 발견되었습니다. 호스트 큐 백로그가 초과되어 NVME_SC_CONNECT_CTRL_BUSY를 반환하는 경로에서 ndev 참조를 해제하지 않아 발생합니다.
💡 쉬운 설명
컴퓨터의 저장 장치 연결 과정에서 메모리 관리 정보가 제대로 삭제되지 않고 쌓이는 버그입니다. 이 문제가 지속되면 시스템의 메모리 자원이 점차 고갈될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nvme: target: rdma: fix ndev refcount leak on queue connect
nvmet_rdma_queue_connect() calls nvmet_rdma_find_get_device() which
acquires a reference on the returned ndev via kref_get(). On the path
where the host queue backlog is exceeded and the function returns
NVME_SC_CONNECT_CTRL_BUSY, reference of ndev is not released, leaking
the kref.
Fix this by adding a goto to the existing put_device label before the
early return.
📍 영향받는 시스템
Linux kernel (NVMe RDMA target component 사용 시)
⚔️ 공격 벡터
호스트 큐 백로그를 의도적으로 초과시켜 연결 요청을 반복함으로써 메모리 누수를 유도하는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인