🇰🇷 한글 설명
Linux 커널의 lan966x 네트워크 드라이버에서 오류 발생 시 페이지 풀(page pool)이 제대로 해제되지 않는 메모리 누수 취약점이 발견되었습니다. lan966x_fdma_rx_alloc() 및 lan966x_fdma_init() 함수 내의 특정 오류 경로에서 페이지 풀을 파괴하는 과정이 누락되어 발생합니다.
💡 쉬운 설명
네트워크 장치를 사용하는 과정에서 오류가 발생하면 컴퓨터의 메모리가 제대로 반환되지 않고 계속 쌓이는 문제입니다. 이 현상이 반복되면 시스템의 메모리가 부족해져 컴퓨터가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: lan966x: fix page pool leak in error paths
lan966x_fdma_rx_alloc() creates a page pool but does not destroy it if
the subsequent fdma_alloc_coherent() call fails, leaking the pool.
Similarly, lan966x_fdma_init() frees the coherent DMA memory when
lan966x_fdma_tx_alloc() fails but does not destroy the page pool that
was successfully created by lan966x_fdma_rx_alloc(), leaking it.
Add the missing page_pool_destroy() calls in both error paths.
📍 영향받는 시스템
Linux kernel (lan966x driver module)
⚔️ 공격 벡터
특정 네트워크 오류 상황을 유도하여 시스템 메모리 자원을 고갈시키는 방식 (DoS)
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 page_pool_destroy() 호출이 포함된 수정 사항을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.