🇰🇷 한글 설명
Linux 커널의 fastrpc 구성 요소에서 오류 발생 시 또는 장치 해제 시 맵을 부적절하게 제거하여 Use-After-Free 취약점이 발생합니다. 이를 해결하기 위해 맵을 직접 제거하는 대신 참조 횟수를 관리하는 fastrpc_map_put를 호출하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터 메모리를 관리하는 과정에서 이미 사용이 끝난 메모리 영역을 잘못 처리하여 발생하는 보안 문제입니다. 공격자가 이 허점을 이용하면 시스템의 권한을 탈취하거나 오류를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
misc: fastrpc: Don't remove map on creater_process and device_release
Do not remove the map from the list on error path in
fastrpc_init_create_process, instead call fastrpc_map_put, to avoid
use-after-free. Do not remove it on fastrpc_device_release either,
call fastrpc_map_put instead.
The fastrpc_free_map is the only proper place to remove the map.
This is called only after the reference count is 0.
📍 영향받는 시스템
fastrpc 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 fastrpc 인터페이스를 통해 특정 오류 경로를 유도하여 메모리 오용 유발
🛡️ 대응 방법
fastrpc 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전인지 확인