🔍 CVE-2026-52994

5.5
CVSS Score
MEDIUM
2026-06-24
2026-11-06 17:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 vsock/virtio 구성 요소에서 MSG_ZEROCOPY 사용 시 고정된 페이지(pinned-pages)의 메모리 제한(RLIMIT_MEMLOCK) 계산 오류가 발견되었습니다. 마지막 skb 처리 시 데이터 크기가 0으로 인식되어 메모리 제한 검사를 우회할 수 있는 취약점입니다.

💡 쉬운 설명

데이터를 전송할 때 메모리 사용량을 체크해야 하는데, 마지막 데이터 조각에서 크기를 0으로 잘못 계산하여 체크를 건너뛰는 문제입니다. 이로 인해 시스템이 허용된 메모리보다 더 많은 메모리를 사용하여 시스템이 불안정해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: fix MSG_ZEROCOPY pinned-pages accounting virtio_transport_init_zcopy_skb() uses iter->count as the size argument for msg_zerocopy_realloc(), which in turn passes it to mm_account_pinned_pages() for RLIMIT_MEMLOCK accounting. However, this function is called after virtio_transport_fill_skb() has already consumed the iterator via __zerocopy_sg_from_iter(), so on the last skb, iter->count will be 0, skipping the RLIMIT_MEMLOCK enforcement. Pass pkt_len (the total bytes being sent) as an explicit parameter to virtio_transport_init_zcopy_skb() instead of reading the already-consumed iter->count. This matches TCP and UDP, which both call msg_zerocopy_realloc() with the original message size.

📍 영향받는 시스템

Linux kernel (vsock/virtio 관련 모듈 사용 시스템)

⚔️ 공격 벡터

Zero-copy 기능을 사용하는 네트워크 통신을 통해 메모리 제한(RLIMIT_MEMLOCK)을 우회하여 과도한 메모리 점유 시도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel