🇰🇷 한글 설명
Linux 커널의 iio: adc: xilinx-ams 드라이버에서 이벤트 처리 중 채널 조회 시 경계 검사가 누락되어 발생합니다. 일치하는 scan_index를 찾지 못할 경우 ams_event_to_channel() 함수가 배열 범위를 벗어난 포인터를 반환하여 잘못된 메모리 접근을 유발할 수 있습니다.
💡 쉬운 설명
리눅스 시스템의 특정 하드웨어 제어 프로그램에서 잘못된 정보를 읽으려 할 때 메모리 영역을 벗어나는 오류가 발생합니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작이 일어날 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling
ams_event_to_channel() may return a pointer past the end of
dev->channels when no matching scan_index is found. This can lead
to invalid memory access in ams_handle_event().
Add a bounds check in ams_event_to_channel() and return NULL when
no channel is found. Also guard the caller to safely handle this
case.
📍 영향받는 시스템
Linux kernel (xilinx-ams driver component)
⚔️ 공격 벡터
조작된 이벤트 데이터를 전송하여 커널 메모리의 잘못된 영역에 접근하도록 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인