🔍 CVE-2026-80670

9.1
CVSS Score
CRITICAL
2026-08-28
2026-08-29 07:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 perf 도구에서 machine__resolve() 함수가 CPU 인덱스의 범위를 적절히 검증하지 않아 발생하는 취약점입니다. 공격자가 조작된 perf.data 파일을 사용하면 허용된 범위를 벗어난 메모리를 읽는 Out-of-bounds heap read가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 성능을 측정하는 도구가 잘못된 정보를 읽어 들여 시스템의 민감한 메모리 영역을 엿볼 수 있는 문제입니다. 악의적으로 만들어진 파일을 실행할 때 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: perf tools: Use perf_env__get_cpu_topology() in machine__resolve() machine__resolve() accesses env->cpu[al->cpu].socket_id after checking al->cpu >= 0 and env->cpu != NULL, but without validating al->cpu against env->nr_cpus_avail. Since al->cpu comes from the untrusted perf.data sample, a crafted file with a large CPU index causes an out-of-bounds heap read. Use perf_env__get_cpu_topology() which validates both NULL and bounds. Also bounds-check al->cpu before the cast to struct perf_cpu (int16_t): without this, values like 65536 silently truncate to 0, bypassing the accessor's internal check and returning CPU 0's topology.

📍 영향받는 시스템

Linux kernel perf tools (vulnerability fixed in recent patches)

⚔️ 공격 벡터

조작된 CPU 인덱스 값을 포함한 악의적인 perf.data 파일을 분석 도구로 로드함

🛡️ 대응 방법

Linux 커널 및 perf 도구를 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전과 perf 도구 버전이 보안 패치가 적용된 최신 버전인지 확인

Shell / Script
uname -r && dpkg -l | grep linux-tools 2>/dev/null

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel