🔍 CVE-2026-98937

0.0
CVSS Score
UNKNOWN
2026-10-23
2026-10-23 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 perf_event_open() 시스템 콜에서 커널 콜스택(callchain) 수집을 요청할 때 권한 검사가 누락된 취약점입니다. attr.exclude_kernel이 1이어도 attr.exclude_callchain_kernel이 0이면 커널 프로파일링 권한이 필요하지만 기존 검사가 이를 강제하지 않았습니다. 수정으로 커널 샘플링 또는 커널 콜스택 요청 시 모두 perf_allow_kernel()을 호출하도록 변경되었습니다.

💡 쉬운 설명

일반 사용자도 커널 내부의 함수 호출 기록을 몰래 수집할 수 있는 빈틈이 있었습니다. 이 문제는 커널 접근 권한이 필요한 정보를 권한 없이 얻을 수 있게 만듭니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: perf/core: Check kernel access when kernel callchains are requested perf_event_open() currently gates perf_allow_kernel() only on !attr.exclude_kernel. However, users can still request kernel callchain collection with attr.exclude_callchain_kernel == 0 even when attr.exclude_kernel == 1. That still requires kernel profiling privilege, but the existing check does not enforce it. Update the permission check to call perf_allow_kernel() when either kernel sampling is requested or kernel callchains are requested. This keeps permission checks aligned with requested data and prevents unprivileged use of kernel callchain capture.

📍 영향받는 시스템

패치 이전의 Linux 커널 (perf 서브시스템 사용 가능한 버전 전반)

⚔️ 공격 벡터

비특권 사용자가 perf_event_open()을 exclude_kernel=1, exclude_callchain_kernel=0으로 호출해 커널 콜스택 정보를 수집

🛡️ 대응 방법

커널을 해당 취약점이 수정된 최신 안정 버전으로 업데이트하고 재부팅

🔧 검증 코드

출력된 커널 버전을 배포판의 보안 권고문에서 해당 수정 버전과 비교하여, 같거나 이후 버전이면 패치가 적용된 것입니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel