🔍 CVE-2025-68375

0.0
CVSS Score
UNKNOWN
2025-12-24
2026-10-13 11:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 perf/x86 구성 요소에서 PEBS 레코드를 처리하는 과정 중 NULL 포인터 참조로 인해 시스템이 충돌할 수 있는 취약점이 발견되었습니다. Intel PMU의 PEBS 레코드를 비우는 과정에서 인터럽트 스로틀링이 발생하면 이벤트 포인터가 NULL로 초기화되어, 이후 다른 이벤트를 처리할 때 잘못된 메모리 접근이 발생합니다.

💡 쉬운 설명

컴퓨터의 성능을 측정하는 기능이 작동하는 중에 데이터 처리 순서가 꼬여서 시스템이 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 상황에서 컴퓨터가 처리해야 할 정보가 갑자기 사라져서 길을 잃는 것과 같습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: perf/x86: Fix NULL event access and potential PEBS record loss When intel_pmu_drain_pebs_icl() is called to drain PEBS records, the perf_event_overflow() could be called to process the last PEBS record. While perf_event_overflow() could trigger the interrupt throttle and stop all events of the group, like what the below call-chain shows. perf_event_overflow() -> __perf_event_overflow() ->__perf_event_account_interrupt() -> perf_event_throttle_group() -> perf_event_throttle() -> event->pmu->stop() -> x86_pmu_stop() The side effect of stopping the events is that all corresponding event pointers in cpuc->events[] array are cleared to NULL. Assume there are two PEBS events (event a and event b) in a group. When intel_pmu_drain_pebs_icl() calls perf_event_overflow() to process the last PEBS record of PEBS event a, interrupt throttle is triggered and all pointers of event a and event b are cleared to NULL. Then intel_pmu_drain_pebs_icl() tries to process the last PEBS record of event b and encounters NULL pointer access. To avoid this issue, move cpuc->events[] clearing from x86_pmu_stop() to x86_pmu_del(). It's safe since cpuc->active_mask or cpuc->pebs_enabled is always checked before access the event pointer from cpuc->events[].

📍 영향받는 시스템

Linux kernel (perf/x86 관련 Intel PMU를 사용하는 시스템)

⚔️ 공격 벡터

로컬 사용자가 특정 성능 모니터링(perf) 이벤트를 정밀하게 제어하여 시스템 충돌을 유도할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 x86_pmu_stop()의 동작 방식을 수정해야 함

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 배포판 보안 공지를 통해 대조함

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel