🇰🇷 한글 설명
Linux 커널의 macb 네트워크 드라이버에서 mdio 자식 노드 참조를 적절히 해제하지 않아 발생하는 메모리 누수 취약점입니다. 성공적인 프로브 과정에서 참조 카운트가 해제되지 않아 시스템 리소스가 점진적으로 소모됩니다.
💡 쉬운 설명
네트워크 장치를 사용할 때마다 컴퓨터의 메모리가 조금씩 낭비되는 버그가 발견되었습니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: macb: put the "mdio" child node reference on success
macb_mii_init() holds the reference returned by of_get_child_by_name()
for macb_mdiobus_register() and drops it only on the error paths, so
every successful probe leaks a node reference. On a CM5, overlay
removal after four bind cycles reports
OF: ERROR: memory leak, expected refcount 1 instead of 5
Drop the reference after registration, where __mdiobus_register() has
already taken its own for the lifetime of the bus.
📍 영향받는 시스템
Linux kernel (macb driver module)
⚔️ 공격 벡터
로컬 시스템에서 장치 드라이버의 반복적인 바인딩/언바인딩을 통한 리소스 고갈
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트하여 macb_mii_init() 함수 수정 사항 반영
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인