🔍 CVE-2024-47727

7.8
CVSS Score
HIGH
2024-10-21
2026-08-04 11:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 x86/tdx 구성 요소에서 MMIO 체크 로직의 결함이 발견되었습니다. 사용자 공간(userspace)에서 시스템 콜을 악용하여 커널이 사용자 대신 MMIO 작업을 수행하도록 속일 수 있는 취약점입니다. 이로 인해 커널이 사용자 공간의 요청을 커널 내부의 MMIO 작업으로 오인하여 처리할 수 있습니다.

💡 쉬운 설명

사용자가 커널에게 거짓말을 하여, 커널이 사용자를 대신해 민감한 하드웨어 제어 작업을 수행하게 만드는 보안 허점입니다. 공격자가 시스템의 중요한 부분을 조작할 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: x86/tdx: Fix "in-kernel MMIO" check TDX only supports kernel-initiated MMIO operations. The handle_mmio() function checks if the #VE exception occurred in the kernel and rejects the operation if it did not. However, userspace can deceive the kernel into performing MMIO on its behalf. For example, if userspace can point a syscall to an MMIO address, syscall does get_user() or put_user() on it, triggering MMIO #VE. The kernel will treat the #VE as in-kernel MMIO. Ensure that the target MMIO address is within the kernel before decoding instruction.

📍 영향받는 시스템

Intel TDX를 사용하는 x86 기반 Linux 커널 시스템

⚔️ 공격 벡터

사용자 공간에서 시스템 콜의 인자로 MMIO 주소를 전달하여 커널이 잘못된 MMIO 작업을 수행하도록 유도

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel