🔍 CVE-2026-63941

8.8
CVSS Score
HIGH
2026-07-19
2026-10-22 15:13
✅ 완료

🇰🇷 한글 설명

Linux 커널의 KVM arm64 구현에서 게스트 하이퍼바이저가 ZCR_EL1을 통해 ZCR_EL2 레지스터를 업데이트할 경우, VL(Vector Length) 제한이 제대로 적용되지 않는 취약점이 발견되었습니다. 이로 인해 L2 게스트가 허용되지 않은 벡터 길이에 접근할 수 있는 보안 문제가 발생할 수 있습니다.

💡 쉬운 설명

가상화 환경에서 하이퍼바이저가 설정한 보안 규칙을 우회하여 시스템의 메모리 처리 범위를 비정상적으로 늘릴 수 있는 결함입니다. 이를 통해 공격자는 격리된 환경을 벗어나 권한 밖의 데이터에 접근할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Correctly cap ZCR_EL2 provided by a guest hypervisor ZCR_EL2 can be updated by a VHE guest hypervisor either using ZCR_EL2 (which traps) or ZCR_EL1 (which does not trap). KVM handles both in different way: - on ZCR_EL2 trap, ZCR_EL2.LEN is immediately capped at the VM's own VL limit. This has the potential to break existing SW that relies on the full LEN field to be stateful. - on ZCR_EL1 access, we do absolutely nothing. On restoring the SVE context for an L2 guest, we directly restore the guest hypervisor's view of ZCR_EL2 into the physical ZCR_EL2. If the guest's view of the register was updated using the ZCR_EL2 accessor, the value has already been sanitised (with the caveat mentioned above). But if the guest used ZCR_EL1, the raw value is written into the HW, and the L2 guest can now access VLs that it shouldn't. Fix all the above by moving the VL capping to the restore points, ensuring that: - the HW is always programmed with a capped value, irrespective of the accessor being used, - the ZCR_EL2.LEN field is always completely stateful, irrespective of the accessor being used. Additionally, move ZCR_EL2 to be a sanitised register, ensuring that only the LEN field is actually stateful. This requires some creative construction of the RES0 mask, as the sysreg generation script does not yet generate RAZ/WI fields. [maz: rewrote commit message, tidy up access_zcr_el2()]

📍 영향받는 시스템

Linux kernel (arm64 architecture, KVM 사용 환경)

⚔️ 공격 벡터

L2 게스트 하이퍼바이저가 ZCR_EL1 접근자를 사용하여 ZCR_EL2 레지스터의 VL 제한을 우회하는 방식

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ZCR_EL2 복구 시 VL 캡핑(Capping)이 강제되도록 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel