🇰🇷 한글 설명
리눅스 커널의 macb 네트워크 드라이버에서 프로브(probe) 오류 발생 시 phylink 인스턴스를 제대로 파괴하지 않아 발생하는 메모리 누수 취약점입니다. macb_mii_init() 과정에서 인스턴스가 생성되었음에도 불구하고, 오류 발생 시 netdev만 해제되고 인스턴스는 남게 되어 자원이 낭비됩니다.
💡 쉬운 설명
네트워크 장치를 연결하는 과정에서 오류가 발생했을 때, 사용하던 메모리 자원을 깨끗하게 정리하지 못하고 남겨두는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 조금씩 줄어들어 성능 저하나 불안정을 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: macb: destroy the phylink instance on the probe error path
macb_mii_init() creates a phylink instance on both of its success paths,
but the probe unwind frees the netdev without destroying it, so a failing
macb_alloc_tieoff() or register_netdev() leaks the instance.
Destroy it at err_out_unregister_mdio, which is only reachable once
macb_mii_init() has succeeded, so bp->phylink is valid there.
📍 영향받는 시스템
Linux kernel (macb driver 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 네트워크 드라이버 초기화 과정에서 오류를 유도하여 메모리 누수를 발생시킬 수 있음
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.