🔍 CVE-2025-38571

8.2
CVSS Score
HIGH
2025-08-19
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 sunrpc 구성 요소에서 NFS over TLS 처리 중 TLS 경고(alert)를 다루는 방식에 결함이 발견되었습니다. tls_alert_recv 함수가 msghdr의 kvec에 유효한 데이터가 있다고 잘못 가정하여 발생하는 취약점입니다. 이 패치는 sock_recvmsg()에서 제어 메시지를 설정하고 사용하는 방식을 재설계하여 문제를 해결합니다.

💡 쉬운 설명

네트워크를 통해 파일을 주고받을 때 보안 연결을 유지하는 과정에서 데이터 처리 오류가 발생할 수 있는 문제입니다. 공격자가 특수한 신호를 보내 시스템의 데이터 처리 흐름을 방해하거나 오류를 유발할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: sunrpc: fix client side handling of tls alerts A security exploit was discovered in NFS over TLS in tls_alert_recv due to its assumption that there is valid data in the msghdr's iterator's kvec. Instead, this patch proposes the 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 control buffer and read in the control message such as a TLS alert. Scott found that a 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.

📍 영향받는 시스템

TLS를 사용하는 NFS(Network File System)가 활성화된 Linux 커널 시스템

⚔️ 공격 벡터

네트워크를 통해 조작된 TLS 제어 메시지(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:L/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel