🔍 CVE-2026-89445

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

🇰🇷 한글 설명

Linux 커널의 iommufd selftest 과정에서 PASID 분리(detach)와 IOPF 보고 간의 동기화 부재로 인해 Use-After-Free(UAF) 취약점이 발생합니다. PASID가 제거되어 핸들이 해제된 후에도 해당 핸들을 참조하려고 시도하여 시스템 오류나 권한 상승을 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 메모리 관리 기능에서 데이터가 이미 삭제되었는데 이를 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 제어권을 얻을 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: iommufd: Fix UAF in selftest IOPF reporting IOMMUFD selftest TRIGGER_IOPF borrows an attach handle from group->pasid_array without synchronizing against PASID detach, then a concurrent iommu_report_device_fault() can dereference that borrowed handle's domain pointer after the detach erases the handle and frees the backing struct iommufd_attach_handle. TRIGGER_IOPF then dereferences the freed handle, causing a UAF. Fix by adding a iopf_rwsem in mock_dev to follow the expected design of a real driver. Hold its read side across the whole iommu_report_device_fault() call, and its write side around every path that attaches, detaches, or replaces a device domain. This can block new reports and drains in-flight reports before an old attach handle or the IOPF fault parameter can be removed. Also take the write side while registering a mock device, since it can invoke the mock driver's default-domain attach callback.

📍 영향받는 시스템

Linux Kernel (iommufd selftest 관련 모듈이 포함된 버전)

⚔️ 공격 벡터

동시성 제어 미흡을 이용한 Race Condition 공격을 통해 메모리 해제 후 참조 유도

🛡️ 대응 방법

iommufd selftest에 iopf_rwsem 동기화 메커니즘이 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 배포판 보안 공지를 통해 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel