🔍 CVE-2026-46316

9.3
CVSS Score
CRITICAL
2026-06-09
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 KVM arm64 vgic-its 모듈에서 번역 캐시 참조를 잘못 처리하여 동시 실행 시 중복 참조 해제 및 Use-After-Free 취약점이 발생합니다. 이는 여러 컨텍스트가 동일한 캐시 엔트리를 동시에 삭제하고 참조를 해제하면서 엔트리가 여전히 매핑된 상태에서 메모리가 해제되는 원인으로 발생합니다.

💡 쉬운 설명

시스템이 동시에 여러 작업을 처리할 때, 메모리에서 데이터를 삭제하는 과정에서 실수로 같은 데이터를 두 번 지우려는 오류가 발생합니다. 이로 인해 아직 필요한 데이터가 갑자기 사라져 시스템이 불안정해지거나 해킹에 악용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Drop the translation cache reference only for the erased entry vgic_its_invalidate_cache() walks the per-ITS translation cache with xa_for_each() and drops the cache's reference on each entry with vgic_put_irq(). It puts the iterated pointer, though, rather than the value returned by xa_erase(). The function is called from contexts that do not exclude one another: the ITS command handlers hold its_lock, the GITS_CTLR write path holds cmd_lock, and the path that clears EnableLPIs in a redistributor's GICR_CTLR holds neither. Two or more of them can drain the same cache concurrently, and if each one observes the same entry, erases it and then puts it, the single reference the cache holds on that entry is dropped more than once. The entry can then be freed while an ITE still maps it. xa_erase() is atomic and returns the previous entry, so put only the entry that this context actually removed. The cache reference is then dropped exactly once per entry even when the invalidations run concurrently, and the behavior is unchanged when only one context runs.

📍 영향받는 시스템

Linux kernel (KVM arm64 vgic-its 모듈이 포함된 모든 버전)

⚔️ 공격 벡터

로컬 또는 원격에서 KVM 가상머신 환경에서 vgic-its 명령을 통해 동시성 조건을 유발하여 메모리 손상 발생

🛡️ 대응 방법

벤더에서 제공하는 최신 Linux 커널 패치로 즉시 업그레이드

🔧 검증 코드

출력된 커널 버전이 패치가 적용된 최신 안정 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Git