🇰🇷 한글 설명
Linux 커널의 arm_ffa 펌웨어에서 엔드포인트 메모리 액세스 디스크립터의 오프셋 계산 오류가 수정되었습니다. 기존에는 고정된 크기를 사용했으나, 이제 FF-A 사양에 따라 실제 메모리 오프셋을 사용하며 계산된 오프셋이 최대 크기를 초과하지 않도록 검증 로직이 추가되었습니다.
💡 쉬운 설명
컴퓨터 부품 간의 메모리 통신 규칙을 계산할 때 잘못된 위치를 참조하던 오류를 바로잡았습니다. 이로 인해 발생할 수 있는 메모리 접근 오류나 보안 취약점을 방지할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_ffa: Fix Endpoint Memory Access Descriptor offset calculation
Use the descriptor's `ep_mem_offset` to calculate the start of the endpoint
memory access array and to comply with the FF-A spec instead of defaulting
to `sizeof(struct ffa_mem_region)`.
This requires moving `ffa_mem_region_additional_setup()` earlier in the setup
flow.
Also, add sanity checks to ensure the calculated descriptor offsets do not
exceed `max_fragsize`.
📍 영향받는 시스템
arm_ffa 펌웨어를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
잘못된 메모리 오프셋 계산을 악용한 메모리 오염 또는 권한 상승 공격
🛡️ 대응 방법
arm_ffa 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인