🇰🇷 한글 설명
Linux 커널의 hv_vmbus 드라이버에서 메모리 암호화/복호화 설정 실패 시 링 버퍼를 적절히 처리하지 못하는 취약점입니다. 신뢰할 수 없는 호스트가 암호화 설정을 의도적으로 실패하게 만들어 복호화된(공유된) 메모리가 페이지 할당자로 반환되도록 유도할 수 있습니다.
💡 쉬운 설명
가상 머신을 운영할 때 외부 호스트가 메모리 보안 설정을 방해하여, 암호화되어야 할 중요한 데이터가 암호화되지 않은 상태로 노출될 수 있는 문제입니다. 이를 통해 데이터가 유출되거나 시스템 보안이 무너질 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted
In CoCo VMs it is possible for the untrusted host to cause
set_memory_encrypted() or 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.
The VMBus ring buffer code could free decrypted/shared pages if
set_memory_decrypted() fails. Check the decrypted field in the struct
vmbus_gpadl for the ring buffers to decide whether to free the memory.
📍 영향받는 시스템
Linux kernel (VMBus 드라이버를 사용하는 CoCo VM 환경)
⚔️ 공격 벡터
신뢰할 수 없는 호스트가 메모리 암호화/복호화 함수 호출을 의도적으로 실패하게 유도함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.