🇰🇷 한글 설명
Linux 커널의 arm_ffa 드라이버 내 ffa_partition_info_get() 함수에서 NULL 포인터 역참조 취약점이 발견되었습니다. uuid_str 값이 NULL인 경우 적절한 검사 없이 uuid_parse()로 전달되어 커널 패닉을 유발할 수 있습니다.
💡 쉬운 설명
시스템의 특정 부품을 식별하는 번호가 비어있을 때, 이를 확인하지 않고 바로 사용하려다 컴퓨터 시스템이 갑자기 멈추거나 꺼지는 문제입니다. 이를 방지하기 위해 번호가 비어있는지 먼저 확인하는 안전장치를 추가했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get()
ffa_partition_info_get() passes uuid_str directly to uuid_parse()
without a NULL check. When a caller passes NULL, uuid_parse() ->
__uuid_parse() -> uuid_is_valid() dereferences the pointer, causing
a kernel panic:
| Unable to handle kernel NULL pointer dereference at virtual address
| 0000000000000040
| pc : uuid_parse+0x40/0xac
| lr : ffa_partition_info_get+0x1c/0x94 [arm_ffa]
Add a NULL guard before uuid_parse() so a NULL argument returns
-ENODEV instead of crashing. Callers are expected to always supply
a valid partition UUID, so NULL is not a supported input.
📍 영향받는 시스템
arm_ffa 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
NULL 값을 전달할 수 있는 로컬 사용자 또는 특정 하드웨어 인터페이스를 통한 공격
🛡️ 대응 방법
arm_ffa 드라이버에 NULL 체크 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인합니다.