🇰🇷 한글 설명
Linux 커널의 drm/vmwgfx 드라이버에서 사용자 리소스 조회 시 사용되는 RCU 잠금 메커니즘의 결함으로 인해 발생합니다. 두 개의 서로 다른 스레드에서 명령 버퍼를 동시에 제출할 경우 드라이버 충돌 및 커널 오류(Kernel Oops)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 처리 장치를 관리하는 소프트웨어에 오류가 있어, 여러 작업이 동시에 몰리면 시스템이 갑자기 멈추거나 꺼질 수 있습니다. 이는 특정 상황에서 데이터가 엉키면서 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: Remove rcu locks from user resources
User resource lookups used rcu to avoid two extra atomics. Unfortunately
the rcu paths were buggy and it was easy to make the driver crash by
submitting command buffers from two different threads. Because the
lookups never show up in performance profiles replace them with a
regular spin lock which fixes the races in accesses to those shared
resources.
Fixes kernel oops'es in IGT's vmwgfx execution_buffer stress test and
seen crashes with apps using shared resources.
📍 영향받는 시스템
RCU 잠금 방식의 결함이 포함된 Linux 커널의 drm/vmwgfx 드라이버를 사용하는 시스템
⚔️ 공격 벡터
멀티스레드 환경에서 동시에 명령 버퍼를 제출하여 드라이버 충돌 유도 (로컬 공격 가능성)
🛡️ 대응 방법
RCU 잠금을 일반 스핀락(spin lock)으로 교체한 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인