🇰🇷 한글 설명
Linux 커널의 arm_ffa 드라이버 내 ffa_setup_and_transmit() 함수에서 경계 외 쓰기(Out-of-bound write) 취약점이 발견되었습니다. FFA 버전 1.2 미만에서 특정 구조체의 오프셋 계산 오류로 인해 메모리 범위를 벗어난 데이터 쓰기가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 소프트웨어인 리눅스 커널에서 데이터를 저장할 때 정해진 공간을 넘어서 다른 영역을 침범하는 오류가 발견되었습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()
Sashiko (locally) reports multiple out-of-bound issues in
ffa_setup_and_transmit:
1) Writing ep_mem_access->reserved can write out of bounds for FFA
versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case
while reserved has an offset of 24.
Instead of zeroing fields, memset the struct to zero first based on
the FFA version.
2) Make sure there is enough size to write constituents.
While at it, convert the only sizeof() in the driver that uses a
type instead of variable.
📍 영향받는 시스템
arm_ffa 드라이버를 사용하는 Linux 커널 (FFA 버전 1.2 미만 환경)
⚔️ 공격 벡터
로컬 공격자가 조작된 FFA 데이터를 통해 커널 메모리의 경계를 벗어난 쓰기를 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 배포판의 보안 업데이트 버전인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux