🔍 CVE-2026-89795

8.4
CVSS Score
HIGH
2026-09-16
2026-10-21 13:20
✅ 완료

🇰🇷 한글 설명

s390 시스템의 Linux 커널에서 멀티펑션 PCI 장치의 슬롯 할당 오류로 인해 잘못된 함수가 리셋되거나 메모리가 누수되는 취약점이 발견되었습니다. 하이퍼바이저를 통해 개별 PCI 함수를 노출할 때 동일한 pci_slot 객체를 공유함으로써 발생하는 문제입니다. 이를 해결하기 위해 per-function PCI 슬롯을 지원하도록 구조체가 수정되었습니다.

💡 쉬운 설명

컴퓨터의 부품을 초기화할 때 엉뚱한 부품이 꺼지거나, 시스템의 메모리가 조금씩 새어나가는 문제가 있었습니다. 특히 특정 서버 환경에서 여러 기능을 가진 장치를 사용할 때 이 문제가 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: PCI: Allow per function PCI slots to fix slot reset on s390 On s390 systems, which use a machine level hypervisor, PCI devices are always accessed through a form of PCI pass-through which fundamentally operates on a per PCI function granularity. This is also reflected in the s390 PCI hotplug driver which creates hotplug slots for individual PCI functions. Its reset_slot() function, which is a wrapper for zpci_hot_reset_device(), thus also resets individual functions. Currently, the pci_create_slot() assigns the same pci_slot object to multifunction devices. This approach worked fine on s390 systems that only exposed virtual functions as individual PCI domains to the operating system. Since commit 44510d6fa0c0 ("s390/pci: Handling multifunctions") s390 supports exposing the topology of multifunction PCI devices by grouping them in a shared PCI domain. This creates a problem when resetting a function through the hotplug driver's slot_reset() interface. When attempting to reset a function through the hotplug driver, the shared slot assignment causes the wrong function to be reset instead of the intended one. It also leaks memory as we do create a pci_slot object for the function, but don't correctly free it in pci_slot_release(). Add a flag for struct pci_slot to allow per function PCI slots for functions managed through a hypervisor, which exposes individual PCI functions while retaining the topology. Since we can use all 8 bits for slot 'number' (for ARI devices), change slot 'number' u16 to account for special values PCI_SLOT_PLACEHOLDER and PCI_SLOT_ALL_DEVICES.

📍 영향받는 시스템

Linux kernel (s390 architecture using machine level hypervisor)

⚔️ 공격 벡터

로컬 공격자가 PCI 핫플러그 드라이버의 slot_reset() 인터페이스를 호출하여 잘못된 장치 리셋 유도 또는 메모리 누수 유발

🛡️ 대응 방법

PCI 슬롯 관리를 위해 per-function PCI 슬롯 플래그가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel