🇰🇷 한글 설명
Linux 커널 drm/xe 드라이버의 xe_sync_entry_parse() 함수에서 파싱 실패 시 부분적으로 초기화된 동기화 객체(syncobj, fence 등)를 정리하지 않고 반환하여 메모리 및 리소스 누수가 발생합니다.
💡 쉬운 설명
GPU 드라이버가 작업을 준비하다가 실패했을 때 할당한 메모리를 제대로 정리하지 않는 버그입니다. 반복되면 시스템 메모리가 계속 증가합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/sync: Cleanup partially initialized sync on parse failure
xe_sync_entry_parse() can allocate references (syncobj, fence, chain fence,
or user fence) before hitting a later failure path. Several of those paths
returned directly, leaving partially initialized state and leaking refs.
Route these error paths through a common free_sync label and call
xe_sync_entry_cleanup(sync) before returning the error.
(cherry picked from commit f939bdd9207a5d1fc55cced5459858480686ce22)
📍 영향받는 시스템
Linux 커널 drm/xe (Intel Xe GPU 드라이버) 컴포넌트
⚔️ 공격 벡터
로컬 사용자가 비정상 동기화 객체를 생성하여 파싱 오류를 유발하고 메모리 누수를 야기
🛡️ 대응 방법
f939bdd9207a5d1fc55cced5459858480686ce22 커밋을 포함한 최신 Linux 커널로 업데이트
🔧 검증 코드
해당 커밋이 현재 커널에 포함되어 있으면 패치가 적용된 상태이고, 없으면 취약한 상태입니다.
git log --oneline | grep f939bdd9207a5d1fc55cced5459858480686ce22