🇰🇷 한글 설명
Linux 커널의 MACB 드라이버에서 네트워크 인터페이스를 닫을 때 전송 중인 SKB(Socket Buffer)를 적절히 처리하지 않고 누수시키는 취약점이 발견되었습니다. 이로 인해 완료되지 않은 송신 데이터가 메모리에서 해제되지 않고 남아 메모리 누수를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 카드를 끌 때 아직 전송되지 않은 데이터 찌꺼기가 메모리에 계속 남아있는 문제입니다. 이 문제가 반복되면 컴퓨터의 메모리가 점점 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: macb: drop in-flight Tx SKBs on close
The MACB driver has since forever leaked the outgoing SKBs that
have not yet been marked as completed. They live in queue->tx_skb
which gets freed without remorse nor checking.
macb_free_consistent() gets called in a few codepaths, but only close will
trigger the added expressions. In macb_open() and macb_alloc_consistent()
failure cases, queues' tx_skb just got allocated and are empty.
📍 영향받는 시스템
MACB 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
직접적인 공격보다는 시스템 운영 중 네트워크 인터페이스를 빈번하게 열고 닫는 동작을 통해 메모리 누수를 유발할 수 있음
🛡️ 대응 방법
MACB 드라이버의 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인