🔍 CVE-2024-39293

9.8
CVSS Score
CRITICAL
2024-06-25
2026-08-04 11:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 xsk 기능에서 여러 NAPI 인스턴스가 동일한 AF_XDP 소켓으로 리다이렉트될 때 커널 충돌이 발생할 수 있는 취약점입니다. queue_index 확인 절차 누락으로 인해 여러 인스턴스가 Rx 링에 동시에 접근하여 링 상태를 손상시키고 시스템을 중단시킬 수 있습니다.

💡 쉬운 설명

네트워크 데이터를 처리하는 과정에서 여러 작업이 동시에 같은 통로를 사용하려고 시도하여 시스템이 멈추거나 꺼질 수 있는 문제입니다. 데이터 통로의 관리 규칙이 제대로 지켜지지 않아 발생하는 오류입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Revert "xsk: Support redirect to any socket bound to the same umem" This reverts commit 2863d665ea41282379f108e4da6c8a2366ba66db. This patch introduced a potential kernel crash when multiple napi instances redirect to the same AF_XDP socket. By removing the queue_index check, it is possible for multiple napi instances to access the Rx ring at the same time, which will result in a corrupted ring state which can lead to a crash when flushing the rings in __xsk_flush(). This can happen when the linked list of sockets to flush gets corrupted by concurrent accesses. A quick and small fix is not possible, so let us revert this for now.

📍 영향받는 시스템

AF_XDP 및 xsk 기능을 사용하는 Linux 커널 (특정 커밋 2863d665 적용 버전)

⚔️ 공격 벡터

네트워크 패킷 처리를 조작하여 여러 NAPI 인스턴스가 동일한 AF_XDP 소켓에 동시 접근하도록 유도

🛡️ 대응 방법

해당 취약점이 해결된 최신 Linux 커널 버전으로 업데이트하거나 관련 패치를 적용

🔧 검증 코드

출력된 커널 버전이 취약한 패치가 포함된 커밋(2863d665) 이후의 버전인지 확인

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