🔍 CVE-2024-53135

8.8
CVSS Score
HIGH
2024-12-04
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 KVM 내 Intel PT 가상화 구현에서 발생하는 취약점으로, 게스트 모드와 호스트 모드 간의 트레이싱 설정 불일치 및 잘못된 CPUID 구성 검증 문제를 포함합니다. 이로 인해 게스트 OS가 충돌하거나 호스트 시스템의 안정성이 저해되고 데드락이 발생할 위험이 있습니다.

💡 쉬운 설명

가상 컴퓨터를 실행하는 기술(KVM)에서 하드웨어 추적 기능(Intel PT)을 잘못 다루어 발생하는 문제입니다. 이 문제로 인해 가상 컴퓨터가 갑자기 꺼지거나, 컴퓨터 전체가 멈추는 현상이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN Hide KVM's pt_mode module param behind CONFIG_BROKEN, i.e. disable support for virtualizing Intel PT via guest/host mode unless BROKEN=y. There are myriad bugs in the implementation, some of which are fatal to the guest, and others which put the stability and health of the host at risk. For guest fatalities, the most glaring issue is that KVM fails to ensure tracing is disabled, and *stays* disabled prior to VM-Enter, which is necessary as hardware disallows loading (the guest's) RTIT_CTL if tracing is enabled (enforced via a VMX consistency check). Per the SDM: If the logical processor is operating with Intel PT enabled (if IA32_RTIT_CTL.TraceEn = 1) at the time of VM entry, the "load IA32_RTIT_CTL" VM-entry control must be 0. On the host side, KVM doesn't validate the guest CPUID configuration provided by userspace, and even worse, uses the guest configuration to decide what MSRs to save/load at VM-Enter and VM-Exit. E.g. configuring guest CPUID to enumerate more address ranges than are supported in hardware will result in KVM trying to passthrough, save, and load non-existent MSRs, which generates a variety of WARNs, ToPA ERRORs in the host, a potential deadlock, etc.

📍 영향받는 시스템

Intel PT 가상화 기능이 활성화된 Linux 커널 기반 KVM 환경

⚔️ 공격 벡터

사용자 공간(Userspace)에서 조작된 CPUID 설정을 통해 KVM에 잘못된 MSR 정보를 전달하여 호스트 시스템의 불안정성을 유도

🛡️ 대응 방법

커널 업데이트를 통해 해당 패치를 적용하거나, CONFIG_BROKEN 설정이 없는 경우 Intel PT 가상화 기능을 비활성화

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel