🇰🇷 한글 설명
Linux 커널의 octeontx2-af 드라이버에서 VF(Virtual Function)가 자신의 PF(Physical Function) 범위를 벗어난 LMTLINE 정보를 읽을 수 있는 취약점이 발견되었습니다. 공격자가 조작된 base_pcifunc 필드를 사용하여 다른 함수의 물리적 베이스 주소에 접근할 수 있는 보안 결함입니다.
💡 쉬운 설명
가상 머신이 원래 허용된 영역을 넘어 다른 가상 머신의 메모리 주소 정보를 훔쳐볼 수 있는 보안 구멍입니다. 공격자가 이 정보를 이용하면 시스템의 중요한 데이터에 접근할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: cn10k: restrict VF LMTLINE sharing to its own PF
rvu_mbox_handler_lmtst_tbl_setup() uses req->base_pcifunc as a direct
index into the LMT map table to read another function's LMTLINE
physical base address and copy it into the caller's own LMT map table
entry. The mailbox dispatcher authenticates req->hdr.pcifunc from the
IRQ source, but req->base_pcifunc is a separate payload field and is
not sanitized.
Reject the request with -EPERM when a VF caller's base_pcifunc is not a
valid function under its own PF. is_pf_func_valid() bounds the FUNC field
to the PF's configured VF count, keeping the computed index inside the
caller's own slot block.
📍 영향받는 시스템
Linux kernel (octeontx2-af driver component)
⚔️ 공격 벡터
조작된 base_pcifunc 페이로드를 포함한 메일박스 요청을 통해 타 함수의 LMT 주소 탈취
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 is_pf_func_valid() 검증 로직 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.