🇰🇷 한글 설명
리눅스 커널의 cacheinfo 구성 중 shared_cpu_map이 서로 다른 계층의 공유 캐시를 제대로 처리하지 못하는 취약점입니다. CPU 간 캐시 계층 구조가 다를 경우 slab-out-of-bounds(Slab 영역 경계 외 접근)가 발생하거나 공유 캐시 맵이 불일치할 수 있습니다.
💡 쉬운 설명
컴퓨터의 두뇌인 CPU들이 서로 데이터를 주고받는 통로(캐시)를 확인하는 과정에서 계산 오류가 발생하는 문제입니다. 이 오류로 인해 시스템 메모리의 잘못된 영역에 접근하여 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
cacheinfo: Fix shared_cpu_map to handle shared caches at different levels
The cacheinfo sets up the shared_cpu_map by checking whether the caches
with the same index are shared between CPUs. However, this will trigger
slab-out-of-bounds access if the CPUs do not have the same cache hierarchy.
Another problem is the mismatched shared_cpu_map when the shared cache does
not have the same index between CPUs.
CPU0 I D L3
index 0 1 2 x
^ ^ ^ ^
index 0 1 2 3
CPU1 I D L2 L3
This patch checks each cache is shared with all caches on other CPUs.
📍 영향받는 시스템
Linux Kernel (cacheinfo 관련 모듈을 사용하는 시스템)
⚔️ 공격 벡터
특수하게 구성된 CPU 캐시 계층 구조를 가진 환경에서 커널의 메모리 관리 오류를 유도하는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.