🔍 CVE-2023-54201

7.8
CVSS Score
HIGH
2025-12-30
2026-10-28 19:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RDMA/efa 구성 요소에서 QP 또는 CQ를 파괴할 때 리소스 해제 순서가 잘못되어 발생하는 취약점입니다. 객체 파괴 요청이 실패할 경우 이미 해제된 참조 횟수(refcount)를 다시 감소시키려 시도하여 언더플로우가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 사용하던 메모리 자원을 정리하는 순서가 잘못되어, 이미 지운 것을 또 지우려고 하다가 시스템 오류가 발생하는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: RDMA/efa: Fix wrong resources deallocation order When trying to destroy QP or CQ, we first decrease the refcount and potentially free memory regions allocated for the object and then request the device to destroy the object. If the device fails, the object isn't fully destroyed so the user/IB core can try to destroy the object again which will lead to underflow when trying to decrease an already zeroed refcount. Deallocate resources in reverse order of allocating them to safely free them.

📍 영향받는 시스템

RDMA/efa 기능을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

특정 RDMA 객체(QP/CQ) 파괴 과정에서 장치 오류를 유도하여 참조 횟수 언더플로우 유발

🛡️ 대응 방법

리소스를 할당된 역순으로 해제하도록 수정된 최신 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