🔍 CVE-2026-64036

7.8
CVSS Score
HIGH
2026-07-19
2026-10-30 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 cgroup/rstat 구성 요소에서 BPF kfunc를 통해 노출된 css_rstat_updated() 함수가 입력된 CPU 값을 검증하지 않아 발생하는 취약점입니다. 공격자가 CAP_BPF 및 CAP_PERFMON 권한을 사용하여 유효하지 않은 CPU 값을 전달할 경우, 커널 내 배열 인덱스 범위를 벗어나는 메모리 접근이 발생할 수 있습니다.

💡 쉬운 설명

리눅스 시스템의 특정 기능을 사용하는 프로그램이 잘못된 번호를 입력했을 때, 컴퓨터의 핵심 부분인 커널이 이를 확인하지 않고 잘못된 위치를 참조하여 오류를 일으키는 문제입니다. 이를 통해 시스템이 멈추거나 예기치 않은 동작을 유발할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: cgroup/rstat: validate cpu before css_rstat_cpu() access css_rstat_updated() is exposed as a BPF kfunc and accepts a caller-provided cpu argument. The function uses cpu for per-cpu rstat lookups without checking whether it refers to a valid possible CPU. A BPF iter/cgroup program with CAP_BPF and CAP_PERFMON can pass an invalid cpu value. On an unfixed UBSCAN_BOUNDS test kernel, cpu == 0x7fffffff triggers: UBSAN: array-index-out-of-bounds in kernel/cgroup/rstat.c:31:9 index 2147483647 is out of range for type 'long unsigned int [64]' Call Trace: css_rstat_updated bpf_iter_run_prog cgroup_iter_seq_show bpf_seq_read Add cpu validation to the BPF-facing css_rstat_updated() kfunc and move the common implementation to __css_rstat_updated() for in-kernel callers.

📍 영향받는 시스템

Linux kernel (cgroup/rstat 관련 기능이 포함된 버전)

⚔️ 공격 벡터

CAP_BPF 및 CAP_PERFMON 권한을 가진 BPF 프로그램이 유효하지 않은 CPU 인덱스를 전달하여 공격

🛡️ 대응 방법

커널 패치를 통해 css_rstat_updated() 함수에 CPU 값 검증 로직을 추가하고 최신 커널로 업데이트

🔧 검증 코드

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

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