🇰🇷 한글 설명
Linux 커널의 netfilter nf_queue 구성 요소에서 발생하는 Use-After-Free 취약점입니다. 브리지 패킷이 큐에 저장될 때 skb->dev가 해제된 브리지 마스터를 가리키고 있어, 나중에 패킷이 재주입될 때 잘못된 메모리 참조를 유발합니다.
💡 쉬운 설명
네트워크 패킷을 잠시 보관하는 과정에서 이미 삭제된 네트워크 장치 정보를 계속 붙잡고 있어 발생하는 오류입니다. 이로 인해 시스템이 예기치 않게 종료되거나 보안 공격에 노출될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_queue: hold bridge skb->dev while queued
br_pass_frame_up() rewrites skb->dev from the ingress port to the bridge
master before queueing bridge LOCAL_IN packets. NFQUEUE only holds
references on state.in/out and bridge physdevs, so a queued bridge
packet can retain a freed bridge master in skb->dev until reinjection.
When the verdict is reinjected later, br_netif_receive_skb() re-enters
the receive path with skb->dev still pointing at the freed bridge master,
triggering a use-after-free.
Store skb->dev in the queue entry, hold a reference on it for the queue
lifetime, and use the saved device when dropping queued packets during
NETDEV_DOWN handling.
📍 영향받는 시스템
Linux Kernel (nf_queue 및 bridge 모듈을 사용하는 시스템)
⚔️ 공격 벡터
특정 네트워크 패킷을 NFQUEUE로 전달한 후, 브리지 인터페이스를 비활성화하여 메모리 참조 오류를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인하십시오.