🔍 CVE-2024-38544

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

🇰🇷 한글 설명

Linux 커널의 RDMA/rxe 구성 요소에서 rxe_comp_queue_pkt 함수 내 세그멘테이션 결함(Segfault)이 발생할 수 있는 취약점입니다. 응답 패킷을 큐에 넣은 후 성능 카운터를 업데이트하는 과정에서, 이미 처리되어 해제된 메모리 주소에 접근함으로써 시스템 충돌이 발생할 수 있습니다.

💡 쉬운 설명

네트워크 데이터를 처리하는 과정에서 이미 사용이 끝난 메모리 정보를 다시 건드리려다 컴퓨터가 갑자기 멈추거나 오류가 발생하는 문제입니다. 데이터 처리 순서가 잘못되어 발생하는 메모리 관리 오류입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt In rxe_comp_queue_pkt() an incoming response packet skb is enqueued to the resp_pkts queue and then a decision is made whether to run the completer task inline or schedule it. Finally the skb is dereferenced to bump a 'hw' performance counter. This is wrong because if the completer task is already running in a separate thread it may have already processed the skb and freed it which can cause a seg fault. This has been observed infrequently in testing at high scale. This patch fixes this by changing the order of enqueuing the packet until after the counter is accessed.

📍 영향받는 시스템

RDMA/rxe 모듈을 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

고부하 네트워크 환경에서 특수하게 조작된 RDMA 응답 패킷을 전송하여 메모리 오류 유도

🛡️ 대응 방법

RDMA/rxe 패치가 적용된 최신 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