CheckCore 취약점 점검 · 조치

CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writable

netfilter: bridge: 쓰기 가능한 ebt_snat ARP 재작성 기계 번역

실제 악용 확인(KEV)

설명

Linux 커널에서 다음 취약점이 해결되었습니다. netfilter: bridge: 쓰기 가능한 ebt_snat ARP 재작성 ebtables SNAT 대상은 이더넷 소스 주소를 skb_ensure_writable(skb, 0) 뒤에 다시 작성합니다. 이것은 의도적인 것이다: bridge ebtables hooks에서 이더넷 헤더는 skb_mac_header()/eth_hdr()을 통해 처리되고, 반면에 이더넷 페이로드의 skb->데이터 포인트는 처리된다. ETH_HLEN 바이트에 대해 skb_ensure_writable() 을 요청하면 이더넷 헤더가 아닌 페이로드를 검사하고 커밋 63137bc5882a에 의해 수정된 작은 패킷 회귀를 다시 도입합니다. 그러나 선택적 ARP 발신자 하드웨어 주소 재작성 방식은 다릅니다. skb->data에 대한 오프셋에서 skb_store_bits()를 통해 씁니다. skb_store_bits(skb, sizeof(struct arphdr), info->mac, ETH_ALEN) skb_header_pointer()는 ARP 헤더만 안전하게 읽어들인다; 이것은 이후의 송신자 하드웨어 주소 범위에 쓰기가 가능하지 않다. 만약 그 범위가 여전히 splice-imported 파일 페이지에 의해 뒷받침되는 비선형 skb 조각에 유지된다면, skb_store_bits() 는 frag 페이지를 매핑하고 새로운 MAC 주소를 직접 복사한다. ARP 헤더를 읽기 전과 skb_store_bits()를 호출하기 전에 ARP SHA 범위에 쓰기 가능한지 확인합니다.

기계 번역

원문 보기

In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: make ebt_snat ARP rewrite writable The ebtables SNAT target keeps the Ethernet source address rewrite behind skb_ensure_writable(skb, 0). This is intentional: at the bridge ebtables hooks the Ethernet header is addressed through skb_mac_header()/eth_hdr(), while skb->data points at the Ethernet payload. Asking skb_ensure_writable() for ETH_HLEN bytes would check the payload, not the Ethernet header, and would reintroduce the small packet regression fixed by commit 63137bc5882a. However, the optional ARP sender hardware address rewrite is different. It writes through skb_store_bits() at an offset relative to skb->data: skb_store_bits(skb, sizeof(struct arphdr), info->mac, ETH_ALEN) skb_header_pointer() only safely reads the ARP header; it does not make the later sender hardware address range writable. If that range is still held in a nonlinear skb fragment backed by a splice-imported file page, skb_store_bits() maps the frag page and copies the new MAC address directly into it. Ensure the ARP SHA range is writable before reading the ARP header and before calling skb_store_bits().

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.4.73 이상 5.5 미만
    • 5.8.17 이상 5.9 미만
    • 5.9.2 이상 5.10 미만
    • 5.10

    해결 버전

    • 5.5 이상
    • 5.9 이상
    • 5.10 이상
    • 5.10 미만
    • 5.10.259 이상
    • 5.15.210 이상
    • 6.1.176 이상
    • 6.6.143 이상
    외 3개 구간 펼치기
    • 6.12.94 이상
    • 6.18.36 이상
    • 7.0.13 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의