🇰🇷 한글 설명
Linux 커널의 KVM arm64 vgic-its 구성 요소에서 LPI 번역 캐시와 관련된 Use-After-Free(UAF) 취약점이 발견되었습니다. DISCARD ITS 명령과 같은 캐시 무효화 작업이 발생할 때 참조 횟수(refcount) 관리가 적절히 이루어지지 않아 메모리 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 가상화 기술을 사용할 때, 메모리 관리 정보가 삭제되었음에도 불구하고 시스템이 이를 계속 사용하려고 시도하여 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
There is a potential UAF scenario in the case of an LPI translation
cache hit racing with an operation that invalidates the cache, such
as a DISCARD ITS command. The root of the problem is that
vgic_its_check_cache() does not elevate the refcount on the vgic_irq
before dropping the lock that serializes refcount changes.
Have vgic_its_check_cache() raise the refcount on the returned vgic_irq
and add the corresponding decrement after queueing the interrupt.
📍 영향받는 시스템
Linux Kernel (arm64 아키텍처 기반 KVM 사용 시스템)
⚔️ 공격 벡터
특정 명령(DISCARD ITS)을 통해 캐시 무효화를 유도하여 메모리 참조 오류를 일으키는 레이스 컨디션 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.