🇰🇷 한글 설명
Linux 커널의 octeon 드라이버에서 cvm_oct_rx_shutdown 함수가 NAPI 인스턴스를 비활성화하기 전에 인터럽트를 해제하고 삭제하는 결함이 발견되었습니다. 이로 인해 NAPI poll 함수가 여전히 실행 중인 상태에서 메모리가 해제될 경우, 해제된 메모리에 접근하여 시스템 충돌을 일으키는 Use-After-Free 취약점이 발생할 수 있습니다.
💡 쉬운 설명
네트워크 장치를 끌 때 작업을 완전히 멈추지 않고 메모리를 먼저 지워버리는 문제가 있습니다. 이로 인해 시스템이 멈추거나 충돌이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
staging: octeon: add missing napi_disable in cvm_oct_rx_shutdown
cvm_oct_rx_shutdown calls free_irq and netif_napi_del without
disabling the napi instance first. As the free_irq only waits
for completion of hard interrupt handlers, the napi poll
function could still be active. If cvm_oct_remove proceeds to
free the plat structure (which holds the NAPI instances), the
active poll function will access freed memory, resulting in a
use-after-free crash.
📍 영향받는 시스템
Linux kernel (staging: octeon driver 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 네트워크 드라이버를 제거하거나 재설정하는 과정에서 발생 가능한 레이스 컨디션
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 cvm_oct_rx_shutdown에 napi_disable이 포함되도록 조치하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.