🔍 CVE-2024-57932

9.8
CVSS Score
CRITICAL
2025-01-21
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 GVE 드라이버에서 XDP 프로그램이 설치되지 않았거나 인터페이스가 비활성화된 상태에서 XDP 전송 콜백이 호출될 때 발생하는 취약점입니다. 이로 인해 0으로 나누기 오류(divide-by-zero)가 발생하거나 NULL 포인터 참조로 인한 시스템 충돌이 발생할 수 있습니다.

💡 쉬운 설명

네트워크 카드의 특정 기능이 꺼져 있는 상태에서 잘못된 명령이 전달되면 컴퓨터 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 이를 방지하기 위해 시스템이 현재 상태를 정확히 확인하도록 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: gve: guard XDP xmit NDO on existence of xdp queues In GVE, dedicated XDP queues only exist when an XDP program is installed and the interface is up. As such, the NDO XDP XMIT callback should return early if either of these conditions are false. In the case of no loaded XDP program, priv->num_xdp_queues=0 which can cause a divide-by-zero error, and in the case of interface down, num_xdp_queues remains untouched to persist XDP queue count for the next interface up, but the TX pointer itself would be NULL. The XDP xmit callback also needs to synchronize with a device transitioning from open to close. This synchronization will happen via the GVE_PRIV_FLAGS_NAPI_ENABLED bit along with a synchronize_net() call, which waits for any RCU critical sections at call-time to complete.

📍 영향받는 시스템

XDP 기능을 사용하는 GVE(Google Virtual Ethernet) 드라이버가 포함된 Linux 커널

⚔️ 공격 벡터

로컬 권한을 가진 공격자가 특정 네트워크 인터페이스 상태를 조작하여 커널 패닉을 유도

🛡️ 대응 방법

GVE 드라이버의 XDP 전송 콜백 로직이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel