🇰🇷 한글 설명
Linux 커널의 drm/panfrost 드라이버에서 madvise IOCTL을 중복 호출할 경우 메모리 shrinker 리스트가 손상되는 취약점입니다. 이로 인해 Buffer Object(BO)가 리스트에 중복 추가되어 커널 충돌(Crash)이 발생할 수 있습니다.
💡 쉬운 설명
그래픽 드라이버를 사용하는 과정에서 특정 명령을 두 번 연속 내리면 컴퓨터의 핵심 시스템인 커널이 혼란을 일으켜 멈추거나 꺼질 수 있습니다. 메모리 관리 목록에 데이터가 중복으로 들어가면서 발생하는 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/panfrost: Fix shrinker list corruption by madvise IOCTL
Calling madvise IOCTL twice on BO causes memory shrinker list corruption
and crashes kernel because BO is already on the list and it's added to
the list again, while BO should be removed from the list before it's
re-added. Fix it.
📍 영향받는 시스템
Panfrost GPU 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 madvise IOCTL을 특정 방식으로 중복 호출하여 커널 패닉 유도
🛡️ 대응 방법
Panfrost 드라이버의 메모리 관리 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인