🇰🇷 한글 설명
Linux 커널의 vfio/pci 구성 요소에서 INTx 마스킹 작업과 ioctl을 통한 인터럽트 설정 변경 간에 레이스 컨디션(경쟁 상태)이 발생할 수 있는 취약점입니다. 이를 해결하기 위해 코어 인터럽트 코드 외부의 경로에 잠금(Locking) 메커니즘을 추가하여 동기화를 보장하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 하드웨어 신호를 처리하는 과정에서 두 가지 작업이 동시에 일어나 충돌이 발생할 수 있는 문제입니다. 이로 인해 시스템이 예상치 못한 동작을 하거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
vfio/pci: Lock external INTx masking ops
Mask operations through config space changes to DisINTx may race INTx
configuration changes via ioctl. Create wrappers that add locking for
paths outside of the core interrupt code.
In particular, irq_type is updated holding igate, therefore testing
is_intx() requires holding igate. For example clearing DisINTx from
config space can otherwise race changes of the interrupt configuration.
This aligns interfaces which may trigger the INTx eventfd into two
camps, one side serialized by igate and the other only enabled while
INTx is configured. A subsequent patch introduces synchronization for
the latter flows.
📍 영향받는 시스템
Linux Kernel (vfio/pci 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특수하게 조작된 ioctl 호출과 설정 공간(config space) 변경을 동시에 수행하여 레이스 컨디션 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인