🇰🇷 한글 설명
Linux 커널의 dma-direct 구성 요소에서 dma_set_decrypted() 호출 실패 시 메모리 페이지가 누수되는 취약점입니다. Intel TDX 환경에서 신뢰할 수 없는 호스트가 메모리 암호화/복호화 설정을 실패하게 유도할 경우, 복호화된 공유 메모리가 페이지 할당기로 반환되어 보안 문제가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 암호화하는 과정에서 오류가 발생했을 때, 사용 중인 메모리를 제대로 회수하지 못하고 버려버리는 문제가 있습니다. 이로 인해 시스템의 메모리가 점차 부족해지거나 보안상 취약한 상태의 메모리가 노출될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dma-direct: Leak pages on dma_set_decrypted() failure
On TDX 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.
DMA could free decrypted/shared pages if dma_set_decrypted() fails. This
should be a rare case. Just leak the pages in this case instead of
freeing them.
📍 영향받는 시스템
Intel TDX를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
신뢰할 수 없는 호스트가 메모리 암호화/복호화 설정 함수를 의도적으로 실패하게 유도함
🛡️ 대응 방법
해당 취약점이 해결된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 릴리스 버전인지 확인하십시오.