🔍 CVE-2024-57791

7.5
CVSS Score
HIGH
2025-01-11
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net/smc 구성 요소에서 clc 데이터를 처리할 때 sock_recvmsg의 반환 값을 확인하지 않아 발생하는 취약점입니다. 네트워크에서 전달된 메시지 길이가 버퍼 크기를 초과할 경우, 남은 데이터를 처리하는 과정에서 무한 루프에 빠질 수 있습니다.

💡 쉬운 설명

네트워크를 통해 들어온 데이터의 크기가 실제 저장 공간보다 크다고 속일 경우, 컴퓨터가 데이터를 다 읽으려고 계속 시도하다가 멈춰버리는 현상이 발생할 수 있습니다. 이로 인해 시스템이 응답하지 않는 상태가 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/smc: check return value of sock_recvmsg when draining clc data When receiving clc msg, the field length in smc_clc_msg_hdr indicates the length of msg should be received from network and the value should not be fully trusted as it is from the network. Once the value of length exceeds the value of buflen in function smc_clc_wait_msg it may run into deadloop when trying to drain the remaining data exceeding buflen. This patch checks the return value of sock_recvmsg when draining data in case of deadloop in draining.

📍 영향받는 시스템

SMC(Shared Memory Communications) 기능을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

네트워크를 통해 조작된 길이 값을 가진 clc 메시지를 전송하여 발생

🛡️ 대응 방법

SMC 관련 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel