🔍 CVE-2026-43120

7.8
CVSS Score
HIGH
2026-05-06
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널 RDMA/irdma 드라이버에서 메모리 영역 재등록(rereg_user_mr) 시 발생하는 이중 해제 취약점. IB_MR_REREG_TRANS 플래그 설정 중 실패 시 iwmr->region을 NULL로 설정하지 않아, 이후 ibv_dereg_mr 호출 시 메모리를 다시 해제하려고 시도함.

💡 쉬운 설명

Linux 커널에서 메모리를 두 번 해제하려는 버그로, 시스템 충돌이나 커널 패닉을 유발할 수 있음. 로컬 사용자가 실패한 메모리 작업을 통해 악용 가능.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix double free related to rereg_user_mr If IB_MR_REREG_TRANS is set during rereg_user_mr, the umem will be released and a new one will be allocated in irdma_rereg_mr_trans. If any step of irdma_rereg_mr_trans fails after the new umem is allocated, it releases the umem, but does not set iwmr->region to NULL. The problem is that this failure is propagated to the user, who will then call ibv_dereg_mr (as they should). Then, the dereg_mr path will see a non-NULL umem and attempt to call ib_umem_release again. Fix this by setting iwmr->region to NULL after ib_umem_release. Fixed: 5ac388db27c4 ("RDMA/irdma: Add support to re-register a memory region")

📍 영향받는 시스템

Linux kernel with RDMA/irdma driver (kernel versions before commit 5ac388db27c4)

⚔️ 공격 벡터

Local user triggering failed memory region re-registration via ibv_dereg_mr system call

🛡️ 대응 방법

Linux kernel을 5ac388db27c4 커밋 이후 버전으로 업그레이드 또는 RDMA/irdma 드라이버 패치 적용

🔧 검증 코드

커널 버전 확인 및 irdma 모듈 로드 여부 확인 후, 취약한 버전이면 커널 업데이트 필요

Shell / Script
uname -r && grep -i irdma /proc/modules 2>/dev/null || echo 'RDMA module not loaded'

📊 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