🇰🇷 한글 설명
Linux 커널의 iio: light: veml6075 드라이버에서 배열 인덱스 범위 검사 미흡으로 인한 취약점이 발견되었습니다. VEML6075_CONF_IT 값이 5 이상일 경우 5개의 요소만 가진 veml6075_it_ms 배열에 대해 범위를 벗어난 접근(Out-of-bounds access)이 발생할 수 있습니다.
💡 쉬운 설명
빛 센서 드라이버가 정해진 범위를 벗어난 잘못된 값을 읽으려고 시도할 때 시스템 오류가 발생할 수 있는 문제입니다. 하드웨어 오류나 데이터 변조가 발생했을 때 시스템을 보호하기 위한 안전장치가 부족한 상태였습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iio: light: veml6075: add bounds check to veml6075_it_ms index
veml6075_it_ms has 5 elements but VEML6075_CONF_IT can yield values 0-7.
If it returns a value >= 5, this causes an out-of-bounds array access.
Add a bounds check and return -EINVAL if the index is out of range.
The problem values are reserved so should never be read from the
register. Hence this is hardening against fault device, missprogramming
or bus corruption.
📍 영향받는 시스템
VEML6075 센서를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
결함이 있는 하드웨어, 잘못된 프로그래밍 또는 버스 통신 오류를 통한 비정상적인 레지스터 값 주입
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 인덱스 범위 검사 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.