🇰🇷 한글 설명
Linux 커널의 virt: sev-guest 구성 요소에서 메모리 암호화/복호화 설정 중 오류가 발생할 경우, 페이지 상태가 불분명한 상태로 남는 취약점이 발견되었습니다. 이로 인해 페이지가 암호화되지 않은 상태로 방치될 수 있어 보안상 위험하며, 이를 방지하기 위해 snp_leak_pages()를 호출하여 적절한 처리를 하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 보안 메모리를 암호화하는 과정에서 오류가 나면, 데이터가 암호화되지 않은 채로 방치될 수 있는 문제입니다. 이로 인해 중요한 정보가 외부로 노출될 위험이 있어 이를 수정하는 패치가 적용되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
virt: sev-guest: Explicitly leak pages in unknown state
When set_memory_{encrypted,decrypted}() fail, the user cannot know at which
point the function failed, meaning that the pages are left in an unknown state
from the point of view of the caller.
Since the pages may be left in an unencrypted state, they are not suitable for
general use, and cannot be returned safely to the buddy allocator. Avoid the
issue by never freeing the pages, and then do the proper accounting by calling
snp_leak_pages().
📍 영향받는 시스템
Linux kernel (virt: sev-guest 관련 모듈 사용 시스템)
⚔️ 공격 벡터
메모리 암호화 설정 과정에서 의도적인 오류를 유도하여 암호화되지 않은 페이지를 탈취하거나 분석
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인