🇰🇷 한글 설명
Linux 커널의 iommu/amd 구성 요소에서 clone_alias() 함수가 잘못된 장치 ID를 사용하여 DTE(Device Translation Entry)를 복사하는 취약점이 발견되었습니다. 이로 인해 별칭(alias) 장치에 잘못되었거나 오래된 DTE 항목이 전달될 수 있습니다.
💡 쉬운 설명
컴퓨터 부품이 서로를 복제하여 정보를 주고받을 때, 엉뚱한 부품의 정보를 가져오는 오류가 있었습니다. 이로 인해 보안 설정이 잘못된 데이터로 덮어씌워질 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iommu/amd: Fix clone_alias() to use the original device's devid
Currently clone_alias() assumes first argument (pdev) is always the
original device pointer. This function is called by
pci_for_each_dma_alias() which based on topology decides to send
original or alias device details in first argument.
This meant that the source devid used to look up and copy the DTE
may be incorrect, leading to wrong or stale DTE entries being
propagated to alias device.
Fix this by passing the original pdev as the opaque data argument to
both the direct clone_alias() call and pci_for_each_dma_alias(). Inside
clone_alias(), retrieve the original device from data and compute devid
from it.
📍 영향받는 시스템
AMD IOMMU를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
잘못된 장치 식별자를 이용한 메모리 관리 테이블(DTE) 조작 및 데이터 오염
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인