🇰🇷 한글 설명
Linux 커널의 drm/xe/client 구성 요소에서 bo_meminfo() 함수 호출 시 버퍼 객체(BO) 잠금(lock)이 누락된 취약점입니다. 이로 인해 객체의 상태가 변경될 경우 Null Pointer Dereference(NPD) 또는 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 메모리 정보를 확인하는 과정에서 데이터가 갑자기 바뀌어 시스템이 충돌하거나 오류가 생길 수 있는 문제입니다. 메모리 보호 장치가 제대로 작동하지 않아 발생하는 보안 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/client: add missing bo locking in show_meminfo()
bo_meminfo() wants to inspect bo state like tt and the ttm resource,
however this state can change at any point leading to stuff like NPD and
UAF, if the bo lock is not held. Grab the bo lock when calling
bo_meminfo(), ensuring we drop any spinlocks first. In the case of
object_idr we now also need to hold a ref.
v2 (MattB)
- Also add xe_bo_assert_held()
(cherry picked from commit 4f63d712fa104c3ebefcb289d1e733e86d8698c7)
📍 영향받는 시스템
Linux kernel (drm/xe driver 관련 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 시스템 호출을 통해 메모리 상태를 조작하여 커널 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.