🔍 CVE-2026-64495

0.0
CVSS Score
UNKNOWN
2026-07-25
2026-08-17 05:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 iio: gyro: bmg160 드라이버에서 대역폭/필터 값이 테이블에 존재하지 않을 경우 배열의 범위를 벗어나 읽는 버퍼 오버플로우 취약점이 발견되었습니다. 이 취약점은 sysfs 인터페이스를 통해 사용자 공간에서 트리거될 수 있습니다.

💡 쉬운 설명

자이로스코프 센서를 제어하는 프로그램이 잘못된 값을 입력받았을 때, 정해진 데이터 범위를 넘어서 메모리를 읽어버리는 오류입니다. 이를 통해 시스템의 비정상적인 동작이나 정보 유출이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: iio: gyro: bmg160: bail out when bandwidth/filter is not in table bmg160_get_filter() walks bmg160_samp_freq_table[] looking for the entry matching the bw_bits value read from the chip: for (i = 0; i < ARRAY_SIZE(bmg160_samp_freq_table); ++i) { if (bmg160_samp_freq_table[i].bw_bits == bw_bits) break; } *val = bmg160_samp_freq_table[i].filter; If no entry matches, i ends up equal to the array size and the next line reads one slot past the end. bmg160_set_filter() has the same shape, driven by 'val' instead of bw_bits. smatch flags both: drivers/iio/gyro/bmg160_core.c:204 bmg160_get_filter() error: buffer overflow 'bmg160_samp_freq_table' 7 <= 7 drivers/iio/gyro/bmg160_core.c:222 bmg160_set_filter() error: buffer overflow 'bmg160_samp_freq_table' 7 <= 7 Return -EINVAL when no entry matches. The set_filter() path is reachable from userspace via the sysfs in_anglvel_filter_low_pass_3db_frequency interface, so userspace can trivially trigger the out-of-bounds read with a value that is not in bmg160_samp_freq_table[].filter.

📍 영향받는 시스템

Linux kernel (bmg160 gyro driver 포함 버전)

⚔️ 공격 벡터

sysfs의 in_anglvel_filter_low_pass_3db_frequency 인터페이스를 통한 잘못된 값 입력

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 bmg160_get_filter 및 bmg160_set_filter 함수 수정 사항 반영

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel