🔍 CVE-2026-97526

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 s390/pai 구성 요소에서 CPU 핫플러그(Hotplug) 기능 사용 시 발생하는 커널 패닉 취약점입니다. CPU가 온라인 상태로 전환될 때 필요한 per-CPU 데이터 구조가 할당되지 않아 NULL 포인터 참조로 인해 시스템이 충돌합니다.

💡 쉬운 설명

컴퓨터를 사용하는 도중에 새로운 CPU를 추가하거나 활성화할 때, 시스템이 이를 제대로 준비하지 못해 컴퓨터가 갑자기 꺼지거나 멈추는 문제입니다. 특정 성능 측정 도구(perf)를 실행하는 중에 CPU 설정이 바뀌면 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: s390/pai: Support CPU hotplug for PMU PAI The command 'perf stat -e pai_crypto/CRYPTO_ALL/ -- <command>' crashes the kernel when CPUs are hotplug added during that run. Root cause is the missing allocation of per-CPU data structures for that new CPU. The allocation is dynamic and the first event that has task context creates such a structure for each online CPU. This is not sufficient. CPUs may be offline during event creation and can be set online during the perf run time. For example commands # echo 0 > /sys/devices/system/cpu/cpu1/online # perf stat -e cycles -i -- stress-ng -t10s --matrix X # sleep 1 # echo 1 > /sys/devices/system/cpu/cpu1/online Currently without a CPU hotplug handler, that new CPU has no per-CPU data infrastructure. The scheduler runs PMU call back function pai_add() to install the PMU support for that CPU before the task is being scheduled on that new CPU. In pai_add() instructions mp = this_cpu_ptr(pai_root[idx].mapptr); cpump = mp->mapptr; return a NULL pointer and the result is a kernel panic as variable cpump is used inside that function. Add CPU hotplug support for CPU add and delete and create the necessary per-CPU data infrastructure during CPU hotplug add processing. Same for CPU hotplug remove. This is done when the CPU is offline to ensure the data structures are available when CPU is made online and tasks are scheduled on it. [[email protected]: fixup error path in pai_init()]

📍 영향받는 시스템

Linux kernel (s390 architecture, PAI support enabled)

⚔️ 공격 벡터

로컬 공격자가 CPU 핫플러그 이벤트를 유도하거나 특정 perf 명령어를 실행하여 커널 패닉(DoS) 유발

🛡️ 대응 방법

CPU 핫플러그 핸들러가 포함된 최신 Linux 커널 패치 적용

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel