🔍 CVE-2026-98465

7.0
CVSS Score
HIGH
2026-10-18
2026-10-24 14:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RISC-V KVM에서 IMSIC 속성 접근이 KVM_RUN과 직렬화되지 않아, vCPU 마이그레이션 중 해제된 VS-file의 물리 CPU 및 HGEI 정보가 재사용되어 다른 vCPU의 인터럽트 파일에 접근할 수 있는 문제입니다. 해당 속성 작업 전체를 대상 vCPU 뮤텍스로 보호하도록 수정되었습니다.

💡 쉬운 설명

가상 머신의 인터럽트 장치 설정을 읽거나 쓰는 작업과 가상 CPU가 실행되는 작업이 서로 동기화되지 않았습니다. 그 사이에 가상 CPU가 옮겨지면 다른 가상 CPU의 설정 영역을 건드릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Serialize IMSIC attributes with vCPU migration KVM device ioctls are not serialized against KVM_RUN. As a result, kvm_riscv_aia_imsic_rw_attr() can snapshot the physical CPU and HGEI of an IMSIC VS-file before a concurrent vCPU migration releases it. The HGEI can then be allocated to another vCPU before imsic_vsfile_rw() uses the stale tuple. A GET or SET attribute may consequently access the new owner's interrupt file. Serialize the entire IMSIC attribute operation with the target vCPU mutex. This prevents the VS-file from being migrated and recycled until the attribute access completes. Acquire the mutex killably so that the device ioctl remains interruptible while waiting for KVM_RUN to finish.

📍 영향받는 시스템

RISC-V 아키텍처에서 AIA(IMSIC) KVM 가상화를 사용하는 수정 전 Linux 커널

⚔️ 공격 벡터

게스트 권한을 가진 공격자가 KVM 장치 ioctl을 KVM_RUN과 경쟁적으로 호출해 다른 vCPU의 인터럽트 파일에 접근하는 방식

🛡️ 대응 방법

패치된 Linux 커널 버전으로 업데이트하거나 해당 커널 수정 사항을 적용하세요.

🔧 검증 코드

출력된 커널 버전이 해당 CVE 수정이 포함된 패치 버전 이상인지 배포판 보안 공지나 커널 changelog로 확인하고, 이전 버전이면 취약한 것으로 판단합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H

💻 영향받는 소프트웨어

Linux Kernel