🇰🇷 한글 설명
Linux 커널의 SUNRPC 구성 요소에서 TLS 핸드셰이크 과정 중 참조 카운트 관리 오류로 인해 발생하는 취약점입니다. 핸드셰이크 취소와 완료가 동시에 발생할 경우, 하위 전송 계층이 조기에 해제되어 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 연결을 설정하는 과정에서 데이터 처리 순서가 꼬여 시스템 메모리가 잘못 관리되는 문제입니다. 이로 인해 시스템이 예기치 않게 종료되거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: wait for in-flight client TLS handshake callback
xs_tls_handshake_sync() gives xs_tls_handshake_done() a reference to the
lower transport before submitting the handshake request. On timeout or
signal, the synchronous waiter drops that reference after calling
tls_handshake_cancel().
handshake_req_cancel() returns false when handshake_complete() has
already marked the request complete. In that case the completion callback
can still be running, so dropping the callback-owned reference in the
waiter can free the lower transport before xs_tls_handshake_done() stores
xprt_err or drops its own reference.
If cancellation loses to completion, wait until xs_tls_handshake_done()
signals handshake_done and let the callback release its reference. This
mirrors the server-side handshake lifetime handling and keeps the timeout
or signal return value unchanged.
📍 영향받는 시스템
Linux Kernel (SUNRPC 및 TLS 핸드셰이크 관련 모듈 사용 버전)
⚔️ 공격 벡터
조작된 TLS 핸드셰이크 요청을 통해 타임아웃 또는 신호를 유도하여 레이스 컨디션 유발
🛡️ 대응 방법
SUNRPC의 TLS 핸드셰이크 생명주기 관리가 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인합니다.