🔍 CVE-2026-64476

0.0
CVSS Score
UNKNOWN
2026-07-25
2026-08-17 05:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 vfio-pci 드라이버에서 전력 관리 설정인 disable_idle_d3가 전역 변수로 관리되어 발생하는 취약점입니다. 모듈 재로드 시 전역 변수 값이 변경되면 이미 바인딩된 장치들의 전력 관리 참조 횟수(refcount)가 불균형해질 수 있습니다. 이를 해결하기 위해 해당 설정을 장치별로 개별 관리하도록 수정되었습니다.

💡 쉬운 설명

컴퓨터 부품의 절전 모드 설정이 모든 장치에 똑같이 적용되던 중, 설정을 바꾸면 이미 작동 중인 장치들의 전력 관리 계산이 꼬이는 문제가 있었습니다. 이로 인해 시스템이 불안정해질 수 있어, 이제는 각 장치마다 설정을 따로 저장하도록 고쳤습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Latch disable_idle_d3 per device When disable_idle_d3 was introduced in vfio-pci, it directly manipulated the device power state with pci_set_power_state(). There were no refcounts to maintain or balanced operations, we could unconditionally bring the device to D0 and conditionally move it to D3hot. Therefore the module parameter was made writable. Later, in commit c61302aa48f7 ("vfio/pci: Move module parameters to vfio_pci.c"), as part of the vfio-pci-core split, the writable aspect of the module parameter was nullified. The parameter value could still be changed through sysfs, but the vfio-pci driver latched the values into vfio-pci-core globals at module init. Loading the vfio-pci module, or unloading and reloading, with non-default or different values could change the globals relative to existing devices bound to vfio-pci variant drivers. Runtime PM was introduced in commit 7ab5e10eda02 ("vfio/pci: Move the unused device into low power state with runtime PM"), which marks the point where power states became refcounted. PM get and put operations need to be balanced, but the same module operations noted above can change the global variables relative to those devices already bound to vfio-pci variant drivers. This introduces a window where PM operations can now become unbalanced. To resolve this with a narrow footprint for stable backports, the disable_idle_d3 flag is latched into the vfio_pci_core_device at the time of initialization, such that the device always operates with a consistent value. NB. vfio_pci_dev_set_try_reset() now unconditionally raises the runtime PM usage count around bus reset to account for disable_idle_d3 becoming a per-device rather than global flag. When this flag is set, the additional get/put pair is harmless and allows continued use of the shared vfio_pci_dev_set_pm_runtime_get() helper.

📍 영향받는 시스템

Linux kernel (vfio-pci driver 사용 환경)

⚔️ 공격 벡터

로컬 사용자가 vfio-pci 모듈을 재로드하거나 sysfs를 통해 전역 파라미터를 조작하여 전력 관리 참조 횟수 불균형 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 disable_idle_d3가 장치별로 관리되도록 수정

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel