🔍 CVE-2026-74378

7.8
CVSS Score
HIGH
2026-08-15
2026-10-16 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RDMA/rxe 구성 요소에서 get_srq_wqe 함수 내 TOCTOU(Time-of-Check to Time-of-Use) 취약점으로 인한 힙 오버플로우가 발견되었습니다. 사용자 공간에 매핑된 버퍼의 값을 검증한 후 다시 읽는 과정에서 값이 변경될 수 있어, 메모리 복사 시 범위를 초과하는 데이터가 쓰여질 수 있습니다.

💡 쉬운 설명

데이터의 크기를 확인한 직후에 해커가 그 크기를 몰래 바꿔버려 메모리 공간을 넘치게 만드는 보안 결함입니다. 이로 인해 시스템의 중요한 데이터가 손상되거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe get_srq_wqe() reads wqe->dma.num_sge from the shared receive queue buffer, which is mapped into userspace. It validates num_sge against max_sge, but then re-reads the same field to calculate the memcpy size. A concurrent userspace thread can modify num_sge between validation and use, causing a heap buffer overflow when copying the WQE into qp->resp.srq_wqe. Read num_sge into a local variable and use it for both the bounds check and the size calculation.

📍 영향받는 시스템

RDMA/rxe 모듈을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

사용자 공간에서 공유 버퍼의 값을 검증과 사용 사이의 짧은 시간 동안 수정하는 동시성 공격

🛡️ 대응 방법

커널 패치를 적용하여 num_sge 값을 로컬 변수에 저장한 뒤 검증과 계산에 동일하게 사용하도록 업데이트

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.

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