🇰🇷 한글 설명
Linux 커널의 camss 미디어 드라이버에서 스트리밍 시작 실패 시 수신된 버퍼를 제대로 정리하지 못하는 취약점이 발견되었습니다. 이로 인해 스트리밍 시작 중 오류가 발생하면 커널 경고가 발생할 수 있습니다.
💡 쉬운 설명
카메라 기능을 사용할 때 시작 단계에서 오류가 나면 시스템이 사용하던 메모리를 제대로 돌려주지 못하는 문제입니다. 이로 인해 시스템에 경고가 뜨거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: camss: Clean up received buffers on failed start of streaming
It is required to return the received buffers, if streaming can not be
started. For instance media_pipeline_start() may fail with EPIPE, if
a link validation between entities is not passed, and in such a case
a user gets a kernel warning:
WARNING: CPU: 1 PID: 520 at drivers/media/common/videobuf2/videobuf2-core.c:1592 vb2_start_streaming+0xec/0x160
<snip>
Call trace:
vb2_start_streaming+0xec/0x160
vb2_core_streamon+0x9c/0x1a0
vb2_ioctl_streamon+0x68/0xbc
v4l_streamon+0x30/0x3c
__video_do_ioctl+0x184/0x3e0
video_usercopy+0x37c/0x7b0
video_ioctl2+0x24/0x40
v4l2_ioctl+0x4c/0x70
The fix is to correct the error path in video_start_streaming() of camss.
📍 영향받는 시스템
Linux Kernel (camss media driver 포함 버전)
⚔️ 공격 벡터
로컬 사용자가 조작된 미디어 스트리밍 요청을 통해 커널 오류를 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인