🇰🇷 한글 설명
Linux 커널의 iommu/sva 구성 요소에서 iommu_sva_unbind_device() 함수 호출 시 크래시가 발생하는 취약점입니다. iommu_domain_free()가 실행되어 메모리가 해제된 후, 이미 해제된 mm 구조체에 접근하여 잘못된 참조(Use-After-Free)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 관리하는 과정에서 이미 삭제된 정보를 다시 사용하려고 시도하여 시스템이 갑자기 멈추거나 꺼질 수 있는 오류입니다. 특정 장치를 연결 해제할 때 시스템이 충돌할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iommu/sva: Fix crash in iommu_sva_unbind_device()
domain->mm->iommu_mm can be freed by iommu_domain_free():
iommu_domain_free()
mmdrop()
__mmdrop()
mm_pasid_drop()
After iommu_domain_free() returns, accessing domain->mm->iommu_mm may
dereference a freed mm structure, leading to a crash.
Fix this by moving the code that accesses domain->mm->iommu_mm to before
the call to iommu_domain_free().
📍 영향받는 시스템
Linux Kernel (iommu/sva 관련 모듈을 사용하는 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 IOMMU 장치 해제 프로세스를 유도하여 시스템 크래시(DoS) 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.