🇰🇷 한글 설명
리눅스 커널의 ACPI APEI GHES 구성 요소에서 ARM 섹션 길이를 계산할 때 오류가 발생합니다. 헤더를 건너뛴 후 남은 길이를 계산할 때 구조체 크기가 아닌 포인터 크기를 차감하여, 데이터 길이를 과다 산정하고 CPER 섹션 범위를 벗어난 메모리 읽기가 가능해지는 취약점입니다.
💡 쉬운 설명
컴퓨터가 오류 정보를 읽을 때 계산 실수로 인해 정해진 데이터 범위를 넘어서서 메모리를 읽을 수 있는 문제입니다. 이로 인해 잘못된 데이터가 읽히거나 시스템에 영향을 줄 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ACPI: APEI: GHES: fix ARM section length accounting after header
In ghes_handle_arm_hw_error(), after skipping the cper_sec_proc_arm
header with (err + 1), the remaining length was reduced by sizeof(err)
(pointer size) instead of sizeof(*err) (structure size).
That overestimates the bytes left for cper_arm_err_info records and can
let the parser read past the CPER section when err_info_num is large
enough relative to error_data_length.
Use sizeof(*err) so the length accounting matches the pointer advance
and the earlier sizeof(*err) size check.
📍 영향받는 시스템
ARM 아키텍처를 사용하는 리눅스 커널 기반 시스템
⚔️ 공격 벡터
조작된 하드웨어 오류 데이터(CPER)를 통해 메모리 경계를 넘어서는 읽기 공격 수행
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 릴리스 버전인지 확인