🇰🇷 한글 설명
Linux 커널의 crypto ccp 모듈에서 SNP_COMMIT ioctl 호출 시 SNP를 초기화하지 않도록 수정되었습니다. 기존에는 SEV 초기화 실패 시 특정 ioctl을 통해 시스템 전체의 MSR_VM_HSAVE_PA를 0으로 만들어 호스트 시스템을 충돌시킬 수 있는 위험이 있었습니다.
💡 쉬운 설명
특정 명령을 잘못 실행했을 때 컴퓨터의 핵심 설정값이 지워져 시스템이 갑자기 멈추거나 꺼질 수 있는 보안 결함입니다. 이번 업데이트를 통해 해당 명령이 안전하게 동작하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: ccp - Do not initialize SNP for ioctl(SNP_COMMIT)
Sashiko notes:
> if SEV initialization fails and KVM is actively running normal VMs, could a
> userspace process trigger this code path via /dev/sev ioctls (e.g.,
> SEV_PDH_GEN) and zero out MSR_VM_HSAVE_PA globally? Would the next VMRUN
> execution for an active VM trigger a general protection fault and crash the
> host?
The SNP_COMMIT command does not require the firmware to be in any
particular state. Skip initializing it if it was previously uninitialized.
The SEV-SNP firmware specification doc 56860 does not mention SNP_COMMIT in
Table 5 as a command that is allowed in the UNINIT state, but it is in fact
allowed and a future documentation update will reflect that.
📍 영향받는 시스템
Linux kernel (crypto: ccp 모듈을 사용하는 시스템)
⚔️ 공격 벡터
사용자 공간 프로세스가 /dev/sev ioctl을 통해 특정 명령을 호출하여 시스템 상태를 조작
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인