🇰🇷 한글 설명
Linux 커널의 TDX-guest 가상 머신 환경에서 신뢰할 수 없는 호스트가 set_memory_decrypted() 호출을 실패하게 유도하여 복호화된 메모리가 공유될 수 있는 취약점입니다. 이로 인해 메모리 데이터가 노출되거나 보안 문제가 발생할 수 있으며, 오류 발생 시 해당 메모리를 페이지 할당기로 반환하지 않도록 수정되었습니다.
💡 쉬운 설명
컴퓨터 내부의 암호화된 메모리 영역을 다루는 과정에서 오류가 발생했을 때, 암호화가 풀린 상태의 데이터가 그대로 노출될 수 있는 문제입니다. 공격자가 이를 악용하면 중요한 정보가 담긴 메모리 내용을 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
virt: tdx-guest: Just leak decrypted memory on unrecoverable errors
In CoCo VMs it is possible for the untrusted host to cause
set_memory_decrypted() to fail such that an error is returned
and the resulting memory is shared. Callers need to take care
to handle these errors to avoid returning decrypted (shared)
memory to the page allocator, which could lead to functional
or security issues.
Leak the decrypted memory when set_memory_decrypted() fails,
and don't need to print an error since set_memory_decrypted()
will call WARN_ONCE().
📍 영향받는 시스템
Linux Kernel (TDX-guest를 사용하는 CoCo VM 환경)
⚔️ 공격 벡터
신뢰할 수 없는 호스트가 의도적으로 메모리 설정 오류를 유발하여 복호화된 메모리 노출 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인