🇰🇷 한글 설명
Linux 커널의 uvcvideo 드라이버에서 비동기 제어 작업 중 파일 핸들 포인터가 해제된 후에도 남아있는 댕글링 포인터 취약점이 발견되었습니다. 사용자가 파일 디스크립터를 닫을 때 대기 중인 비동기 작업의 포인터를 정리하지 않아 메모리 오류가 발생할 수 있습니다.
💡 쉬운 설명
카메라 장치를 사용하는 프로그램이 갑자기 종료될 때, 컴퓨터 메모리에 잘못된 주소 정보가 남아 시스템에 문제를 일으킬 수 있는 결함입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: uvcvideo: Remove dangling pointers
When an async control is written, we copy a pointer to the file handle
that started the operation. That pointer will be used when the device is
done. Which could be anytime in the future.
If the user closes that file descriptor, its structure will be freed,
and there will be one dangling pointer per pending async control, that
the driver will try to use.
Clean all the dangling pointers during release().
To avoid adding a performance penalty in the most common case (no async
operation), a counter has been introduced with some logic to make sure
that it is properly handled.
📍 영향받는 시스템
Linux kernel (uvcvideo driver 포함 버전)
⚔️ 공격 벡터
비동기 제어 명령을 실행한 후 파일 디스크립터를 의도적으로 닫아 메모리 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 패치된 최신 버전인지 확인