🇰🇷 한글 설명
Linux 커널의 amdgpu 드라이버에서 PASID가 즉시 재사용될 때 발생하는 취약점입니다. 프로세스가 종료된 후 남은 하드웨어 상태나 대기 중인 페이지 폴트가 새로운 프로세스의 PASID와 충돌하여 인터럽트 문제를 일으킬 수 있습니다. 이를 해결하기 위해 커널 PID와 동일한 idr 순환 할당 방식을 도입했습니다.
💡 쉬운 설명
컴퓨터 부품이 이전 작업의 흔적을 다 지우기 전에 새로운 작업에 같은 번호를 부여하여 충돌이 발생하는 문제입니다. 이로 인해 시스템이 오작동하거나 예기치 않은 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: prevent immediate PASID reuse case
PASID resue could cause interrupt issue when process
immediately runs into hw state left by previous
process exited with the same PASID, it's possible that
page faults are still pending in the IH ring buffer when
the process exits and frees up its PASID. To prevent the
case, it uses idr cyclic allocator same as kernel pid's.
(cherry picked from commit 8f1de51f49be692de137c8525106e0fce2d1912d)
📍 영향받는 시스템
Linux kernel (amdgpu driver 포함 버전)
⚔️ 공격 벡터
특정 프로세스 종료 및 PASID 재사용을 유도하여 하드웨어 인터럽트 충돌 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인