🔍 CVE-2026-90241

8.2
CVSS Score
HIGH
2026-09-17
2026-10-19 09:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 iommu/vt-d 구성 중, 프로브(probe) 실패 시 확장 모드 컨텍스트를 제대로 해제하지 못하는 취약점입니다. 이로 인해 이미 프로그래밍된 RID의 컨텍스트 엔트리가 해제된 메모리를 가리키게 되어 시스템 불안정성을 초래할 수 있습니다.

💡 쉬운 설명

장치를 연결하는 과정에서 오류가 발생했을 때, 이전에 설정했던 정보들을 깨끗이 지우지 못하는 문제입니다. 이로 인해 컴퓨터가 잘못된 메모리 주소를 참조하게 되어 시스템이 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Tear down scalable-mode context on probe failure intel_pasid_setup_sm_context() walks a PCI device’s DMA aliases via pci_for_each_dma_alias() and programs a scalable-mode context entry for each RID. For a device with a dma_alias_mask, the callback is invoked once for the device’s own RID and once for each alias bit, all with the same pci_dev, so device_pasid_table_setup() runs for multiple RIDs. pci_for_each_dma_alias() stops at the first callback error. Therefore, a failure partway through the walk can leave context entries for already processed RIDs present and still pointing to the device’s PASID table. On this error path, intel_iommu_probe_device() currently jumps directly to intel_pasid_free_table(), which frees the PASID table without first tearing down those context entries. The IOMMU may then walk a present context entry whose PASID table pointer references freed memory. intel_iommu_release_device() already performs teardown before freeing the table. Apply the same ordering on the probe failure path. device_pasid_table_teardown() safely handles RIDs that were never programmed: iommu_context_addr() returns NULL when no context table has been allocated, and clearing the Present bit of an already non-present entry is a no-op. So unwind is safe for both the alias that failed and any aliases not yet reached.

📍 영향받는 시스템

Linux Kernel (Intel VT-d scalable-mode 사용 환경)

⚔️ 공격 벡터

장치 프로브 과정에서 의도적인 오류를 유도하여 메모리 참조 오류(Use-After-Free 유사 상황) 발생

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 프로브 실패 시 컨텍스트 해제 로직을 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel