🔍 CVE-2026-98440

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

🇰🇷 한글 설명

Linux 커널의 KVM arm64 중첩 가상화(nv) 코드에서, 섀도 스테이지 2(S2) 구조체를 kvm_arch_flush_shadow_all() 내부에서 해제하던 문제를 수정했습니다. 해당 구조체는 시스템의 다른 부분에서 여전히 참조될 수 있으므로, 해제 시점을 VM 완전 파괴 시점으로 옮기는 별도의 destructor를 추가했습니다.

💡 쉬운 설명

가상 머신 안에서 또 다른 가상 머신을 돌리는 기능에서, 아직 사용 중인 메모리 정보를 너무 일찍 지우던 문제가 있었습니다. 이를 가상 머신이 완전히 종료될 때 정리하도록 바꿔 안정성을 높였습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction We free the shadow S2 structures from kvm_arch_flush_shadow_all(), which is a Bad Idea(tm). Freeing the page tables is fair game (this is what this callback is for), but freeing the container that could still be referenced by another part of the system is not great. Instead, grow separate destructors that gets called when we tear the VM down for good. From there, we can nuke both the individual MMUs as well as the global array that points to them, safe in the knowledge that the vcpus themselves have been destroyed already.

📍 영향받는 시스템

Linux 커널 (KVM arm64 중첩 가상화 기능을 사용하는 버전, 수정 커밋이 포함되지 않은 커널)

⚔️ 공격 벡터

공격자가 중첩 가상화 환경에서 해제된 메모리를 참조하도록 유도해 use-after-free를 일으켜 커널 메모리 손상이나 권한 상승을 시도할 수 있음

🛡️ 대응 방법

배포판 벤더가 제공하는 최신 커널로 업데이트하거나, 중첩 가상화(KVM nv)를 사용하지 않는다면 해당 기능을 비활성화

🔧 검증 코드

출력된 커널 버전이 배포판의 패치된 최신 버전인지 확인하고, arm64 환경에서 kvm 모듈이 로드되어 있다면 벤더 보안 공지에서 해당 CVE 패치 포함 여부를 대조하세요

Shell / Script
uname -r && grep -i kvm /proc/modules 2>/dev/null | head -5

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel