🇰🇷 한글 설명
Linux 커널의 Qualcomm MDT 로더에서 ELF 헤더를 처리할 때 버퍼 범위를 초과하여 읽을 수 있는 취약점이 발견되었습니다. 펌웨어 버퍼의 크기와 헤더 내의 섹션/프로그램 헤더 크기를 검증하지 않아 발생하는 문제로, 이를 통해 메모리 손상이나 정보 유출이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 펌웨어 파일을 읽을 때 파일의 실제 크기보다 더 많은 부분을 읽으려고 시도하여 오류를 일으키거나 보안 문제를 만들 수 있는 결함입니다. 파일의 경계를 제대로 확인하지 않아 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: mdt_loader: Ensure we don't read past the ELF header
When the MDT loader is used in remoteproc, the ELF header is sanitized
beforehand, but that's not necessary the case for other clients.
Validate the size of the firmware buffer to ensure that we don't read
past the end as we iterate over the header. e_phentsize and e_shentsize
are validated as well, to ensure that the assumptions about step size in
the traversal are valid.
📍 영향받는 시스템
Qualcomm MDT 로더를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
조작된 ELF 헤더를 포함한 악성 펌웨어 파일을 로드하여 메모리 경계 초과 읽기 유도
🛡️ 대응 방법
ELF 헤더 및 섹션 크기 검증 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인