🇰🇷 한글 설명
게스트가 Linux netback 드라이버의 버퍼링 메커니즘을 악용하여 대량의 커널 메모리를 점유하도록 강제할 수 있는 취약점입니다. UDP 연결을 통해 빠른 속도로 데이터를 전송함으로써 타임아웃이 발생하기 전에 기가바이트 단위의 데이터를 축적하여 시스템 자원을 고갈시킬 수 있습니다.
💡 쉬운 설명
가상 머신 내부의 사용자가 의도적으로 엄청난 양의 데이터를 보내 컴퓨터의 핵심 메모리를 가득 채워 시스템을 느리게 하거나 멈추게 할 수 있습니다. 이는 마치 수도꼭지를 계속 틀어놓아 물이 넘치게 만드는 것과 비슷합니다.
🇺🇸 원문 (English)
Guest can force Linux netback driver to hog large amounts of kernel memory T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Incoming data packets for a guest in the Linux kernel's netback driver are buffered until the guest is ready to process them. There are some measures taken for avoiding to pile up too much data, but those can be bypassed by the guest: There is a timeout how long the client side of an interface can stop consuming new packets before it is assumed to have stalled, but this timeout is rather long (60 seconds by default). Using a UDP connection on a fast interface can easily accumulate gigabytes of data in that time. (CVE-2021-28715) The timeout could even never trigger if the guest manages to have only one free slot in its RX queue ring page and the next package would require more than one free slot, which may be the case when using GSO, XDP, or software hashing. (CVE-2021-28714)
📍 영향받는 시스템
Linux kernel netback driver를 사용하는 가상화 환경 (GSO, XDP, software hashing 사용 시 위험 증가)
⚔️ 공격 벡터
게스트 OS에서 고속 UDP 패킷을 지속적으로 전송하여 커널 버퍼를 의도적으로 축적
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 버퍼 관리 및 타임아웃 메커니즘 개선
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.