🔍 CVE-2021-46967

7.8
CVSS Score
HIGH
2024-02-27
2026-08-04 10:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 vhost-vdpa 구성 요소에서 virtqueue 도어벨 매핑 시 필요한 VM_PFNMAP 플래그가 누락되어 발생하는 취약점입니다. 이로 인해 사용자 공간에서 IOTLB를 통해 도어벨을 매핑하려 할 때 커널 패닉이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 운영체제인 리눅스에서 특정 장치를 연결할 때 메모리 관리 설정이 잘못되어 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 공격자가 이를 악용하면 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: vhost-vdpa: fix vm_flags for virtqueue doorbell mapping The virtqueue doorbell is usually implemented via registeres but we don't provide the necessary vma->flags like VM_PFNMAP. This may cause several issues e.g when userspace tries to map the doorbell via vhost IOTLB, kernel may panic due to the page is not backed by page structure. This patch fixes this by setting the necessary vm_flags. With this patch, try to map doorbell via IOTLB will fail with bad address.

📍 영향받는 시스템

vhost-vdpa를 사용하는 Linux 커널 버전 (패치 적용 전 버전)

⚔️ 공격 벡터

사용자 공간에서 IOTLB를 통해 잘못된 방식으로 virtqueue 도어벨 매핑을 시도하여 커널 패닉 유도

🛡️ 대응 방법

vhost-vdpa의 vm_flags에 VM_PFNMAP를 추가하는 최신 리눅스 커널 패치 적용

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전인지 배포판 보안 공지를 통해 확인

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