🇰🇷 한글 설명
Linux 커널의 hp-bioscfg 드라이버에서 ACPI 패키지의 비밀번호 인코딩을 파싱할 때 경계 검사 미흡으로 인한 취약점이 발견되었습니다. 악의적으로 조작된 ACPI 패키지를 통해 배열의 범위를 벗어난 메모리 읽기가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 설정 정보가 담긴 데이터 파일이 조작되었을 때, 시스템이 정해진 범위를 넘어 잘못된 메모리 영역을 읽어버리는 문제입니다. 이를 통해 시스템 정보가 유출되거나 예기치 않은 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: hp-bioscfg: fix password encoding bounds check
The password PSWD_ENCODINGS parser reads password_obj[elem + pos_values]
while copying the supported password encodings from the ACPI package.
The outer loop only guarantees that elem is within password_obj_count.
The encoding count is bounded by MAX_ENCODINGS_SIZE, but that does not
guarantee that the ACPI package contains enough entries for all
elem + pos_values accesses.
A malformed package can therefore declare a non-zero encoding count
without providing enough string objects, causing the parser to read past
the ACPI package array and pass an out-of-bounds string pointer and
length to hp_convert_hexstr_to_str().
Add the same computed-index bounds check used by the other offset-based
package parsing loops before reading password_obj[elem + pos_values].
📍 영향받는 시스템
Linux kernel (platform/x86: hp-bioscfg 관련 모듈 포함 버전)
⚔️ 공격 벡터
조작된 ACPI 패키지를 통한 Out-of-bounds Read 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.