🔍 CVE-2024-46750

7.8
CVSS Score
HIGH
2024-09-18
2026-10-15 01:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 PCI 버스 관리 과정에서 브리지 잠금(bridge lock)이 누락되어 발생하는 취약점입니다. pci_reset_bus() 호출 시 보조 버스 리셋 과정에서 적절한 잠금 메커니즘이 적용되지 않아 시스템 불안정성을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품들이 서로 통신하는 통로(PCI 버스)를 초기화할 때, 통로를 안전하게 잠그는 절차가 빠져 있는 상태입니다. 이로 인해 여러 작업이 동시에 통로를 건드리면 시스템이 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: PCI: Add missing bridge lock to pci_bus_lock() One of the true positives that the cfg_access_lock lockdep effort identified is this sequence: WARNING: CPU: 14 PID: 1 at drivers/pci/pci.c:4886 pci_bridge_secondary_bus_reset+0x5d/0x70 RIP: 0010:pci_bridge_secondary_bus_reset+0x5d/0x70 Call Trace: <TASK> ? __warn+0x8c/0x190 ? pci_bridge_secondary_bus_reset+0x5d/0x70 ? report_bug+0x1f8/0x200 ? handle_bug+0x3c/0x70 ? exc_invalid_op+0x18/0x70 ? asm_exc_invalid_op+0x1a/0x20 ? pci_bridge_secondary_bus_reset+0x5d/0x70 pci_reset_bus+0x1d8/0x270 vmd_probe+0x778/0xa10 pci_device_probe+0x95/0x120 Where pci_reset_bus() users are triggering unlocked secondary bus resets. Ironically pci_bus_reset(), several calls down from pci_reset_bus(), uses pci_bus_lock() before issuing the reset which locks everything *but* the bridge itself. For the same motivation as adding: bridge = pci_upstream_bridge(dev); if (bridge) pci_dev_lock(bridge); to pci_reset_function() for the "bus" and "cxl_bus" reset cases, add pci_dev_lock() for @bus->self to pci_bus_lock(). [bhelgaas: squash in recursive locking deadlock fix from Keith Busch: https://lore.kernel.org/r/[email protected]]

📍 영향받는 시스템

PCI 버스 리셋 기능을 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

로컬 권한을 가진 공격자가 특정 PCI 장치 리셋을 유도하여 커널 데드락 또는 시스템 불안정 유발

🛡️ 대응 방법

pci_bus_lock()에 브리지 잠금을 추가한 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 패치된 최신 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel