🇰🇷 한글 설명
Linux 커널의 irqchip/gic-v5 구성 요소에서 MADT IAFFID를 파싱할 때 get_logical_index()의 반환값을 확인하지 않는 취약점이 발견되었습니다. 이로 인해 커널이 인식하지 못하는 CPU 엔트리가 처리될 경우, per_cpu 변수 배열의 인덱스 범위를 벗어난 메모리 손상이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 CPU를 인식하는 과정에서 잘못된 번호를 참조하여 시스템 메모리를 망가뜨릴 수 있는 오류입니다. 이 오류가 발생하면 시스템이 멈추거나 보안이 뚫릴 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v5: Check get_logical_index() return value in MADT IAFFID parsing
In gic_acpi_parse_iaffid() a given MADT GICC entry might not correspond
to a logical cpu recognized by the kernel, resulting in the cpu variable
initialization to an error value.
Currently, the get_logical_index() return value is not checked for failure,
which might result in out-of-bounds memory corruption while trying to
index a per_cpu variable array.
Add a check to evaluate get_logical_index() return value.
📍 영향받는 시스템
Linux kernel (gic-v5 관련 구성 요소 포함 버전)
⚔️ 공격 벡터
악의적으로 조작된 ACPI MADT 테이블을 통해 커널의 메모리 오염 유도
🛡️ 대응 방법
get_logical_index()의 반환값을 검증하는 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 확인합니다.