🔍 CVE-2024-35958

7.8
CVSS Score
HIGH
2024-05-20
2026-10-15 01:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 ENA 드라이버에서 TX 큐 처리 방식의 오류로 인해 발생하는 취약점입니다. XDP 전용 큐의 디스크립터를 잘못된 방식으로 해제하여, 가상 기능(VF) 리셋 발생 시 디스크립터가 올바르게 해제되지 않고 시스템 크래시를 유발할 수 있습니다.

💡 쉬운 설명

네트워크 데이터를 처리하는 과정에서 메모리를 정리하는 방식에 실수가 있어, 특정 상황에서 컴퓨터 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 네트워크 장치가 재설정될 때 메모리 관리 오류가 발생하여 시스템 안정성을 해칩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: ena: Fix incorrect descriptor free behavior ENA has two types of TX queues: - queues which only process TX packets arriving from the network stack - queues which only process TX packets forwarded to it by XDP_REDIRECT or XDP_TX instructions The ena_free_tx_bufs() cycles through all descriptors in a TX queue and unmaps + frees every descriptor that hasn't been acknowledged yet by the device (uncompleted TX transactions). The function assumes that the processed TX queue is necessarily from the first category listed above and ends up using napi_consume_skb() for descriptors belonging to an XDP specific queue. This patch solves a bug in which, in case of a VF reset, the descriptors aren't freed correctly, leading to crashes.

📍 영향받는 시스템

ENA 드라이버를 사용하는 리눅스 커널 기반 시스템 (XDP 사용 환경)

⚔️ 공격 벡터

로컬 또는 네트워크 환경에서 가상 기능(VF) 리셋을 유도하여 시스템 크래시 유발

🛡️ 대응 방법

ENA 드라이버의 디스크립터 해제 로직이 수정된 최신 리눅스 커널로 업데이트

🔧 검증 코드

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

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