🇰🇷 한글 설명
Linux 커널의 vsock/virtio 구성 요소에서 zerocopy skb를 채우기 전에 uarg를 먼저 바인딩하는 취약점이 발견되었습니다. 이로 인해 데이터 전송 중 오류가 발생하여 skb를 해제할 때 관리되는 프래그먼트의 참조 횟수가 올바르게 처리되지 않을 수 있습니다.
💡 쉬운 설명
데이터를 효율적으로 보내는 과정에서 메모리 관리 규칙이 어긋나 발생하는 문제입니다. 이로 인해 시스템 메모리 관리 오류가 발생하여 안정성에 영향을 줄 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
vsock/virtio: bind uarg before filling zerocopy skb
virtio_transport_send_pkt_info() allocates or reuses the zerocopy uarg
before entering the send loop, but virtio_transport_alloc_skb() still
fills the skb before it inherits that uarg. When fixed-buffer vectored
zerocopy hits MAX_SKB_FRAGS, io_sg_from_iter() may partially attach
managed frags and return -EMSGSIZE. The rollback path call kfree_skb()
to free an skb that carries SKBFL_MANAGED_FRAG_REFS but no uarg, so
skb_release_data() falls through to ordinary frag unref.
Pass the uarg into virtio_transport_alloc_skb() and bind it immediately
before virtio_transport_fill_skb(). This keeps control or no-payload skbs
untouched while ensuring success and rollback share one lifetime rule.
📍 영향받는 시스템
Linux kernel (vsock/virtio 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특정 조건의 네트워크 패킷 전송을 유도하여 메모리 참조 오류 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.