🇰🇷 한글 설명
Linux 커널의 iommufd 구성 요소에서 xa_store() 함수 호출 실패 시 현재 IOAS를 적절히 해제하지 못하는 취약점이 발견되었습니다. 이로 인해 객체 참조 및 rwsem 잠금이 해제되지 않아 리소스 누수나 시스템 불안정을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리 관리 과정에서 작업이 실패했을 때, 사용 중이던 자원을 제대로 돌려주지 않고 붙잡고 있는 문제입니다. 이 문제가 지속되면 시스템의 자원이 고갈되어 컴퓨터가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iommufd: Release current IOAS on xa_store() failure
iommufd_take_all_iova_rwsem() takes an object reference and the
iova_rwsem write lock before storing the IOAS in the temporary ioas_list
xarray.
If xa_store() fails, the current IOAS has not been inserted into
ioas_list yet. iommufd_release_all_iova_rwsem() only unwinds IOAS
objects already present in that xarray, so it cannot release the current
IOAS.
Release the current IOAS rwsem and object reference before unwinding the
previously stored entries.
📍 영향받는 시스템
Linux Kernel (iommufd 관련 모듈이 포함된 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 IOMMUF_D 작업을 반복적으로 실패시켜 시스템 자원을 고갈시키는 방식
🛡️ 대응 방법
iommufd 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인