🇰🇷 한글 설명
Linux 커널의 rtl818x Wi-Fi 드라이버 내 rtl8180_init_rx_ring() 함수에서 메모리 누수 취약점이 발견되었습니다. 메모리 할당 중 오류가 발생할 경우, 이전에 성공적으로 할당된 메모리들이 해제되지 않고 남게 되는 문제입니다. 이를 해결하기 위해 오류 발생 시 할당된 메모리를 적절히 해제하도록 수정되었습니다.
💡 쉬운 설명
Wi-Fi를 작동시키기 위해 컴퓨터 메모리를 빌려 쓰는 과정에서, 문제가 생겼을 때 빌린 메모리를 돌려주지 않고 그대로 두는 버그가 있었습니다. 이 버그가 반복되면 컴퓨터의 메모리가 점점 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()
In rtl8180_init_rx_ring(), memory is allocated for skb packets and DMA
allocations in a loop. When an allocation fails, the previously
successful allocations are not freed on exit.
Fix that by jumping to err_free_rings label on error, which calls
rtl8180_free_rx_ring() to free the allocations. Remove the free of
rx_ring in rtl8180_init_rx_ring() error path, and set the freed
priv->rx_buf entry to null, to avoid double free.
📍 영향받는 시스템
Linux kernel (rtl818x Wi-Fi driver module)
⚔️ 공격 벡터
로컬 공격자가 시스템 자원을 고갈시키기 위해 메모리 할당 실패를 유도할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.