🔍 CVE-2026-53345

5.5
CVSS Score
MEDIUM
2026-07-01
2026-10-30 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 KVM에서 VM이 종료되는 과정 중 vCPU 없이 메모리가 더티(dirty) 상태로 표시될 때 발생하는 경고 문제를 해결했습니다. 이는 x86 SEV-ES 게스트의 메모리 누수를 수정하는 과정에서 발생하는 불필요한 경고(False Positive)를 방지하기 위한 조치입니다.

💡 쉬운 설명

컴퓨터 가상화 기술을 사용할 때, 가상 머신이 꺼지는 과정에서 시스템이 잘못된 오류 경고를 내보내는 문제를 고쳤습니다. 이로 인해 실제 오류가 아닌데도 시스템이 문제를 일으킨다고 오해하는 상황을 방지합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: KVM: Don't WARN if memory is dirtied without a vCPU when the VM is dying When marking a page dirty, complain about not having a running/loaded vCPU if and only if the VM is still alive, i.e. its refcount is non-zero. This will allow fixing a memory leak for x86 SEV-ES guests without hitting what is effectively a false positive on the WARN. For some SEV-ES VM-Exits, KVM keeps a writable mapping of a guest page across an exit to userspace, and typically unmaps the page on the next KVM_RUN. But if userspace never calls KVM_RUN after such an exit, then KVM needs to unmap the page when the vCPU is destroyed, which in turn triggers the WARN about not having a running vCPU. Alternatively, SEV-ES could temporarily load the vCPU to suppress the WARN, as is done in nested_vmx_free_vcpu() (but for completely unrelated reasons; suppressing WARN from nested_put_vmcs12_pages() is pure happenstance). But loading a vCPU during destruction is gross (ideally nVMX code would be cleaned up), risks complicating the SEV-ES code (KVM would need to ensure the temporarily load()+put() only runs when the vCPU isn't already loaded), and is ultimately pointless. The motivation for the WARN is to guard against KVM dirtying guest memory without pushing the corresponding GFN to the active vCPU's dirty ring, e.g. to ensure userspace doesn't miss a dirty page. But for the VM's refcount to reach zero, there can't be _any_ userspace mappings to the dirty ring, as mapping the dirty ring requires doing mmap() on the vCPU FD. I.e. if userspace had a valid mapping for the dirty ring, then the vCPU file and thus the owning VM would still be alive. And so since userspace can't possibly reach the dirty ring, whether or not KVM technically "misses" a push to the dirty ring is irrelevant.

📍 영향받는 시스템

Linux Kernel (KVM module, x86 SEV-ES 환경)

⚔️ 공격 벡터

해당 취약점은 시스템 경고를 유발하는 논리적 오류로, 직접적인 외부 공격 벡터는 낮음

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel