🇰🇷 한글 설명
Linux 커널의 fastrpc 드라이버에서 오류 처리 경로 중 메모리 중복 해제(Double Free) 취약점이 발견되었습니다. fastrpc_req_mmap() 함수 실행 중 오류가 발생할 경우, 이미 해제된 버퍼를 다시 해제하려고 시도하여 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터가 사용하던 메모리 공간을 정리할 때, 이미 정리한 공간을 실수로 한 번 더 정리하려고 시도하는 오류입니다. 이 과정에서 시스템이 충돌하거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
misc: fastrpc: Fix double free of 'buf' in error path
smatch warning:
drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of 'buf'
In fastrpc_req_mmap() error path, the fastrpc buffer is freed in
fastrpc_req_munmap_impl() if unmap is successful.
But in the end, there is an unconditional call to fastrpc_buf_free().
So the above case triggers the double free of fastrpc buf.
📍 영향받는 시스템
fastrpc 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 fastrpc 인터페이스를 통해 특정 오류 상황을 유도하여 메모리 오염 유발
🛡️ 대응 방법
fastrpc 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 보안 패치 버전인지 확인