🇰🇷 한글 설명
Linux 커널의 batman-adv 모듈에서 메쉬 인터페이스 등록 실패 시 untagged VLAN 객체가 제대로 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 등록 과정에서 다른 알림 수신자에 의해 등록이 거부될 경우, 관련 리소스가 정리되지 않고 남게 됩니다.
💡 쉬운 설명
네트워크 연결을 시도하다가 오류가 발생했을 때, 사용하던 메모리를 깨끗이 치우지 않고 그대로 두는 버그입니다. 이 문제가 반복되면 시스템의 메모리가 조금씩 낭비되어 성능 저하나 불안정을 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: clean untagged VLAN on netdev registration failure
When an mesh interface is registered, it creates an untagged struct
batadv_meshif_vlan on top of it via the NETDEV_REGISTER notifier. But in
this process, another receiver of this notification can veto the
registration. The netdev registration will be aborted because of this veto.
The register_netdevice() call will try to clean up the net_device using
unregister_netdevice_queue() - which only uses the .priv_destructor to
free private resources. In this situation, .dellink will not be called.
The cleanup of the untagged batadv_meshif_vlan must thefore be done in the
destructor to avoid a leak of this object.
📍 영향받는 시스템
Linux kernel (batman-adv 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 시스템에서 네트워크 인터페이스 등록 실패를 유도하여 메모리 누수 발생 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.