🇰🇷 한글 설명
Linux 커널의 media: venus: hfi_parser 구성 요소에서 HFI 패킷 파싱 로직의 오류로 인해 발생합니다. words_count가 마지막 단어에 도달했을 때 데이터가 전체 페이로드를 벗어난 메모리에 접근하여 경계 외(OOB) 접근이 발생할 수 있는 취약점입니다.
💡 쉬운 설명
데이터를 읽는 과정에서 정해진 범위를 넘어서 메모리를 읽게 되는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: venus: hfi_parser: refactor hfi packet parsing logic
words_count denotes the number of words in total payload, while data
points to payload of various property within it. When words_count
reaches last word, data can access memory beyond the total payload. This
can lead to OOB access. With this patch, the utility api for handling
individual properties now returns the size of data consumed. Accordingly
remaining bytes are calculated before parsing the payload, thereby
eliminates the OOB access possibilities.
📍 영향받는 시스템
Linux kernel (media: venus: hfi_parser 모듈을 사용하는 시스템)
⚔️ 공격 벡터
조작된 HFI 패킷을 전송하여 커널 메모리의 경계 외 영역에 접근 유도
🛡️ 대응 방법
HFI 패킷 파싱 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인