🔍 CVE-2025-38566

9.8
CVSS Score
CRITICAL
2025-08-19
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 sunrpc 구성 요소에서 NFS over TLS 처리 중 발생하는 취약점입니다. tls_alert_recv() 함수가 메시지 반복자의 kvec 데이터를 읽을 수 있다고 잘못 가정하여 발생하는 오류를 수정하였습니다.

💡 쉬운 설명

네트워크 보안 통신을 할 때 전달되는 경고 메시지를 처리하는 과정에서 데이터 위치를 잘못 계산하는 오류가 있었습니다. 이로 인해 시스템이 비정상적인 동작을 하거나 보안 연결에 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: sunrpc: fix handling of server side tls alerts Scott Mayhew discovered a security exploit in NFS over TLS in tls_alert_recv() due to its assumption it can read data from the msg iterator's kvec.. kTLS implementation splits TLS non-data record payload between the control message buffer (which includes the type such as TLS aler or TLS cipher change) and the rest of the payload (say TLS alert's level/description) which goes into the msg payload buffer. This patch proposes to rework how control messages are setup and used by sock_recvmsg(). If no control message structure is setup, kTLS layer will read and process TLS data record types. As soon as it encounters a TLS control message, it would return an error. At that point, NFS can setup a kvec backed msg buffer and read in the control message such as a TLS alert. Msg iterator can advance the kvec pointer as a part of the copy process thus we need to revert the iterator before calling into the tls_alert_recv.

📍 영향받는 시스템

Linux kernel (sunrpc/kTLS 관련 모듈 사용 시스템)

⚔️ 공격 벡터

조작된 TLS 경고(Alert) 메시지를 전송하여 커널의 메시지 처리 로직을 교란

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel