🔍 CVE-2026-80613

7.8
CVSS Score
HIGH
2026-08-28
2026-10-16 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 veth 드라이버에서 XDP 활성화 중 오류가 발생할 경우 NAPI 구조체가 제대로 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이로 인해 장치 삭제 시 해제된 메모리를 참조하는 Use-After-Free(UAF) 오류가 발생하여 시스템 메모리 오염을 유발할 수 있습니다.

💡 쉬운 설명

네트워크 장치를 설정하다가 오류가 나면 청소 작업이 제대로 이루어지지 않아 메모리 찌꺼기가 남게 됩니다. 나중에 이 찌꺼기를 다시 사용하려고 할 때 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: veth: fix NAPI leak in XDP enable error path During XDP enablement in veth, if xdp_rxq_info_reg() or xdp_rxq_info_reg_mem_model() fails, the driver rolls back the changes. However, the rollback loop: for (i--; i >= start; i--) { decrements the loop index 'i' before the first iteration. This correctly skips unregistering the rxq for the failed index 'i' (as registration failed or was already cleaned up), but it also erroneously skips calling netif_napi_deli() for rq[i].xdp_napi. Since netif_napi_add() was already called for index 'i', this leaves a dangling napi_struct in the device's napi_list. When the veth device is later destroyed, the freed queue memory (which contains the leaked NAPI structure) can be reused. The subsequent device teardown iterates the NAPI list and corrupts the reallocated memory, leading to UAF. Fix this by explicitly deleting the NAPI association for the failed index 'i' before rolling back the successfully configured queues.

📍 영향받는 시스템

XDP를 사용하는 Linux 커널 기반 시스템 (veth 드라이버 포함)

⚔️ 공격 벡터

로컬 권한을 가진 공격자가 veth 장치의 XDP 설정을 반복적으로 실패시켜 메모리 오염 및 권한 상승 유도

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전 이상인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel