🇰🇷 한글 설명
리눅스 커널의 OPP(Operating Performance Points) 구성 요소에서 _read_freq() 함수 호출 시 인덱스 검증이 누락되어 버퍼 오버플로가 발생할 수 있는 취약점입니다. 인덱스 기반의 주파수 검색 함수를 사용할 때 테이블 범위를 벗어난 메모리 읽기를 방지하기 위해 인덱스 확인 로직이 추가되었습니다.
💡 쉬운 설명
컴퓨터의 처리 속도를 조절하는 과정에서 잘못된 위치의 메모리를 읽어 시스템 오류를 일으킬 수 있는 문제입니다. 이를 통해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
OPP: add index check to assert to avoid buffer overflow in _read_freq()
Pass the freq index to the assert function to make sure
we do not read a freq out of the opp->rates[] table when called
from the indexed variants:
dev_pm_opp_find_freq_exact_indexed() or
dev_pm_opp_find_freq_ceil/floor_indexed().
Add a secondary parameter to the assert function, unused
for assert_single_clk() then add assert_clk_index() which
will check for the clock index when called from the _indexed()
find functions.
📍 영향받는 시스템
인덱스 기반 주파수 검색 기능을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
잘못된 인덱스 값을 전달하여 커널 메모리의 범위를 벗어난 읽기 시도
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인