🇰🇷 한글 설명
리눅스 커널의 irqchip/gic-v3-its 구성 요소에서 오류 처리 과정 중 메모리를 중복 해제하는 Double Free 취약점이 발견되었습니다. its_vpe_init() 함수가 실패할 경우, 이미 해제된 메모리 영역을 다시 해제하려고 시도하여 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터가 사용하던 메모리를 정리할 때, 이미 치운 것을 또 치우려고 시도하면서 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3-its: Prevent double free on error
The error handling path in its_vpe_irq_domain_alloc() causes a double free
when its_vpe_init() fails after successfully allocating at least one
interrupt. This happens because its_vpe_irq_domain_free() frees the
interrupts along with the area bitmap and the vprop_page and
its_vpe_irq_domain_alloc() subsequently frees the area bitmap and the
vprop_page again.
Fix this by unconditionally invoking its_vpe_irq_domain_free() which
handles all cases correctly and by removing the bitmap/vprop_page freeing
from its_vpe_irq_domain_alloc().
[ tglx: Massaged change log ]
📍 영향받는 시스템
Linux Kernel (gic-v3-its 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
특정 오류 상황을 유도하여 커널 메모리 관리 로직을 트리거하는 방식 (로컬/커널 수준)
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.