🇰🇷 한글 설명
리눅스 커널의 gpiolib에서 소프트웨어 디바운싱이 활성화된 상태로 라인이 재구성될 때 kfifo가 초기화되지 않는 취약점이 발견되었습니다. 이로 인해 초기화되지 않은 kfifo에 이벤트가 기록되고 읽히며, 해당 이벤트가 사용자 공간으로 반환될 수 있습니다.
💡 쉬운 설명
하드웨어 버튼 신호를 처리하는 과정에서 메모리 준비가 제대로 되지 않아 오류가 발생하는 문제입니다. 이로 인해 잘못된 데이터가 시스템에 전달될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
gpiolib: cdev: fix uninitialised kfifo
If a line is requested with debounce, and that results in debouncing
in software, and the line is subsequently reconfigured to enable edge
detection then the allocation of the kfifo to contain edge events is
overlooked. This results in events being written to and read from an
uninitialised kfifo. Read events are returned to userspace.
Initialise the kfifo in the case where the software debounce is
already active.
📍 영향받는 시스템
Linux kernel (gpiolib 구성 요소가 포함된 버전)
⚔️ 공격 벡터
특정 GPIO 설정 변경을 유도하여 초기화되지 않은 메모리 영역에 접근하는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.