🇰🇷 한글 설명
Linux 커널의 drm/i915 드라이버에서 발생한 Use-After-Free(UAF) 취약점입니다. gem_context_register() 함수가 컨텍스트를 사용자 공간에 노출하는 과정에서, 별도의 스레드가 컨텍스트를 파괴하는 ioctl을 호출할 경우 메모리 참조 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 처리 장치(GPU)를 관리하는 프로그램에서 메모리 관리 실수로 인해 발생하는 보안 결함입니다. 공격자가 이 허점을 이용하면 시스템의 메모리를 잘못된 방식으로 조작하여 권한을 탈취하거나 시스템을 중단시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/i915: Fix potential context UAFs
gem_context_register() makes the context visible to userspace, and which
point a separate thread can trigger the I915_GEM_CONTEXT_DESTROY ioctl.
So we need to ensure that nothing uses the ctx ptr after this. And we
need to ensure that adding the ctx to the xarray is the *last* thing
that gem_context_register() does with the ctx pointer.
[tursulin: Stable and fixes tags add/tidy.]
(cherry picked from commit bed4b455cf5374e68879be56971c1da563bcd90c)
📍 영향받는 시스템
i915 드라이버를 사용하는 Linux 커널 버전 (패치 적용 전 버전)
⚔️ 공격 벡터
멀티스레딩 환경에서 특정 ioctl(I915_GEM_CONTEXT_DESTROY)을 정밀하게 타이밍에 맞춰 호출하여 메모리 해제 후 재사용 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인하십시오.