🇰🇷 한글 설명
리눅스 커널의 drm/panthor 드라이버에서 장치 연결 해제와 펌웨어 이벤트 처리 간의 Use-After-Free(UAF) 레이스 컨디션 취약점이 발견되었습니다. 장치 연결 해제 시 펌웨어 메모리가 해제된 후에도 처리되지 않은 이벤트가 남아 있어, 해당 메모리에 접근을 시도할 때 문제가 발생합니다.
💡 쉬운 설명
장치를 컴퓨터에서 뽑았을 때, 컴퓨터가 아직 처리 중이던 데이터가 사라진 메모리 공간을 다시 건드리려고 해서 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: Fix UAF race between device unplug and FW event processing
The function panthor_fw_unplug() will free the FW memory sections.
The problem is that there could still be pending FW events which are yet
not handled at this point. process_fw_events_work() can in this case try
to access said freed memory.
Simply call disable_work_sync() to both drain and prevent future
invocation of process_fw_events_work().
📍 영향받는 시스템
Linux kernel (drm/panthor driver 포함 버전)
⚔️ 공격 벡터
장치 연결 해제 시점과 펌웨어 이벤트 처리 시점 사이의 타이밍을 이용한 로컬 공격
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 panthor 드라이버의 UAF 패치가 적용된 이후 버전인지 확인하십시오.