🇰🇷 한글 설명
Linux 커널의 x86 플랫폼 ISST 드라이버에서 socket_id 검증 오류로 인해 발생하는 취약점입니다. 잘못된 인덱스 범위 검사로 인해 배열 범위를 벗어난 메모리에 접근하거나, NULL 포인터를 역참조하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품을 관리하는 소프트웨어에서 번호표를 잘못 확인하여, 존재하지 않는 영역을 건드리거나 빈 공간을 참조하는 오류가 발견되었습니다. 이로 인해 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: ISST: Validate socket ID in clos_assoc ioctl
isst_if_clos_assoc() validates the user-supplied socket_id with
'socket_id > topology_max_packages()', but isst_common.sst_inst[] is
allocated with topology_max_packages() entries, so the valid index range
is [0, topology_max_packages()). The '>' comparison lets
socket_id == topology_max_packages() pass and index one entry past the
array.
In addition, isst_common.sst_inst[socket_id] is NULL for an in-range
package that has no bound TPMI SST instance, and the pointer is used
without a NULL check. Both the out-of-bounds entry and the NULL pointer
are then dereferenced by map_partition_power_domain_id() and the
following power_domain_info access.
Reject socket_id >= topology_max_packages() and a NULL sst_inst, matching
the checks already performed by get_instance().
📍 영향받는 시스템
Linux kernel (x86 platform, ISST driver component)
⚔️ 공격 벡터
로컬 사용자가 특수하게 조작된 ioctl(clos_assoc) 명령을 호출하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인