🇰🇷 한글 설명
Linux 커널의 fastrpc 드라이버에서 버퍼 페이지 크기를 계산할 때 오프셋을 고려하지 않는 취약점이 발견되었습니다. 이로 인해 부적절하거나 범위를 벗어난 페이지 크기가 전달되어 메모리 관련 문제가 발생할 수 있습니다. 이를 해결하기 위해 절대 주소 대신 오프셋이 조정된 주소를 사용하여 페이지 시작과 끝을 계산하도록 수정되었습니다.
💡 쉬운 설명
데이터를 복사할 때 데이터의 위치를 잘못 계산하여 허용되지 않은 메모리 영역에 접근할 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
misc: fastrpc: Fix copy buffer page size
For non-registered buffer, fastrpc driver copies the buffer and
pass it to the remote subsystem. There is a problem with current
implementation of page size calculation which is not considering
the offset in the calculation. This might lead to passing of
improper and out-of-bounds page size which could result in
memory issue. Calculate page start and page end using the offset
adjusted address instead of absolute address.
📍 영향받는 시스템
Linux kernel (fastrpc driver 사용 시스템)
⚔️ 공격 벡터
조작된 오프셋을 포함한 데이터를 fastrpc를 통해 전달하여 메모리 경계 초과 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인