🔍 CVE-2025-40359

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 perf/x86/intel 구성 요소에서 KASAN global-out-of-bounds 경고가 발생하는 취약점입니다. 하이브리드 플랫폼이 아닌 환경에서 'perf mem record' 명령을 실행할 때, 존재하지 않는 x86_hybrid_pmu 구조체에 접근을 시도하여 메모리 오류가 발생합니다.

💡 쉬운 설명

컴퓨터의 성능을 측정하는 도구를 사용할 때, 특정 하드웨어 기능이 없는 환경에서 잘못된 메모리 영역을 읽으려고 시도하는 문제입니다. 이로 인해 시스템 경고가 발생하거나 예기치 않은 동작이 일어날 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Fix KASAN global-out-of-bounds warning When running "perf mem record" command on CWF, the below KASAN global-out-of-bounds warning is seen. ================================================================== BUG: KASAN: global-out-of-bounds in cmt_latency_data+0x176/0x1b0 Read of size 4 at addr ffffffffb721d000 by task dtlb/9850 Call Trace: kasan_report+0xb8/0xf0 cmt_latency_data+0x176/0x1b0 setup_arch_pebs_sample_data+0xf49/0x2560 intel_pmu_drain_arch_pebs+0x577/0xb00 handle_pmi_common+0x6c4/0xc80 The issue is caused by below code in __grt_latency_data(). The code tries to access x86_hybrid_pmu structure which doesn't exist on non-hybrid platform like CWF. WARN_ON_ONCE(hybrid_pmu(event->pmu)->pmu_type == hybrid_big) So add is_hybrid() check before calling this WARN_ON_ONCE to fix the global-out-of-bounds access issue.

📍 영향받는 시스템

Linux Kernel (perf/x86/intel 모듈 사용 환경)

⚔️ 공격 벡터

로컬 사용자가 'perf mem record' 명령을 실행하여 메모리 경고를 유발할 수 있음

🛡️ 대응 방법

is_hybrid() 체크 로직이 포함된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel