🇰🇷 한글 설명
Linux 커널의 platform/chrome: sensorhub 구성 요소에서 센서 번호에 대한 유효성 검사가 누락된 취약점이 발견되었습니다. EC(Embedded Controller)로부터 전달된 센서 번호가 할당된 배열의 범위를 초과할 경우, batch_state[] 배열에 대한 경계 외 읽기 및 쓰기가 발생할 수 있습니다.
💡 쉬운 설명
기기 내부의 센서 정보를 처리할 때, 잘못된 번호가 들어와도 확인하지 않고 그대로 사용하여 메모리 오류를 일으킬 수 있는 문제입니다. 이를 통해 시스템의 데이터가 읽히거나 잘못된 값이 써질 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/chrome: sensorhub: Bound the EC-reported sensor number
Each EC FIFO event carries an 8-bit sensor number (in->sensor_num).
cros_ec_sensorhub_ring_handler() validates the FIFO event count, the
per-read count and the ring bound, but not the sensor number, which
cros_ec_sensor_ring_process_event() then uses unchecked to index
sensorhub->batch_state[] - allocated with only sensorhub->sensor_num
entries. A sensor number of sensor_num or larger is an out-of-bounds
read and write of batch_state[].
Validate the sensor number in the ring handler, where each event is read
from the EC, and drop a malformed event before it is used.
📍 영향받는 시스템
Linux kernel (platform/chrome: sensorhub 관련 모듈 포함 버전)
⚔️ 공격 벡터
조작된 EC(Embedded Controller) FIFO 이벤트를 통해 잘못된 센서 번호를 전달하여 메모리 경계 외 접근 유도
🛡️ 대응 방법
커널 패치를 적용하여 ring handler 단계에서 센서 번호의 유효성을 검증하고 잘못된 이벤트를 차단해야 함
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 보안 패치 버전인지 확인하십시오.