🇰🇷 한글 설명
Linux 커널의 GICv5 인터럽트 컨트롤러 드라이버에서, 인터럽트 우선순위 해제(priority drop)가 EOI 단계와 함께 처리되어 긴 작업 중 다른 인터럽트가 차단될 수 있는 문제가 수정되었습니다. 수정으로 우선순위 해제가 인터럽트 응답 직후 즉시 수행되도록 변경되었습니다.
💡 쉬운 설명
일부 장치 인터럽트가 오래 처리되는 동안 다른 인터럽트가 막혀 시스템이 멈추는 것처럼 보일 수 있는 문제입니다. 커널 업데이트로 이 대기 현상을 해결할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v5: Immediately exec priority drop following activate
With GICv5 an interrupt of equal or lower priority cannot be signalled
until there has been a priority drop. This is done via the GIC CDEOI
system instruction. Once this has been executed, the hardware is able
to signal the next interrupt if there is one.
As all interrupts are programmed to have the same priority, no new
interrupts can be signalled until the priority drop has happened. This
can cause issues when, for example, an interrupt remains active while
a long running process takes place, such as when injecting a physical
interrupt into a guest VM in software.
The GICv5 driver has so far done the priority drop as part of
irq_eoi(), i.e., at the same time as deactivating the interrupt. This
means that any long running process (or VM) could block incoming
interrupts, effectively causing a denial of service for all other
interrupts.
Rather than doing the EOI as part of irq_eoi() (which the name would
suggest would be a good place for it), move it to happen immediately
after acknowledging an interrupt in the main GICv5 interrupt
handler. The deactivation of interrupts (GIC CDDI) remains implemented
as part of irq_eoi(), which means that the same interrupt cannot be
signalled a second time until deactivated by software.
📍 영향받는 시스템
GICv5 인터럽트 컨트롤러를 사용하는 Linux 커널 (수정 커밋 이전 버전)
⚔️ 공격 벡터
CVSS 점수가 없으며, 긴 처리 중인 인터럽트로 인한 서비스 거부 가능성이 있으나 공격 경로는 명시되지 않음
🛡️ 대응 방법
수정이 포함된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 배포판 보안 권고에서 수정된 버전 이상인지 확인하고, 미만이면 커널 업데이트가 필요합니다.