🇰🇷 한글 설명
Linux 커널의 iio bmp280 드라이버에서 샘플링 주파수 조회 시 경계 외 메모리 접근(Out-of-bounds access) 취약점이 발견되었습니다. 샘플링 주파수 테이블을 1차원 배열로 처리하는 과정에서 인덱스 계산 오류가 발생하여 잘못된 메모리 영역에 접근할 수 있습니다.
💡 쉬운 설명
기기 센서의 측정 속도를 설정할 때, 컴퓨터가 데이터 목록의 범위를 잘못 계산하여 허용되지 않은 메모리 영역을 건드리는 문제입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup
The sampling frequency tables store each frequency as an integer part and
a fractional part in micro units. num_sampling_freq_avail is initialized
to the number of flattened integer elements because read_avail() returns
the table as a flat array.
bmp280_write_sampling_frequency(), however, indexes the same table as a
two-dimensional array and uses num_sampling_freq_avail as the number of
rows. Convert the flattened element count back to the number of rows
before iterating over the table.
📍 영향받는 시스템
Linux kernel (iio: pressure: bmp280 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 센서 설정 값을 조작하여 잘못된 메모리 주소에 접근하도록 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인