🇰🇷 한글 설명
Linux 커널의 cdnsp 드라이버에서 cdnsp_alloc_stream_info() 함수 호출 시 스트림 컨텍스트 배열이 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 스트림 링 할당이나 매핑 업데이트가 실패할 경우, 할당된 스트림 컨텍스트 배열이 메모리에 남아 있게 됩니다.
💡 쉬운 설명
컴퓨터가 작업을 하다가 오류가 발생했을 때, 사용했던 메모리를 제대로 돌려주지 않고 계속 쌓아두는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 부족해져 컴퓨터가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: cdnsp: fix stream context array leak in cdnsp_alloc_stream_info()
cdnsp_alloc_stream_info() allocates stream_info->stream_ctx_array with
cdnsp_alloc_stream_ctx(). If a later stream ring allocation or stream
mapping update fails, the error path frees the allocated stream rings
and stream_rings array, but leaves stream_ctx_array allocated.
Free the stream context array before falling through to the stream_rings
cleanup path.
📍 영향받는 시스템
Linux kernel (cdnsp driver 포함 버전)
⚔️ 공격 벡터
특수하게 조작된 USB 장치를 연결하여 스트림 할당 오류를 유도함으로써 메모리 누수 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.