🔍 CVE-2026-31528

7.8
CVSS Score
HIGH
2026-04-22
2026-10-19 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 perf 성능 모니터링 도구에서 그룹 이벤트 처리 시 잘못된 PMU(Performance Monitoring Unit) 컨텍스트를 사용하여 발생하는 경계 외 메모리 접근 취약점입니다. 이벤트 상속 과정에서 잘못된 PMU를 참조함으로써 트랜잭션 롤백 시 메모리 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 성능을 측정하는 기능에서 데이터가 저장될 위치를 잘못 계산하여 시스템 메모리의 허용되지 않은 영역에 접근하는 문제입니다. 이로 인해 시스템이 불안정해지거나 예기치 않은 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: perf: Make sure to use pmu_ctx->pmu for groups Oliver reported that x86_pmu_del() ended up doing an out-of-bound memory access when group_sched_in() fails and needs to roll back. This *should* be handled by the transaction callbacks, but he found that when the group leader is a software event, the transaction handlers of the wrong PMU are used. Despite the move_group case in perf_event_open() and group_sched_in() using pmu_ctx->pmu. Turns out, inherit uses event->pmu to clone the events, effectively undoing the move_group case for all inherited contexts. Fix this by also making inherit use pmu_ctx->pmu, ensuring all inherited counters end up in the same pmu context. Similarly, __perf_event_read() should use equally use pmu_ctx->pmu for the group case.

📍 영향받는 시스템

Linux Kernel (perf 서브시스템 관련 버전)

⚔️ 공격 벡터

특정 조건에서 perf_event_open()을 통해 잘못된 이벤트 그룹을 생성하여 메모리 오류 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel