🇰🇷 한글 설명
Linux 커널의 synaptics-rmi4 드라이버에서 스트리밍 중 입력 유형을 변경할 경우 힙 버퍼 오버플로우가 발생할 수 있는 취약점입니다. 데이터 보고 크기가 변경될 때 이미 할당된 V4L2 버퍼 크기를 초과할 수 있어 이를 방지하기 위해 스트리밍 중 입력 변경 시 -EBUSY 오류를 반환하도록 수정되었습니다.
💡 쉬운 설명
데이터를 주고받는 도중에 갑자기 데이터의 형식을 바꾸면, 준비된 그릇보다 더 큰 데이터가 들어와 시스템이 고장 날 수 있는 문제입니다. 이를 막기 위해 데이터 전송 중에는 형식을 바꾸지 못하도록 잠금 장치를 추가했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Input: synaptics-rmi4 - block s_input when F54 queue is busy
Changing the input (diagnostic report type) mid-stream changes the
report size. Since V4L2 buffers are allocated based on the size at
stream start, changing the input while streaming could lead to a
heap buffer overflow if the new size is larger than the allocated
buffers.
Prevent this by blocking VIDIOC_S_INPUT with -EBUSY if the V4L2 queue
is busy (streaming).
📍 영향받는 시스템
Linux kernel (synaptics-rmi4 driver components)
⚔️ 공격 벡터
스트리밍 중인 V4L2 큐에 대해 VIDIOC_S_INPUT 명령을 사용하여 입력 유형을 변경함으로써 힙 버퍼 오버플로우 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 스트리밍 중 입력 변경 시 -EBUSY를 반환하도록 수정
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 이후의 버전인지 확인하십시오.