🇰🇷 한글 설명
Linux 커널의 ksmbd 모듈에서 SMB3.1.1 멀티채널 바인딩 사용 시 연결 해제 과정에서 사전 인증 세션이 적절히 해제되지 않는 취약점이 발견되었습니다. NTLM 협상 후 인증 요청이 오기 전에 클라이언트가 연결을 끊으면 메모리 누수가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터와 서버가 연결을 시도하다가 갑자기 끊어질 때, 사용했던 메모리를 제대로 치우지 않고 남겨두는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 점점 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: free preauth sessions on connection teardown
SMB3.1.1 multichannel binding preserves the preauthentication hash in a
preauth_session between the NTLM negotiate and authenticate requests.
The binding NTLM negotiate allocates this object and returns
STATUS_MORE_PROCESSING_REQUIRED. If the client disconnects before it sends
the authenticate request, neither the authenticate nor error cleanup paths
free the object.
Release any remaining preauthentication sessions when tearing down the
connection. Initialize the list when allocating the connection so that this
cleanup is safe regardless of the negotiated dialect.
📍 영향받는 시스템
Linux kernel (ksmbd module 사용 환경)
⚔️ 공격 벡터
공격자가 인증을 완료하기 전에 의도적으로 SMB 연결을 반복적으로 끊어 메모리 누수를 유발
🛡️ 대응 방법
ksmbd 관련 보안 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 최신 패치 버전인지 배포판 보안 공지를 통해 확인