🇰🇷 한글 설명
Linux 커널의 nouveau/gem 구성 요소에서 info ioctl 호출 시 VMA 조회 과정 중 race condition이 발생할 수 있습니다. 이로 인해 gem close 경로에서 VMA가 닫히는 동안 정보 조회가 진행되어 Use-After-Free(UAF) 취약점이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 드라이버가 메모리를 사용하는 과정에서 두 가지 작업이 동시에 일어나 충돌이 발생하는 문제입니다. 이 충돌로 인해 이미 사용이 끝난 메모리 영역에 접근하게 되어 시스템 오류나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
nouveau/gem: reserve the bo in the info ioctl around the vma lookup
In the non-uvmm path, there could be a race between the info lookup
finding the vma, and the gem close path closing the vma leading
to a use-after-free.
Spotted with the help of Opus 4.6.
📍 영향받는 시스템
nouveau 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 조작된 ioctl 시스템 호출을 통한 레이스 컨디션 유도
🛡️ 대응 방법
nouveau/gem 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 해결된 최신 패치 버전인지 확인합니다.